@genesislcap/design-system-configurator 14.114.2 → 14.115.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist/{153.153.5f00dc2203322896c82d.js → 153.153.6a2ae3bae3c9e36409d9.js} +3 -3
  2. package/dist/{153.261c1c1dea5e40abe2af5f86122b29ae.js.map → 153.a2e687cd102186b8552ec63704bb6a04.js.map} +1 -1
  3. package/dist/{200.eae26e578da8554b6dc7a2d9aa9725cd.js.map → 200.1154f62d1d6dabb8e7666899e9523f1f.js.map} +1 -1
  4. package/dist/{200.200.36ac56ab5cf06a07f642.js → 200.200.6b10e13b17aac8598827.js} +2 -2
  5. package/dist/{269.269.9caa50e63da939f67f6d.js → 269.269.6e42bf82f2e0a250be7e.js} +1 -1
  6. package/dist/{251.251.07b7f8256ed9d57937f0.js → 645.645.1d17fc7455e5a8412c4e.js} +136 -136
  7. package/dist/645.893fbd17620a2bb7a995f511a6efccca.js.map +1 -0
  8. package/dist/755.755.90f8ba4dd7fbb157f28b.js +2 -0
  9. package/dist/{755.9a7aecd6f809d3501c72cb59e24e35af.js.map → 755.a3cac47cc4cd6e213d2b372c956c558b.js.map} +1 -1
  10. package/dist/{8.8.bbdd3d52204245efdbe1.js → 8.8.3177997e89bf250dbce2.js} +2 -2
  11. package/dist/{8.5394062b4834c8f5d05d079dfd31f253.js.map → 8.aab7d3cc543301610182da8470a00c42.js.map} +1 -1
  12. package/dist/designSystemConfigurator.8f78ce38ed663c43820189b1f9530ba7.js.map +1 -0
  13. package/dist/index.html +1 -1
  14. package/dist/main.77602d4b73d5275e05c4c7e3765406d1.js.map +1 -0
  15. package/dist/main.98e7e51858741d2ff1cd.js +2 -0
  16. package/dist/remoteEntry.js +2 -2
  17. package/package.json +7 -7
  18. package/dist/251.b73d94b659c76918da51eb8dcd836584.js.map +0 -1
  19. package/dist/755.755.b54fd158159c919e33fd.js +0 -2
  20. package/dist/designSystemConfigurator.87184aa9a529b653613e19ffcaad487d.js.map +0 -1
  21. package/dist/main.32fc61550d5d6475a851e113bed0726d.js.map +0 -1
  22. package/dist/main.b879b2d436fd9d666134.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[251],{69251:(e,t,o)=>{o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>g,ActionsMenu:()=>T,Anchor:()=>R,AnchoredRegion:()=>j,Avatar:()=>W,Badge:()=>J,Banner:()=>de,BaseDatasource:()=>ot,Breadcrumb:()=>he,BreadcrumbItem:()=>ye,Button:()=>_e,CSSVarsTokenMapper:()=>Vd,Calendar:()=>Ae,Card:()=>Me,Checkbox:()=>ze,Combobox:()=>xt,ConnectionIndicator:()=>Ot,DEFUALT_FILTER_BAR_COLUMNS:()=>Na,DataGrid:()=>Lt,DataGridCell:()=>Mt,DataGridDatasource:()=>zd,DataGridRow:()=>Vt,DatePicker:()=>uo,Dialog:()=>ci,DialogElement:()=>di,Disclosure:()=>mi,Divider:()=>wi,DropdownMenu:()=>ki,ErrorBanner:()=>Ri,ErrorBoundary:()=>Xi,ErrorBoundaryEvent:()=>Ni,ErrorDialog:()=>ta,FaPrefixFromStyle:()=>Mn,FileUpload:()=>va,Filter:()=>Oa,FilterBar:()=>Ma,FilterEvents:()=>Da,FlexLayout:()=>Ua,FlexMediaQueriesEnum:()=>Ha,Flipper:()=>Xa,Flyout:()=>an,FoundationDesignSystemProvider:()=>ei,FoundationRouter:()=>sc,GridLayout:()=>vn,GridLayoutItem:()=>wn,GridMediaQueriesEnum:()=>rn,HorizontalScroll:()=>Fn,Icon:()=>Pn,Listbox:()=>Vn,ListboxOption:()=>qn,Menu:()=>es,MenuItem:()=>ss,Modal:()=>ms,Multiselect:()=>Fs,MultiselectDatasource:()=>ys,NotificationListener:()=>tc,NumberField:()=>ks,OptionsDatasource:()=>gt,Popper:()=>Is,Progress:()=>Bs,ProgressRing:()=>Ws,Radio:()=>Js,RadioGroup:()=>nl,SegmentedControl:()=>ul,SegmentedItem:()=>fl,Select:()=>Sl,Skeleton:()=>kl,Slider:()=>Ml,SliderLabel:()=>zl,Snackbar:()=>Zl,Stepper:()=>ir,StepperTab:()=>dr,StepperTabPanel:()=>mr,Switch:()=>wr,Tab:()=>Cr,TabPanel:()=>Lr,Tabs:()=>Pr,TextArea:()=>Gr,TextField:()=>Qr,Toast:()=>sd,Toolbar:()=>cd,Tooltip:()=>gd,TreeItem:()=>$d,TreeView:()=>Od,UrlInput:()=>Md,accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,accentPaletteValue:()=>zo,actionsMenuBaseStyles:()=>$,baseComponents:()=>Hd,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>Uo,black:()=>vo,bodyFont:()=>s.bodyFont,closeIcon:()=>ai,configureDesignSystem:()=>Vo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>Wo,createDesignSystemProxy:()=>jd,createFormData:()=>ra,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>N,defaultAnchoredRegionConfig:()=>V,defaultAvatarConfig:()=>X,defaultBadgeConfig:()=>te,defaultBreadcrumbConfig:()=>ve,defaultBreadcrumbItemConfig:()=>xe,defaultButtonConfig:()=>De,defaultCalendarConfig:()=>Ee,defaultCardConfig:()=>He,defaultCheckboxConfig:()=>Ue,defaultComboboxConfig:()=>St,defaultDataGridCellConfig:()=>Ht,defaultDataGridConfig:()=>Rt,defaultDataGridRowConfig:()=>Gt,defaultDatePickerConfig:()=>co,defaultDialogConfig:()=>ri,defaultDisclosureConfig:()=>gi,defaultDividerConfig:()=>$i,defaultFileUploadConfig:()=>fa,defaultFillColor:()=>fo,defaultFlexLayoutConfig:()=>Ga,defaultFlipperConfig:()=>Za,defaultFlyoutConfig:()=>sn,defaultGridLayoutConfig:()=>hn,defaultGridLayoutItemConfig:()=>yn,defaultHorizontalScrollConfig:()=>Cn,defaultIconConfig:()=>Nn,defaultListboxConfig:()=>Gn,defaultListboxOptionConfig:()=>Kn,defaultMenuConfig:()=>os,defaultMenuItemConfig:()=>rs,defaultModalConfig:()=>hs,defaultMultiselectConfig:()=>Ss,defaultNeutralForegroundContrast:()=>To,defaultNumberFieldConfig:()=>As,defaultProgressConfig:()=>zs,defaultProgressRingConfig:()=>Xs,defaultRadioConfig:()=>tl,defaultRadioGroupConfig:()=>ll,defaultSegmentedControlConfig:()=>hl,defaultSegmentedItemConfig:()=>yl,defaultSelectConfig:()=>_l,defaultSkeletonConfig:()=>Al,defaultSliderConfig:()=>Hl,defaultSliderLabelConfig:()=>Ul,defaultStepperConfig:()=>nr,defaultStepperTabConfig:()=>ur,defaultStepperTabPanelConfig:()=>gr,defaultSwitchConfig:()=>$r,defaultTabConfig:()=>Or,defaultTabPanelConfig:()=>Rr,defaultTabsConfig:()=>jr,defaultTextAreaConfig:()=>Yr,defaultTextFieldConfig:()=>ed,defaultToastConfig:()=>nd,defaultToolbarConfig:()=>pd,defaultTooltipConfig:()=>bd,defaultTreeItemConfig:()=>Fd,defaultTreeViewConfig:()=>Td,defaultUrlInputConfig:()=>Nd,defineFactory:()=>ic,density:()=>s.density,designToken:()=>Io,designUnit:()=>s.designUnit,designUnitValue:()=>qo,direction:()=>s.direction,directionValue:()=>Yo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>ca,dropdownMenuBaseStyles:()=>Fi,errorDialogTemplate:()=>Ji,extractMenuItems:()=>Ci,fillColor:()=>s.fillColor,filterBarTemplate:()=>Ra,flyoutAnimationTime:()=>Ja,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,foundationAccordion:()=>h,foundationAccordionItem:()=>y,foundationAccordionItemShadowOptions:()=>f,foundationAccordionItemStyles:()=>m,foundationAccordionItemTemplate:()=>v,foundationAccordionShadowOptions:()=>u,foundationAccordionStyles:()=>r,foundationAccordionTemplate:()=>d,foundationActionsMenu:()=>A,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>k,foundationAnchor:()=>M,foundationAnchorShadowOptions:()=>I,foundationAnchorStyles:()=>L,foundationAnchorTemplate:()=>E,foundationAnchoredRegion:()=>z,foundationAnchoredRegionShadowOptions:()=>B,foundationAnchoredRegionStyles:()=>H,foundationAnchoredRegionTemplate:()=>P,foundationAvatar:()=>K,foundationAvatarShadowOptions:()=>q,foundationAvatarStyles:()=>G,foundationAvatarTemplate:()=>U,foundationBadge:()=>oe,foundationBadgeShadowOptions:()=>ee,foundationBadgeStyles:()=>Z,foundationBadgeTemplate:()=>Q,foundationBanner:()=>ce,foundationBannerShadowOptions:()=>re,foundationBannerStyles:()=>ne,foundationBannerTemplate:()=>le,foundationBreadcrumb:()=>ge,foundationBreadcrumbItem:()=>$e,foundationBreadcrumbItemShadowOptions:()=>we,foundationBreadcrumbItemStyles:()=>fe,foundationBreadcrumbItemTemplate:()=>be,foundationBreadcrumbShadowOptions:()=>me,foundationBreadcrumbStyles:()=>ue,foundationBreadcrumbTemplate:()=>pe,foundationButton:()=>Oe,foundationButtonShadowOptions:()=>Ce,foundationButtonStyles:()=>Se,foundationButtonTemplate:()=>Fe,foundationCalendar:()=>Re,foundationCalendarShadowOptions:()=>Le,foundationCalendarStyles:()=>ke,foundationCalendarTemplate:()=>Te,foundationCard:()=>je,foundationCardShadowOptions:()=>Pe,foundationCardStyles:()=>Ie,foundationCardTemplate:()=>Ne,foundationCheckbox:()=>Ye,foundationCheckboxShadowOptions:()=>Ge,foundationCheckboxStyles:()=>Be,foundationCheckboxTemplate:()=>Ve,foundationCombobox:()=>Ft,foundationComboboxShadowOptions:()=>$t,foundationComboboxStyles:()=>ft,foundationComboboxTemplate:()=>bt,foundationConnectionIndicator:()=>kt,foundationConnectionIndicatorStyles:()=>Ct,foundationConnectionIndicatorTemplate:()=>Dt,foundationDataGrid:()=>It,foundationDataGridCell:()=>jt,foundationDataGridCellShadowOptions:()=>Pt,foundationDataGridCellStyles:()=>Nt,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>Ut,foundationDataGridRowShadowOptions:()=>zt,foundationDataGridRowStyles:()=>Bt,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>Et,foundationDataGridStyles:()=>Tt,foundationDataGridTemplate:()=>At,foundationDatePicker:()=>po,foundationDatePickerShadowOptions:()=>ro,foundationDatePickerStyles:()=>no,foundationDatePickerTemplate:()=>lo,foundationDesignSystemProvider:()=>ti,foundationDialog:()=>ui,foundationDialogShadowOptions:()=>li,foundationDialogStyles:()=>ii,foundationDialogTemplate:()=>si,foundationDisclosure:()=>fi,foundationDisclosureShadowOptions:()=>vi,foundationDisclosureStyles:()=>pi,foundationDisclosureTemplate:()=>hi,foundationDivider:()=>Si,foundationDividerShadowOptions:()=>xi,foundationDividerStyles:()=>bi,foundationDividerTemplate:()=>yi,foundationDropdownMenu:()=>Ti,foundationDropdownMenuStyles:()=>_i,foundationDropdownMenuTemplate:()=>Oi,foundationErrorBanner:()=>Ii,foundationErrorBannerShadowOptions:()=>Ei,foundationErrorBannerTemplate:()=>Li,foundationErrorBoundary:()=>Ki,foundationErrorBoundaryShadowOptions:()=>qi,foundationErrorBoundaryTemplate:()=>Wi,foundationErrorDialog:()=>oa,foundationErrorDialogShadowOptions:()=>ea,foundationErrorDialogStyles:()=>Zi,foundationFileUpload:()=>ba,foundationFileUploadShadowOptions:()=>ga,foundationFileUploadStyles:()=>na,foundationFileUploadTemplate:()=>la,foundationFilter:()=>ka,foundationFilterBar:()=>Pa,foundationFilterBarStyles:()=>Aa,foundationFilterBarTemplate:()=>Ia,foundationFilterStyles:()=>ya,foundationFilterTemplate:()=>Ca,foundationFlexLayout:()=>Ya,foundationFlexLayoutShadowOptions:()=>za,foundationFlexLayoutStyles:()=>Ba,foundationFlexLayoutTemplate:()=>Va,foundationFlipper:()=>Qa,foundationFlipperShadowOptions:()=>Ka,foundationFlipperStyles:()=>Wa,foundationFlipperTemplate:()=>qa,foundationFlyout:()=>ln,foundationFlyoutShadowOptions:()=>nn,foundationFlyoutStyles:()=>en,foundationFlyoutTemplate:()=>on,foundationGridLayout:()=>gn,foundationGridLayoutItem:()=>xn,foundationGridLayoutItemShadowOptions:()=>bn,foundationGridLayoutItemTemplate:()=>fn,foundationGridLayoutShadowOptions:()=>pn,foundationGridLayoutStyles:()=>cn,foundationGridLayoutTemplate:()=>un,foundationHorizontalScroll:()=>Dn,foundationHorizontalScrollShadowOptions:()=>_n,foundationHorizontalScrollStyles:()=>$n,foundationHorizontalScrollTemplate:()=>Sn,foundationIcon:()=>Hn,foundationIconShadowOptions:()=>In,foundationIconStyles:()=>En,foundationIconTemplate:()=>Rn,foundationListbox:()=>Un,foundationListboxOption:()=>Zn,foundationListboxOptionShadowOptions:()=>Xn,foundationListboxOptionStyles:()=>Yn,foundationListboxOptionTemplate:()=>Wn,foundationListboxShadowOptions:()=>zn,foundationListboxStyles:()=>jn,foundationListboxTemplate:()=>Bn,foundationMenu:()=>is,foundationMenuItem:()=>ds,foundationMenuItemShadowOptions:()=>ls,foundationMenuItemStyles:()=>as,foundationMenuItemTemplate:()=>ns,foundationMenuShadowOptions:()=>ts,foundationMenuStyles:()=>Qn,foundationMenuTemplate:()=>Jn,foundationModal:()=>vs,foundationModalShadowOptions:()=>ps,foundationModalStyles:()=>cs,foundationModalTemplate:()=>us,foundationMultiselect:()=>_s,foundationMultiselectShadowOptions:()=>$s,foundationNotificationListener:()=>oc,foundationNotificationListenerShadowOptions:()=>ec,foundationNotificationListenerTemplate:()=>Gd,foundationNumberField:()=>Ls,foundationNumberFieldShadowOptions:()=>Ts,foundationNumberFieldStyles:()=>Ds,foundationNumberFieldTemplate:()=>Os,foundationPopper:()=>Ps,foundationProgress:()=>Gs,foundationProgressRing:()=>Ks,foundationProgressRingShadowOptions:()=>qs,foundationProgressRingStyles:()=>Us,foundationProgressRingTemplate:()=>Ys,foundationProgressShadowOptions:()=>Vs,foundationProgressStyles:()=>Hs,foundationProgressTemplate:()=>js,foundationRadio:()=>ol,foundationRadioGroup:()=>rl,foundationRadioGroupShadowOptions:()=>sl,foundationRadioGroupStyles:()=>il,foundationRadioGroupTemplate:()=>al,foundationRadioShadowOptions:()=>el,foundationRadioStyles:()=>Zs,foundationRadioTemplate:()=>Qs,foundationSegmentedControl:()=>ml,foundationSegmentedControlShadowOptions:()=>pl,foundationSegmentedControlStyles:()=>dl,foundationSegmentedControlTemplate:()=>cl,foundationSegmentedItem:()=>wl,foundationSegmentedItemShadowOptions:()=>bl,foundationSegmentedItemStyles:()=>vl,foundationSegmentedItemTemplate:()=>gl,foundationSelect:()=>Cl,foundationSelectShadowOptions:()=>Fl,foundationSelectStyles:()=>xl,foundationSelectTemplate:()=>$l,foundationSkeleton:()=>Ll,foundationSkeletonShadowOptions:()=>Tl,foundationSkeletonStyles:()=>Dl,foundationSkeletonTemplate:()=>Ol,foundationSlider:()=>jl,foundationSliderLabel:()=>Yl,foundationSliderLabelShadowOptions:()=>Gl,foundationSliderLabelStyles:()=>Bl,foundationSliderLabelTemplate:()=>Vl,foundationSliderShadowOptions:()=>Pl,foundationSliderStyles:()=>El,foundationSliderTemplate:()=>Nl,foundationSnackbar:()=>Ql,foundationSnackbarShadowOptions:()=>Kl,foundationSnackbarStyles:()=>Wl,foundationSnackbarTemplate:()=>Xl,foundationStepper:()=>sr,foundationStepperShadowOptions:()=>ar,foundationStepperStyles:()=>Jl,foundationStepperTab:()=>pr,foundationStepperTabPanel:()=>fr,foundationStepperTabPanelShadowOptions:()=>vr,foundationStepperTabPanelTemplate:()=>hr,foundationStepperTabShadowOptions:()=>cr,foundationStepperTabStyles:()=>lr,foundationStepperTabTemplate:()=>rr,foundationStepperTemplate:()=>or,foundationSwitch:()=>Sr,foundationSwitchShadowOptions:()=>xr,foundationSwitchStyles:()=>br,foundationSwitchTemplate:()=>yr,foundationTab:()=>kr,foundationTabPanel:()=>Ir,foundationTabPanelShadowOptions:()=>Er,foundationTabPanelStyles:()=>Tr,foundationTabPanelTemplate:()=>Ar,foundationTabShadowOptions:()=>Dr,foundationTabStyles:()=>Fr,foundationTabTemplate:()=>_r,foundationTabs:()=>Br,foundationTabsShadowOptions:()=>Hr,foundationTabsStyles:()=>Nr,foundationTabsTemplate:()=>Mr,foundationTextArea:()=>Wr,foundationTextAreaShadowOptions:()=>Ur,foundationTextAreaStyles:()=>Vr,foundationTextAreaTemplate:()=>zr,foundationTextField:()=>td,foundationTextFieldShadowOptions:()=>Jr,foundationTextFieldStyles:()=>Kr,foundationTextFieldTemplate:()=>Zr,foundationToast:()=>ld,foundationToastShadowOptions:()=>ad,foundationToastStyles:()=>od,foundationToastTemplate:()=>id,foundationToolbar:()=>hd,foundationToolbarShadowOptions:()=>ud,foundationToolbarStyles:()=>rd,foundationToolbarTemplate:()=>dd,foundationTooltip:()=>yd,foundationTooltipShadowOptions:()=>fd,foundationTooltipStyles:()=>md,foundationTooltipTemplate:()=>vd,foundationTreeItem:()=>_d,foundationTreeItemShadowOptions:()=>Sd,foundationTreeItemStyles:()=>wd,foundationTreeItemTemplate:()=>xd,foundationTreeView:()=>Ad,foundationTreeViewShadowOptions:()=>kd,foundationTreeViewStyles:()=>Cd,foundationTreeViewTemplate:()=>Dd,foundationUrlInput:()=>Pd,foundationUrlInputShadowOptions:()=>Id,foundationUrlInputStyles:()=>Ld,foundationUrlInputTemplate:()=>Rd,fuiAccentPalette:()=>Co,fuiAccentSwatch:()=>_o,fuiCardFillColor:()=>ko,fuiCardForegroundColor:()=>Lo,fuiDefaultCardFillColor:()=>yo,fuiDefaultCardPalette:()=>wo,fuiFillColor:()=>Oo,fuiNeutralPalette:()=>So,fuiNeutralSwatch:()=>$o,getBannerTemplate:()=>se,getDefaultConfig:()=>Ho,getDialogTemplate:()=>ni,getDropdownMenuTemplate:()=>Di,getErrorDialogTemplate:()=>Qi,getExports:()=>jo,getFontawesomeIconsCss:()=>Ln,getPrefixedDatePicker:()=>so,getPrefixedErrorBanner:()=>Ai,getPrefixedFileUpload:()=>sa,getPrefixedFilterTemplate:()=>_a,getPrefixedFlyout:()=>tn,getPrefixedMultiselect:()=>ws,getPrefixedSnackbar:()=>ql,getPrefixedStepper:()=>tr,getPrefixedUrlInput:()=>Ed,getTypeRampValue:()=>Bo,jsonConverter:()=>Rs,mapType:()=>La,maxheight:()=>fs,media:()=>Y,menuTemplate:()=>D,mixinFoundationFontFamily:()=>Ko,multiselectStyles:()=>bs,multiselectTemplate:()=>xs,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Ao,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralPaletteValue:()=>Go,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,paletteFromHex:()=>Mo,provideDesignSystem:()=>Bd,provideTokens:()=>Ro,registerFoundationDesignSystem:()=>lc,singleOptionTemplate:()=>O,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>No,tagFor:()=>ac,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight,uploadFiles:()=>da,white:()=>mo});var i={};o.r(i),o.d(i,{accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,bodyFont:()=>s.bodyFont,controlCornerRadius:()=>s.controlCornerRadius,defaultNeutralForegroundContrast:()=>To,density:()=>s.density,designUnit:()=>s.designUnit,direction:()=>s.direction,disabledOpacity:()=>s.disabledOpacity,fillColor:()=>s.fillColor,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,fuiCardFillColor:()=>ko,fuiCardForegroundColor:()=>Lo,fuiFillColor:()=>Oo,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Ao,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,strokeWidth:()=>s.strokeWidth,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight});var a={};o.r(a),o.d(a,{accentPaletteValue:()=>zo,baseLayerLuminanceValue:()=>Uo,controlCornerRadiusValue:()=>Wo,designUnitValue:()=>qo,directionValue:()=>Yo,neutralPaletteValue:()=>Go});var n=o(75951),s=o(13896),l=o(83147);const r=(e,t)=>l.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[645],{16645:(e,t,o)=>{o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>g,ActionsMenu:()=>T,Anchor:()=>R,AnchoredRegion:()=>j,Avatar:()=>W,Badge:()=>J,Banner:()=>de,BaseDatasource:()=>ot,Breadcrumb:()=>he,BreadcrumbItem:()=>ye,Button:()=>_e,CSSVarsTokenMapper:()=>qd,Calendar:()=>Ae,Card:()=>Me,Checkbox:()=>ze,Combobox:()=>xt,ConnectionIndicator:()=>Ot,DEFUALT_FILTER_BAR_COLUMNS:()=>Va,DataGrid:()=>Lt,DataGridCell:()=>Mt,DataGridDatasource:()=>Xd,DataGridRow:()=>Vt,DatePicker:()=>uo,Dialog:()=>ci,DialogElement:()=>di,Disclosure:()=>mi,Divider:()=>wi,DropdownMenu:()=>ki,ErrorBanner:()=>Ri,ErrorBoundary:()=>Wi,ErrorBoundaryEvent:()=>Ni,ErrorDialog:()=>Ji,FaPrefixFromStyle:()=>zn,FileUpload:()=>xa,Filter:()=>Ra,FilterBar:()=>za,FilterEvents:()=>Ea,FlexLayout:()=>Za,FlexMediaQueriesEnum:()=>Ua,Flipper:()=>tn,Flyout:()=>cn,FoundationDesignSystemProvider:()=>ei,FoundationRouter:()=>ac,GridLayout:()=>xn,GridLayoutItem:()=>Cn,GridMediaQueriesEnum:()=>mn,HorizontalScroll:()=>Tn,Icon:()=>Gn,Listbox:()=>qn,ListboxOption:()=>es,Menu:()=>ss,MenuItem:()=>ps,Modal:()=>ws,Multiselect:()=>Ts,MultiselectDatasource:()=>_s,NotificationListener:()=>Jd,NumberField:()=>Is,OptionsDatasource:()=>gt,Popper:()=>Bs,Progress:()=>Ws,ProgressRing:()=>Js,Radio:()=>nl,RadioGroup:()=>ul,SegmentedControl:()=>fl,SegmentedItem:()=>Sl,Select:()=>kl,Skeleton:()=>Il,Slider:()=>zl,SliderLabel:()=>Xl,Snackbar:()=>ir,Stepper:()=>dr,StepperTab:()=>vr,StepperTabPanel:()=>wr,Switch:()=>Cr,Tab:()=>Lr,TabPanel:()=>Pr,Tabs:()=>Gr,TextArea:()=>Kr,TextField:()=>ad,Toast:()=>pd,Toolbar:()=>gd,Tooltip:()=>$d,TreeItem:()=>Od,TreeView:()=>Rd,UrlInput:()=>zd,accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,accentPaletteValue:()=>zo,actionsMenuBaseStyles:()=>$,baseComponents:()=>Ud,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>Uo,black:()=>vo,bodyFont:()=>s.bodyFont,closeIcon:()=>ai,configureDesignSystem:()=>Vo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>Wo,createDesignSystemProxy:()=>Yd,createFormData:()=>ma,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>N,defaultAnchoredRegionConfig:()=>V,defaultAvatarConfig:()=>X,defaultBadgeConfig:()=>te,defaultBreadcrumbConfig:()=>ve,defaultBreadcrumbItemConfig:()=>xe,defaultButtonConfig:()=>De,defaultCalendarConfig:()=>Ee,defaultCardConfig:()=>He,defaultCheckboxConfig:()=>Ue,defaultComboboxConfig:()=>St,defaultDataGridCellConfig:()=>Ht,defaultDataGridConfig:()=>Rt,defaultDataGridRowConfig:()=>Gt,defaultDatePickerConfig:()=>co,defaultDialogConfig:()=>ri,defaultDisclosureConfig:()=>gi,defaultDividerConfig:()=>$i,defaultFileUploadConfig:()=>Sa,defaultFillColor:()=>fo,defaultFlexLayoutConfig:()=>Ka,defaultFlipperConfig:()=>an,defaultFlyoutConfig:()=>pn,defaultGridLayoutConfig:()=>yn,defaultGridLayoutItemConfig:()=>_n,defaultHorizontalScrollConfig:()=>Ln,defaultIconConfig:()=>Vn,defaultListboxConfig:()=>Kn,defaultListboxOptionConfig:()=>os,defaultMenuConfig:()=>rs,defaultMenuItemConfig:()=>ms,defaultModalConfig:()=>ys,defaultMultiselectConfig:()=>ks,defaultNeutralForegroundContrast:()=>To,defaultNumberFieldConfig:()=>Ms,defaultProgressConfig:()=>Xs,defaultProgressRingConfig:()=>tl,defaultRadioConfig:()=>ll,defaultRadioGroupConfig:()=>hl,defaultSegmentedControlConfig:()=>yl,defaultSegmentedItemConfig:()=>_l,defaultSelectConfig:()=>Al,defaultSkeletonConfig:()=>Ml,defaultSliderConfig:()=>Ul,defaultSliderLabelConfig:()=>Zl,defaultStepperConfig:()=>ur,defaultStepperTabConfig:()=>fr,defaultStepperTabPanelConfig:()=>$r,defaultSwitchConfig:()=>Or,defaultTabConfig:()=>Rr,defaultTabPanelConfig:()=>jr,defaultTabsConfig:()=>Yr,defaultTextAreaConfig:()=>Qr,defaultTextFieldConfig:()=>sd,defaultToastConfig:()=>ud,defaultToolbarConfig:()=>bd,defaultTooltipConfig:()=>Fd,defaultTreeItemConfig:()=>Td,defaultTreeViewConfig:()=>Nd,defaultUrlInputConfig:()=>Vd,defineFactory:()=>tc,density:()=>s.density,designToken:()=>Io,designUnit:()=>s.designUnit,designUnitValue:()=>qo,direction:()=>s.direction,directionValue:()=>Yo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>ga,dropdownMenuBaseStyles:()=>Fi,errorDialogTemplate:()=>Zi,extractMenuItems:()=>Ci,fillColor:()=>s.fillColor,filterBarTemplate:()=>ja,flyoutAnimationTime:()=>sn,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,foundationAccordion:()=>h,foundationAccordionItem:()=>y,foundationAccordionItemShadowOptions:()=>f,foundationAccordionItemStyles:()=>m,foundationAccordionItemTemplate:()=>v,foundationAccordionShadowOptions:()=>u,foundationAccordionStyles:()=>r,foundationAccordionTemplate:()=>d,foundationActionsMenu:()=>A,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>k,foundationAnchor:()=>M,foundationAnchorShadowOptions:()=>I,foundationAnchorStyles:()=>L,foundationAnchorTemplate:()=>E,foundationAnchoredRegion:()=>z,foundationAnchoredRegionShadowOptions:()=>B,foundationAnchoredRegionStyles:()=>H,foundationAnchoredRegionTemplate:()=>P,foundationAvatar:()=>K,foundationAvatarShadowOptions:()=>q,foundationAvatarStyles:()=>G,foundationAvatarTemplate:()=>U,foundationBadge:()=>oe,foundationBadgeShadowOptions:()=>ee,foundationBadgeStyles:()=>Z,foundationBadgeTemplate:()=>Q,foundationBanner:()=>ce,foundationBannerShadowOptions:()=>re,foundationBannerStyles:()=>ne,foundationBannerTemplate:()=>le,foundationBreadcrumb:()=>ge,foundationBreadcrumbItem:()=>$e,foundationBreadcrumbItemShadowOptions:()=>we,foundationBreadcrumbItemStyles:()=>fe,foundationBreadcrumbItemTemplate:()=>be,foundationBreadcrumbShadowOptions:()=>me,foundationBreadcrumbStyles:()=>ue,foundationBreadcrumbTemplate:()=>pe,foundationButton:()=>Oe,foundationButtonShadowOptions:()=>Ce,foundationButtonStyles:()=>Se,foundationButtonTemplate:()=>Fe,foundationCalendar:()=>Re,foundationCalendarShadowOptions:()=>Le,foundationCalendarStyles:()=>ke,foundationCalendarTemplate:()=>Te,foundationCard:()=>je,foundationCardShadowOptions:()=>Pe,foundationCardStyles:()=>Ie,foundationCardTemplate:()=>Ne,foundationCheckbox:()=>Ye,foundationCheckboxShadowOptions:()=>Ge,foundationCheckboxStyles:()=>Be,foundationCheckboxTemplate:()=>Ve,foundationCombobox:()=>Ft,foundationComboboxShadowOptions:()=>$t,foundationComboboxStyles:()=>ft,foundationComboboxTemplate:()=>bt,foundationConnectionIndicator:()=>kt,foundationConnectionIndicatorStyles:()=>Ct,foundationConnectionIndicatorTemplate:()=>Dt,foundationDataGrid:()=>It,foundationDataGridCell:()=>jt,foundationDataGridCellShadowOptions:()=>Pt,foundationDataGridCellStyles:()=>Nt,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>Ut,foundationDataGridRowShadowOptions:()=>zt,foundationDataGridRowStyles:()=>Bt,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>Et,foundationDataGridStyles:()=>Tt,foundationDataGridTemplate:()=>At,foundationDatePicker:()=>po,foundationDatePickerShadowOptions:()=>ro,foundationDatePickerStyles:()=>no,foundationDatePickerTemplate:()=>lo,foundationDesignSystemProvider:()=>ti,foundationDialog:()=>ui,foundationDialogShadowOptions:()=>li,foundationDialogStyles:()=>ii,foundationDialogTemplate:()=>si,foundationDisclosure:()=>fi,foundationDisclosureShadowOptions:()=>vi,foundationDisclosureStyles:()=>pi,foundationDisclosureTemplate:()=>hi,foundationDivider:()=>Si,foundationDividerShadowOptions:()=>xi,foundationDividerStyles:()=>bi,foundationDividerTemplate:()=>yi,foundationDropdownMenu:()=>Ti,foundationDropdownMenuStyles:()=>_i,foundationDropdownMenuTemplate:()=>Oi,foundationErrorBanner:()=>Ii,foundationErrorBannerShadowOptions:()=>Ei,foundationErrorBannerTemplate:()=>Li,foundationErrorBoundary:()=>qi,foundationErrorBoundaryShadowOptions:()=>Yi,foundationErrorBoundaryTemplate:()=>Ui,foundationErrorDialog:()=>ea,foundationErrorDialogShadowOptions:()=>Qi,foundationErrorDialogStyles:()=>Xi,foundationFileUpload:()=>Fa,foundationFileUploadShadowOptions:()=>$a,foundationFileUploadStyles:()=>ia,foundationFileUploadTemplate:()=>na,foundationFilter:()=>Ia,foundationFilterBar:()=>Ga,foundationFilterBarStyles:()=>Ma,foundationFilterBarTemplate:()=>Ba,foundationFilterStyles:()=>_a,foundationFilterTemplate:()=>La,foundationFlexLayout:()=>Qa,foundationFlexLayoutShadowOptions:()=>Xa,foundationFlexLayoutStyles:()=>Wa,foundationFlexLayoutTemplate:()=>qa,foundationFlipper:()=>nn,foundationFlipperShadowOptions:()=>on,foundationFlipperStyles:()=>Ja,foundationFlipperTemplate:()=>en,foundationFlyout:()=>hn,foundationFlyoutShadowOptions:()=>un,foundationFlyoutStyles:()=>ln,foundationFlyoutTemplate:()=>dn,foundationGridLayout:()=>$n,foundationGridLayoutItem:()=>Dn,foundationGridLayoutItemShadowOptions:()=>Fn,foundationGridLayoutItemTemplate:()=>Sn,foundationGridLayoutShadowOptions:()=>bn,foundationGridLayoutStyles:()=>gn,foundationGridLayoutTemplate:()=>fn,foundationHorizontalScroll:()=>En,foundationHorizontalScrollShadowOptions:()=>An,foundationHorizontalScrollStyles:()=>On,foundationHorizontalScrollTemplate:()=>kn,foundationIcon:()=>Un,foundationIconShadowOptions:()=>Bn,foundationIconStyles:()=>Hn,foundationIconTemplate:()=>jn,foundationListbox:()=>Zn,foundationListboxOption:()=>is,foundationListboxOptionShadowOptions:()=>ts,foundationListboxOptionStyles:()=>Qn,foundationListboxOptionTemplate:()=>Jn,foundationListboxShadowOptions:()=>Xn,foundationListboxStyles:()=>Yn,foundationListboxTemplate:()=>Wn,foundationMenu:()=>ds,foundationMenuItem:()=>vs,foundationMenuItemShadowOptions:()=>hs,foundationMenuItemStyles:()=>cs,foundationMenuItemTemplate:()=>us,foundationMenuShadowOptions:()=>ls,foundationMenuStyles:()=>as,foundationMenuTemplate:()=>ns,foundationModal:()=>xs,foundationModalShadowOptions:()=>bs,foundationModalStyles:()=>gs,foundationModalTemplate:()=>fs,foundationMultiselect:()=>As,foundationMultiselectShadowOptions:()=>Os,foundationNotificationListener:()=>ec,foundationNotificationListenerShadowOptions:()=>Qd,foundationNotificationListenerTemplate:()=>Kd,foundationNumberField:()=>Ps,foundationNumberFieldShadowOptions:()=>Ns,foundationNumberFieldStyles:()=>Es,foundationNumberFieldTemplate:()=>Rs,foundationPopper:()=>Gs,foundationProgress:()=>Ks,foundationProgressRing:()=>ol,foundationProgressRingShadowOptions:()=>el,foundationProgressRingStyles:()=>Zs,foundationProgressRingTemplate:()=>Qs,foundationProgressShadowOptions:()=>qs,foundationProgressStyles:()=>Us,foundationProgressTemplate:()=>Ys,foundationRadio:()=>rl,foundationRadioGroup:()=>ml,foundationRadioGroupShadowOptions:()=>pl,foundationRadioGroupStyles:()=>dl,foundationRadioGroupTemplate:()=>cl,foundationRadioShadowOptions:()=>sl,foundationRadioStyles:()=>il,foundationRadioTemplate:()=>al,foundationSegmentedControl:()=>wl,foundationSegmentedControlShadowOptions:()=>bl,foundationSegmentedControlStyles:()=>vl,foundationSegmentedControlTemplate:()=>gl,foundationSegmentedItem:()=>Cl,foundationSegmentedItemShadowOptions:()=>Fl,foundationSegmentedItemStyles:()=>xl,foundationSegmentedItemTemplate:()=>$l,foundationSelect:()=>Ll,foundationSelectShadowOptions:()=>Tl,foundationSelectStyles:()=>Dl,foundationSelectTemplate:()=>Ol,foundationSkeleton:()=>Pl,foundationSkeletonShadowOptions:()=>Nl,foundationSkeletonStyles:()=>El,foundationSkeletonTemplate:()=>Rl,foundationSlider:()=>Yl,foundationSliderLabel:()=>Ql,foundationSliderLabelShadowOptions:()=>Kl,foundationSliderLabelStyles:()=>Wl,foundationSliderLabelTemplate:()=>ql,foundationSliderShadowOptions:()=>Gl,foundationSliderStyles:()=>Hl,foundationSliderTemplate:()=>Vl,foundationSnackbar:()=>ar,foundationSnackbarShadowOptions:()=>or,foundationSnackbarStyles:()=>Jl,foundationSnackbarTemplate:()=>tr,foundationStepper:()=>pr,foundationStepperShadowOptions:()=>cr,foundationStepperStyles:()=>nr,foundationStepperTab:()=>br,foundationStepperTabPanel:()=>Sr,foundationStepperTabPanelShadowOptions:()=>xr,foundationStepperTabPanelTemplate:()=>yr,foundationStepperTabShadowOptions:()=>gr,foundationStepperTabStyles:()=>hr,foundationStepperTabTemplate:()=>mr,foundationStepperTemplate:()=>rr,foundationSwitch:()=>kr,foundationSwitchShadowOptions:()=>Dr,foundationSwitchStyles:()=>Fr,foundationSwitchTemplate:()=>_r,foundationTab:()=>Ir,foundationTabPanel:()=>Br,foundationTabPanelShadowOptions:()=>Hr,foundationTabPanelStyles:()=>Nr,foundationTabPanelTemplate:()=>Mr,foundationTabShadowOptions:()=>Er,foundationTabStyles:()=>Tr,foundationTabTemplate:()=>Ar,foundationTabs:()=>Wr,foundationTabsShadowOptions:()=>Ur,foundationTabsStyles:()=>Vr,foundationTabsTemplate:()=>zr,foundationTextArea:()=>Jr,foundationTextAreaShadowOptions:()=>Zr,foundationTextAreaStyles:()=>qr,foundationTextAreaTemplate:()=>Xr,foundationTextField:()=>ld,foundationTextFieldShadowOptions:()=>nd,foundationTextFieldStyles:()=>od,foundationTextFieldTemplate:()=>id,foundationToast:()=>hd,foundationToastShadowOptions:()=>cd,foundationToastStyles:()=>rd,foundationToastTemplate:()=>dd,foundationToolbar:()=>yd,foundationToolbarShadowOptions:()=>fd,foundationToolbarStyles:()=>md,foundationToolbarTemplate:()=>vd,foundationTooltip:()=>_d,foundationTooltipShadowOptions:()=>Sd,foundationTooltipStyles:()=>wd,foundationTooltipTemplate:()=>xd,foundationTreeItem:()=>Ad,foundationTreeItemShadowOptions:()=>kd,foundationTreeItemStyles:()=>Cd,foundationTreeItemTemplate:()=>Dd,foundationTreeView:()=>Md,foundationTreeViewShadowOptions:()=>Id,foundationTreeViewStyles:()=>Ld,foundationTreeViewTemplate:()=>Ed,foundationUrlInput:()=>Gd,foundationUrlInputShadowOptions:()=>Bd,foundationUrlInputStyles:()=>Pd,foundationUrlInputTemplate:()=>jd,fuiAccentPalette:()=>Co,fuiAccentSwatch:()=>_o,fuiCardFillColor:()=>ko,fuiCardForegroundColor:()=>Lo,fuiDefaultCardFillColor:()=>yo,fuiDefaultCardPalette:()=>wo,fuiFillColor:()=>Oo,fuiNeutralPalette:()=>So,fuiNeutralSwatch:()=>$o,getBannerTemplate:()=>se,getDefaultConfig:()=>Ho,getDialogTemplate:()=>ni,getDropdownMenuTemplate:()=>Di,getErrorDialogTemplate:()=>Ki,getExports:()=>jo,getFontawesomeIconsCss:()=>Pn,getPrefixedDatePicker:()=>so,getPrefixedErrorBanner:()=>Ai,getPrefixedFileUpload:()=>aa,getPrefixedFilterTemplate:()=>Aa,getPrefixedFlyout:()=>rn,getPrefixedMultiselect:()=>Cs,getPrefixedSnackbar:()=>er,getPrefixedStepper:()=>lr,getPrefixedUrlInput:()=>Hd,getTypeRampValue:()=>Bo,jsonConverter:()=>js,mapType:()=>Pa,maxheight:()=>Ss,media:()=>Y,menuTemplate:()=>D,mixinFoundationFontFamily:()=>Ko,multiselectStyles:()=>Fs,multiselectTemplate:()=>Ds,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Ao,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralPaletteValue:()=>Go,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,paletteFromHex:()=>Mo,provideDesignSystem:()=>Wd,provideTokens:()=>Ro,registerFoundationDesignSystem:()=>nc,singleOptionTemplate:()=>O,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>No,tagFor:()=>oc,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight,uploadFiles:()=>va,white:()=>mo});var i={};o.r(i),o.d(i,{accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,bodyFont:()=>s.bodyFont,controlCornerRadius:()=>s.controlCornerRadius,defaultNeutralForegroundContrast:()=>To,density:()=>s.density,designUnit:()=>s.designUnit,direction:()=>s.direction,disabledOpacity:()=>s.disabledOpacity,fillColor:()=>s.fillColor,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,fuiCardFillColor:()=>ko,fuiCardForegroundColor:()=>Lo,fuiFillColor:()=>Oo,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Ao,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,strokeWidth:()=>s.strokeWidth,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight});var a={};o.r(a),o.d(a,{accentPaletteValue:()=>zo,baseLayerLuminanceValue:()=>Uo,controlCornerRadiusValue:()=>Wo,designUnitValue:()=>qo,directionValue:()=>Yo,neutralPaletteValue:()=>Go});var n=o(75951),s=o(13896),l=o(83147);const r=(e,t)=>l.css`
2
2
  ${(0,s.accordionStyles)(e,t)}
3
3
  `,d=(e,t)=>(0,n.accordionTemplate)(e,t);class c extends n.Accordion{}const u={delegatesFocus:!0,mode:"open"},p={},h=c.compose(Object.assign({baseName:"accordion",template:d,styles:r,shadowOptions:u},p)),m=(e,t)=>l.css`
4
4
  ${(0,s.accordionItemStyles)(e,t)}
@@ -170,7 +170,7 @@
170
170
  `)}
171
171
  `;class W extends s.Avatar{}const q={delegatesFocus:!0,mode:"open"},X={media:Y},K=W.compose(Object.assign({baseName:"avatar",template:U,styles:G,shadowOptions:q},X)),Z=(e,t)=>l.css`
172
172
  ${(0,s.badgeStyles)(e,t)}
173
- `,Q=(e,t)=>(0,n.badgeTemplate)(e,t);class J extends s.Badge{}const ee=void 0,te={},oe=J.compose(Object.assign({baseName:"badge",template:Q,styles:Z,shadowOptions:ee},te));var ie=o(55614);const ae=(0,ie.createLogger)("foundation-ui"),ne=l.css`
173
+ `,Q=(e,t)=>(0,n.badgeTemplate)(e,t);class J extends s.Badge{}const ee=void 0,te={},oe=J.compose(Object.assign({baseName:"badge",template:Q,styles:Z,shadowOptions:ee},te));var ie=o(4035);const ae=(0,ie.createLogger)("foundation-ui"),ne=l.css`
174
174
  @keyframes delete-animate {
175
175
  from {
176
176
  height: 100px;
@@ -854,11 +854,11 @@
854
854
  </${e}-banner>
855
855
  `,Li=l.html`
856
856
  ${e=>Ai(C(e))}
857
- `,Ei={mode:"open",delegatesFocus:!0};class Ri extends n.FoundationElement{connectedCallback(){super.connectedCallback(),ae.deprecated("ErrorBanner","Use `${prefix}-banner` instead.")}dismiss(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{yield this.banner.dismiss(),this.remove()}catch(e){ae.error(e)}}))}}(0,w.__decorate)([l.observable],Ri.prototype,"error",void 0),(0,w.__decorate)([l.observable],Ri.prototype,"notification",void 0);const Ii=Ri.compose({baseName:"error-banner",template:Li,shadowOptions:Ei});var Ni;!function(e){e.ERROR_BOUNDARY_EVENT="error-boundary-event"}(Ni||(Ni={}));const Mi=e=>{var t,o;return`${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Error"}: ${null!==(o=null==e?void 0:e.errorDetails)&&void 0!==o?o:"Something went wrong"}`},Pi=(e,t)=>{const o=t.split("-")[0];let i=document.querySelector(`#${e}`);if(!i){i=document.createElement("div"),i.setAttribute("id",e);const t=document.createElement(`${o}-design-system-provider`);t.appendChild(i),document.body.appendChild(t)}return i},Hi=()=>{const e=document.createElement("div");return e.setAttribute("id","error-banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},ji=(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m;const v=t.split("-")[0],g=Pi("notify-container",t);if(g)switch(g.style.position="fixed",null===(i=null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.notification)||void 0===i?void 0:i.position){case"top-left":g.style.top="0",g.style.left="0";break;case"bottom-left":g.style.bottom="0",g.style.left="0";break;case"bottom-right":g.style.bottom="0",g.style.right="0";break;default:g.style.top="0",g.style.right="0"}const f=document.createElement(`${v}-toast`),b=document.createElement("div");b.setAttribute("slot","top"),b.textContent=null!==(a=e.title)&&void 0!==a?a:"Error";const y=document.createElement("div");y.setAttribute("slot","content"),y.textContent=(null==e?void 0:e.errorDetails)||"";const w=document.createElement("div");w.setAttribute("slot","date"),w.textContent=(new Date).toLocaleTimeString(),f.setAttribute("notify",(null===(s=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.notification)||void 0===s?void 0:s.type)||""),(null===(r=null===(l=null==e?void 0:e.config)||void 0===l?void 0:l.notification)||void 0===r?void 0:r.autoClose)&&f.setAttribute("auto-close",`${null===(c=null===(d=null==e?void 0:e.config)||void 0===d?void 0:d.notification)||void 0===c?void 0:c.autoClose}`),(null===(p=null===(u=null==e?void 0:e.config)||void 0===u?void 0:u.notification)||void 0===p?void 0:p.closeTimeout)&&f.setAttribute("close-timeout",`${null===(m=null===(h=null==e?void 0:e.config)||void 0===h?void 0:h.notification)||void 0===m?void 0:m.closeTimeout}`),f.appendChild(b),f.appendChild(y),f.appendChild(w),g.appendChild(f)},Bi=(0,ie.createLogger)("foundation-error"),Vi={alert:e=>{alert(Mi(e))},notification:ji,dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-error-dialog`);Pi("dialog-container",t).appendChild(i),i.error=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Pi("snack-container",t).appendChild(i),i.error=e},banner:(e,t,o)=>{var i;const a=t.split("-")[0],n=document.createElement(`${a}-error-banner`),s=(e=>{for(var t,o;e&&!(e instanceof ShadowRoot);){const i=null===(t=null==e?void 0:e.getRootNode())||void 0===t?void 0:t.getElementById("error-banner-anchor");if(i)return i.style.position="relative",i;e=null===(o=null==e?void 0:e.getRootNode())||void 0===o?void 0:o.host}return Hi()})(o);(null===(i=null==s?void 0:s.children)||void 0===i?void 0:i.length)>0&&(n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%"),s.appendChild(n),n.error=e}},zi=(e,t,o)=>{var i,a;Bi.log({message:Mi(e),level:(i=e,(null==i?void 0:i.logLevel)||(null===(a=null==i?void 0:i.config)||void 0===a?void 0:a.logLevel)||ie.LogLevel.Error)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Vi[i]&&Vi[i](e,t,o)}))};class Gi{withTitle(e){return this.title=e,this}withErrorDetails(e){return this.errorDetails=e,this}withLogLevel(e){return this.logLevel=e,this}withAlert(e){return this.alert=e,this}withNotification(e){return this.notification=e,this}withBanner(e){return this.banner=e,this}withSnackbar(e){return this.snackbar=e,this}withDialog(e){return this.dialog=e,this}build(){if(!this.title)throw new Error("Title is required");if(!this.errorDetails)throw new Error("Missing required param 'errorDetails'");let e={title:this.title,errorDetails:this.errorDetails},t={};return this.logLevel in ie.LogLevel&&(e=Object.assign({logLevel:this.logLevel},e)),this.alert&&(t=Object.assign({alert:this.alert},t),e=Object.assign({config:t},e)),this.notification&&(t=Object.assign({notification:this.notification},t),e=Object.assign({config:t},e)),this.banner&&(t=Object.assign({banner:this.banner},t),e=Object.assign({config:t},e)),this.snackbar&&(t=Object.assign({snackbar:this.snackbar},t),e=Object.assign({config:t},e)),this.dialog&&(t=Object.assign({dialog:this.dialog},t),e=Object.assign({config:t},e)),e}}const Ui=()=>new Gi;class Yi{withPosition(e){return this.position=e,this}withAutoClose(e){return this.autoClose=e,this}withCloseTimeout(e){return this.closeTimeout=e,this}withType(e){return this.type=e,this}build(){let e={};return this.position&&(e=Object.assign({position:this.position},e)),this.autoClose&&(e=Object.assign({autoClose:this.autoClose},e)),this.closeTimeout&&(e=Object.assign({closeTimeout:this.closeTimeout},e)),this.type&&(e=Object.assign({type:this.type},e)),e}}const Wi=l.html`
857
+ `,Ei={mode:"open",delegatesFocus:!0};class Ri extends n.FoundationElement{connectedCallback(){super.connectedCallback(),ae.deprecated("ErrorBanner","Use `${prefix}-banner` instead.")}dismiss(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{yield this.banner.dismiss(),this.remove()}catch(e){ae.error(e)}}))}}(0,w.__decorate)([l.observable],Ri.prototype,"error",void 0),(0,w.__decorate)([l.observable],Ri.prototype,"notification",void 0);const Ii=Ri.compose({baseName:"error-banner",template:Li,shadowOptions:Ei});var Ni;!function(e){e.ERROR_BOUNDARY_EVENT="error-boundary-event"}(Ni||(Ni={}));const Mi=e=>{var t,o;return`${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Error"}: ${null!==(o=null==e?void 0:e.errorDetails)&&void 0!==o?o:"Something went wrong"}`},Pi=(e,t)=>{const o=t.split("-")[0];let i=document.querySelector(`#${e}`);if(!i){i=document.createElement("div"),i.setAttribute("id",e);const t=document.createElement(`${o}-design-system-provider`);t.appendChild(i),document.body.appendChild(t)}return i},Hi=()=>{const e=document.createElement("div");return e.setAttribute("id","error-banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},ji=(0,ie.createLogger)("foundation-error"),Bi={alert:e=>{alert(Mi(e))},notification:(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m;const v=t.split("-")[0],g=Pi("notify-container",t);if(g)switch(g.style.position="fixed",null===(i=null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.notification)||void 0===i?void 0:i.position){case"top-left":g.style.top="0",g.style.left="0";break;case"bottom-left":g.style.bottom="0",g.style.left="0";break;case"bottom-right":g.style.bottom="0",g.style.right="0";break;default:g.style.top="0",g.style.right="0"}const f=document.createElement(`${v}-toast`),b=document.createElement("div");b.setAttribute("slot","top"),b.textContent=null!==(a=e.title)&&void 0!==a?a:"Error";const y=document.createElement("div");y.setAttribute("slot","content"),y.textContent=(null==e?void 0:e.errorDetails)||"";const w=document.createElement("div");w.setAttribute("slot","date"),w.textContent=(new Date).toLocaleTimeString(),f.setAttribute("notify",(null===(s=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.notification)||void 0===s?void 0:s.type)||""),(null===(r=null===(l=null==e?void 0:e.config)||void 0===l?void 0:l.notification)||void 0===r?void 0:r.autoClose)&&f.setAttribute("auto-close",`${null===(c=null===(d=null==e?void 0:e.config)||void 0===d?void 0:d.notification)||void 0===c?void 0:c.autoClose}`),(null===(p=null===(u=null==e?void 0:e.config)||void 0===u?void 0:u.notification)||void 0===p?void 0:p.closeTimeout)&&f.setAttribute("close-timeout",`${null===(m=null===(h=null==e?void 0:e.config)||void 0===h?void 0:h.notification)||void 0===m?void 0:m.closeTimeout}`),f.appendChild(b),f.appendChild(y),f.appendChild(w),g.appendChild(f)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-error-dialog`);Pi("dialog-container",t).appendChild(i),i.error=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Pi("snack-container",t).appendChild(i),i.error=e},banner:(e,t,o)=>{var i;const a=t.split("-")[0],n=document.createElement(`${a}-error-banner`),s=(e=>{for(var t,o;e&&!(e instanceof ShadowRoot);){const i=null===(t=null==e?void 0:e.getRootNode())||void 0===t?void 0:t.getElementById("error-banner-anchor");if(i)return i.style.position="relative",i;e=null===(o=null==e?void 0:e.getRootNode())||void 0===o?void 0:o.host}return Hi()})(o);(null===(i=null==s?void 0:s.children)||void 0===i?void 0:i.length)>0&&(n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%"),s.appendChild(n),n.error=e}},Vi=(e,t,o)=>{var i,a;ji.log({message:Mi(e),level:(i=e,(null==i?void 0:i.logLevel)||(null===(a=null==i?void 0:i.config)||void 0===a?void 0:a.logLevel)||ie.LogLevel.Error)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Bi[i]&&Bi[i](e,t,o)}))};class zi{withTitle(e){return this.title=e,this}withErrorDetails(e){return this.errorDetails=e,this}withLogLevel(e){return this.logLevel=e,this}withAlert(e){return this.alert=e,this}withNotification(e){return this.notification=e,this}withBanner(e){return this.banner=e,this}withSnackbar(e){return this.snackbar=e,this}withDialog(e){return this.dialog=e,this}build(){if(!this.title)throw new Error("Title is required");if(!this.errorDetails)throw new Error("Missing required param 'errorDetails'");let e={title:this.title,errorDetails:this.errorDetails},t={};return this.logLevel in ie.LogLevel&&(e=Object.assign({logLevel:this.logLevel},e)),this.alert&&(t=Object.assign({alert:this.alert},t),e=Object.assign({config:t},e)),this.notification&&(t=Object.assign({notification:this.notification},t),e=Object.assign({config:t},e)),this.banner&&(t=Object.assign({banner:this.banner},t),e=Object.assign({config:t},e)),this.snackbar&&(t=Object.assign({snackbar:this.snackbar},t),e=Object.assign({config:t},e)),this.dialog&&(t=Object.assign({dialog:this.dialog},t),e=Object.assign({config:t},e)),e}}class Gi{withPosition(e){return this.position=e,this}withAutoClose(e){return this.autoClose=e,this}withCloseTimeout(e){return this.closeTimeout=e,this}withType(e){return this.type=e,this}build(){let e={};return this.position&&(e=Object.assign({position:this.position},e)),this.autoClose&&(e=Object.assign({autoClose:this.autoClose},e)),this.closeTimeout&&(e=Object.assign({closeTimeout:this.closeTimeout},e)),this.type&&(e=Object.assign({type:this.type},e)),e}}const Ui=l.html`
858
858
  <template ${(0,l.ref)("errorBoundary")}>
859
859
  <slot></slot>
860
860
  </template>
861
- `,qi={mode:"open",delegatesFocus:!0};class Xi extends n.FoundationElement{constructor(){super(...arguments),this.logger=(0,ie.createLogger)("error-boundary"),this.closeTimeout=0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.addEventListener(Ni.ERROR_BOUNDARY_EVENT,(e=>{e.stopImmediatePropagation(),zi(e.detail,this.tagName,this.errorBoundary)})),this.resourceName&&(yield this.datasource.init({resourceName:this.resourceName},!0),null===(t=this.datasource.stream)||void 0===t||t.subscribe((e=>{if(!e.ROW)return;const t=null==e?void 0:e.ROW[0];if(e.SEQUENCE_ID>1){const e=t.HEADER,o=null==t?void 0:t.BODY,i=t.NOTIFY_SEVERITY;zi(Ui().withTitle(e).withErrorDetails(o).withNotification((new Yi).withType(i).withAutoClose(!!this.closeTimeout).withCloseTimeout(this.closeTimeout).build()).build(),this.tagName,this.errorBoundary)}})))}))}}(0,w.__decorate)([l.observable],Xi.prototype,"errorBoundary",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Xi.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Xi.prototype,"closeTimeout",void 0),(0,w.__decorate)([et.Yh],Xi.prototype,"datasource",void 0);const Ki=Xi.compose({baseName:"error-boundary",template:Wi,shadowOptions:qi}),Zi=l.css`
861
+ `,Yi={mode:"open",delegatesFocus:!0};class Wi extends n.FoundationElement{constructor(){super(...arguments),this.logger=(0,ie.createLogger)("error-boundary"),this.closeTimeout=0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.addEventListener(Ni.ERROR_BOUNDARY_EVENT,(e=>{e.stopImmediatePropagation(),Vi(e.detail,this.tagName,this.errorBoundary)})),this.resourceName&&(yield this.datasource.init({resourceName:this.resourceName},!0),null===(t=this.datasource.stream)||void 0===t||t.subscribe((e=>{if(!e.ROW)return;const t=null==e?void 0:e.ROW[0];if(e.SEQUENCE_ID>1){const e=t.HEADER,o=null==t?void 0:t.BODY,i=t.NOTIFY_SEVERITY;Vi((new zi).withTitle(e).withErrorDetails(o).withNotification((new Gi).withType(i).withAutoClose(!!this.closeTimeout).withCloseTimeout(this.closeTimeout).build()).build(),this.tagName,this.errorBoundary)}})))}))}}(0,w.__decorate)([l.observable],Wi.prototype,"errorBoundary",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Wi.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Wi.prototype,"closeTimeout",void 0),(0,w.__decorate)([et.Yh],Wi.prototype,"datasource",void 0);const qi=Wi.compose({baseName:"error-boundary",template:Ui,shadowOptions:Yi}),Xi=l.css`
862
862
  :host {
863
863
  --design-unit: 3;
864
864
  --dialog-max-width: 358px;
@@ -877,7 +877,7 @@
877
877
  overflow: hidden;
878
878
  min-height: var(--error-details-min-height);
879
879
  }
880
- `,Qi=e=>l.html`
880
+ `,Ki=e=>l.html`
881
881
  <${e}-dialog show-close-icon="false" ${(0,l.ref)("dialog")}>
882
882
  <h2 slot="top" class="title">${e=>{var t;return null===(t=e.error)||void 0===t?void 0:t.title}}</h2>
883
883
  <div class="details">${e=>{var t,o;return(null===(t=e.error)||void 0===t?void 0:t.errorDetails)||(null===(o=e.notification)||void 0===o?void 0:o.body)||"Place holder for error message"}}</div>
@@ -894,9 +894,9 @@
894
894
  </${e}-button>
895
895
  `)}
896
896
  </${e}-dialog>
897
- `,Ji=l.html`
898
- ${e=>Qi(C(e))}
899
- `,ea={mode:"open",delegatesFocus:!0};class ta extends n.FoundationElement{connectedCallback(){super.connectedCallback(),ae.deprecated("ErrorDialog","Use `${prefix}-dialog` instead.")}show(){this.dialog.show()}dismiss(){var e,t,o,i,a,n,s,l;(null===(i=null===(o=null===(t=null===(e=this.error)||void 0===e?void 0:e.config)||void 0===t?void 0:t.dialog)||void 0===o?void 0:o.dismissingAction)||void 0===i?void 0:i.action)&&this.error.config.dialog.dismissingAction.action(),(null===(l=null===(s=null===(n=null===(a=this.notification)||void 0===a?void 0:a.config)||void 0===n?void 0:n.dialog)||void 0===s?void 0:s.dismissingAction)||void 0===l?void 0:l.action)&&this.notification.config.dialog.dismissingAction.action(),this.closeDialog()}closeDialog(){try{this.dialog.close(),this.remove()}catch(e){ae.error(e)}}}(0,w.__decorate)([l.observable],ta.prototype,"error",void 0),(0,w.__decorate)([l.observable],ta.prototype,"notification",void 0);const oa=ta.compose({baseName:"error-dialog",template:Ji,styles:Zi,shadowOptions:ea});var ia=o(22296),aa=o(21607);const na=l.css`
897
+ `,Zi=l.html`
898
+ ${e=>Ki(C(e))}
899
+ `,Qi={mode:"open",delegatesFocus:!0};class Ji extends n.FoundationElement{connectedCallback(){super.connectedCallback(),ae.deprecated("ErrorDialog","Use `${prefix}-dialog` instead.")}show(){this.dialog.show()}dismiss(){var e,t,o,i,a,n,s,l;(null===(i=null===(o=null===(t=null===(e=this.error)||void 0===e?void 0:e.config)||void 0===t?void 0:t.dialog)||void 0===o?void 0:o.dismissingAction)||void 0===i?void 0:i.action)&&this.error.config.dialog.dismissingAction.action(),(null===(l=null===(s=null===(n=null===(a=this.notification)||void 0===a?void 0:a.config)||void 0===n?void 0:n.dialog)||void 0===s?void 0:s.dismissingAction)||void 0===l?void 0:l.action)&&this.notification.config.dialog.dismissingAction.action(),this.closeDialog()}closeDialog(){try{this.dialog.close(),this.remove()}catch(e){ae.error(e)}}}(0,w.__decorate)([l.observable],Ji.prototype,"error",void 0),(0,w.__decorate)([l.observable],Ji.prototype,"notification",void 0);const ea=Ji.compose({baseName:"error-dialog",template:Zi,styles:Xi,shadowOptions:Qi});var ta=o(22296),oa=o(21607);const ia=l.css`
900
900
  /* Host */
901
901
  :host {
902
902
  display: flex;
@@ -944,7 +944,7 @@
944
944
  fast-data-grid-row {
945
945
  align-items: center;
946
946
  }
947
- `,sa=e=>l.html`
947
+ `,aa=e=>l.html`
948
948
  <template>
949
949
  <div class="file-selection">
950
950
  <input type="file" multiple ${(0,l.ref)("fileInput")}
@@ -970,13 +970,13 @@
970
970
  </${e}-data-grid>
971
971
  </div>
972
972
  </template>
973
- `,la=l.html`
974
- ${e=>sa(C(e))}
975
- `,ra=e=>{const t=new FormData;return e.forEach((e=>{t.append(e.name,e)})),t},da=(e,t,o)=>{const i=new Headers;return i.append("SESSION_AUTH_TOKEN",o),fetch(e,{method:"POST",body:t,headers:i}).then((e=>e.json().then((e=>e))))},ca=(e,t,o,i="GET",a,n)=>{const s=new Headers;s.append("SESSION_AUTH_TOKEN",o),fetch(e,{method:i,body:n,headers:s}).then((e=>(0,w.__awaiter)(void 0,void 0,void 0,(function*(){var t;if(e.ok)return e.blob();{const o=yield e.json();a&&ji(Ui().withTitle(null==o?void 0:o.MESSAGE_TYPE).withErrorDetails(null===(t=null==o?void 0:o.DETAILS)||void 0===t?void 0:t.ERROR).withNotification({autoClose:!0,closeTimeout:5e3,type:"warning"}).build(),"zero"),ae.error(o||"An error occurred while downloading the file.")}})))).then((e=>{if(e){const o=window.URL.createObjectURL(e),i=document.createElement("a");i.href=o,i.download=t,document.body.appendChild(i),i.click(),i.remove(),a&&ji(Ui().withTitle("Success").withErrorDetails("File downloaded successfully").withNotification({autoClose:!0,closeTimeout:5e3,type:"success"}).build(),"zero"),ae.info("File downloaded successfully")}})).catch((e=>{ae.error(e)}))},ua=["image/png","image/bmp","image/gif","image/jpeg","image/jpg"],pa=["text/plain","text/csv"],ha=["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/pdf"],ma=l.html`
973
+ `,na=l.html`
974
+ ${e=>aa(C(e))}
975
+ `,sa=(0,ie.createLogger)("foundation-notifications"),la=e=>{var t,o;return`${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Error"}: ${null!==(o=null==e?void 0:e.body)&&void 0!==o?o:"Something went wrong"}`},ra=e=>{var t,o;sa.log({message:la(e),level:(t=e,(null==t?void 0:t.logLevel)||(null===(o=null==t?void 0:t.config)||void 0===o?void 0:o.logLevel)||ie.LogLevel.Debug)})},da=(e,t)=>{const o=t.split("-")[0];let i=document.querySelector(`#${e}`);if(!i){i=document.createElement("div"),i.setAttribute("id",e);const t=document.createElement(`${o}-design-system-provider`);t.appendChild(i),document.body.appendChild(t)}return i},ca=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},ua=(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m,v,g,f,b,y;ra(e);const w=t.split("-")[0],x=da("notify-container",t);if(x)switch(x.style.position="fixed",null===(i=null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.toast)||void 0===i?void 0:i.position){case"top-left":x.style.top="0",x.style.left="0";break;case"bottom-left":x.style.bottom="0",x.style.left="0";break;case"bottom-right":x.style.bottom="0",x.style.right="0";break;default:x.style.top="0",x.style.right="0"}const $=document.createElement(`${w}-toast`),S=document.createElement("div");S.setAttribute("slot","top"),S.textContent=e.title;const F=document.createElement("div");F.setAttribute("slot","content"),F.textContent=(null==e?void 0:e.body)||"";const _=document.createElement("div");let C;_.setAttribute("slot","date"),_.textContent=(null===(a=null==e?void 0:e.createdAt)||void 0===a?void 0:a.toLocaleTimeString())||"",(null===(s=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.toast)||void 0===s?void 0:s.buttons)&&(null===(d=null===(r=null===(l=null==e?void 0:e.config)||void 0===l?void 0:l.toast)||void 0===r?void 0:r.buttons)||void 0===d?void 0:d.length)&&(C=document.createElement("div"),C.setAttribute("slot","bottom"),e.config.toast.buttons.forEach((t=>{const o=document.createElement(`${w}-button`);o.textContent=t.placeholder||"example placeholder",o.addEventListener("click",(()=>{const{details:i}=e.config.toast;if(t.action)return t.action({details:i,buttonElement:o,toastElement:$})})),t.appearance&&o.setAttribute("appearance",t.appearance),C.appendChild(o)}))),$.setAttribute("notify",(null===(u=null===(c=null==e?void 0:e.config)||void 0===c?void 0:c.toast)||void 0===u?void 0:u.type)||""),(null===(h=null===(p=null==e?void 0:e.config)||void 0===p?void 0:p.toast)||void 0===h?void 0:h.autoClose)&&$.setAttribute("auto-close",`${null===(v=null===(m=null==e?void 0:e.config)||void 0===m?void 0:m.toast)||void 0===v?void 0:v.autoClose}`),(null===(f=null===(g=null==e?void 0:e.config)||void 0===g?void 0:g.toast)||void 0===f?void 0:f.closeTimeout)&&$.setAttribute("close-timeout",`${null===(y=null===(b=null==e?void 0:e.config)||void 0===b?void 0:b.toast)||void 0===y?void 0:y.closeTimeout}`),$.appendChild(S),$.appendChild(F),$.appendChild(_),C&&$.appendChild(C),x.appendChild($)},pa={alert:e=>{ra(e),alert(la(e))},toast:ua,dialog:(e,t)=>{ra(e);const o=t.split("-")[0],i=document.createElement(`${o}-dialog`);da("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{ra(e);const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);da("snack-container",t).appendChild(i),i.notification=e},banner:(e,t,o)=>{var i;ra(e);const a=t.split("-")[0],n=document.createElement(`${a}-banner`),s=(e=>{for(var t,o;e&&!(e instanceof ShadowRoot);){const i=null===(t=null==e?void 0:e.getRootNode())||void 0===t?void 0:t.getElementById("banner-anchor");if(i)return i.style.position="relative",i;e=null===(o=null==e?void 0:e.getRootNode())||void 0===o?void 0:o.host}return ca()})(o);(null===(i=null==s?void 0:s.children)||void 0===i?void 0:i.length)>0&&(n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%"),s.appendChild(n),n.notification=e}},ha=(e,t,o)=>{Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{pa[i]&&pa[i](e,t,o)}))},ma=e=>{const t=new FormData;return e.forEach((e=>{t.append(e.name,e)})),t},va=(e,t,o)=>{const i=new Headers;return i.append("SESSION_AUTH_TOKEN",o),fetch(e,{method:"POST",body:t,headers:i}).then((e=>e.json().then((e=>e))))},ga=(e,t,o,i="GET",a,n)=>{const s=new Headers;s.append("SESSION_AUTH_TOKEN",o),fetch(e,{method:i,body:n,headers:s}).then((e=>(0,w.__awaiter)(void 0,void 0,void 0,(function*(){var t;if(e.ok)return e.blob();{const o=yield e.json();a&&ha({title:null==o?void 0:o.MESSAGE_TYPE,body:null===(t=null==o?void 0:o.DETAILS)||void 0===t?void 0:t.ERROR,config:{toast:{autoClose:!0,closeTimeout:5e3,type:"warning"}}},"zero"),ae.error(o||"An error occurred while downloading the file.")}})))).then((e=>{if(e){const o=window.URL.createObjectURL(e),i=document.createElement("a");i.href=o,i.download=t,document.body.appendChild(i),i.click(),i.remove(),a&&ha({title:"Success",body:"File downloaded successfully",config:{toast:{autoClose:!0,closeTimeout:5e3,type:"success"}}},"zero"),ae.info("File downloaded successfully")}})).catch((e=>{ae.error(e)}))},fa=["image/png","image/bmp","image/gif","image/jpeg","image/jpg"],ba=["text/plain","text/csv"],ya=["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/pdf"],wa=l.html`
976
976
  ${(0,l.when)((e=>e.rowData),l.html`
977
- ${e=>"DATETIME"===e.columnDefinition.type?(0,aa.Lx)(e.rowData[e.columnDefinition.columnDataKey]):e.rowData[e.columnDefinition.columnDataKey]}
977
+ ${e=>"DATETIME"===e.columnDefinition.type?(0,oa.Lx)(e.rowData[e.columnDefinition.columnDataKey]):e.rowData[e.columnDefinition.columnDataKey]}
978
978
  `)}
979
- `;class va extends n.FoundationElement{constructor(){super(...arguments),this.acceptedFormats=[],this.accept="",this.fileSizeLimitBytes=104857600,this.uploadedFilesResourceName="ALL_FILE_ATTACHMENTS",this.uploadEventName="gwf/attachment-handler/upload",this.gridFields="",this.fileName="",this.uploadedFilesList=[],this.filesGridColumnDefinitions=[]}acceptChanged(){let e=[];this.accept.length>0&&this.accept.split(",").forEach((t=>{"image/*"===t?e=[...e,...ua]:"office/*"===t?e=[...e,...ha]:"text/*"===t?e=[...e,...pa]:e.push(t)})),this.acceptedFormats=e}fieldNameChanged(){this.setupGrid()}entityIdChanged(){this.setupGrid()}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),(null===(t=this.filesGridColumnDefinitions)||void 0===t?void 0:t.length)||this.setColumnDefs()}))}setupGrid(){void 0!==this.entityId&&void 0!==this.fieldName&&(this.gridCriteria=(new lt).withExpression((new pt).withField(this.fieldName).withValue(this.entityId).build()).build(),this.setRowData())}handleStreamRowOperation(e){let t;for(const o of e.ROW)if(o.DETAILS)switch(o.DETAILS.OPERATION){case"INSERT":this.uploadedFilesList.unshift(o);break;case"MODIFY":t=this.uploadedFilesList.findIndex((e=>e.FILE_ATTACHMENT_ID===o.FILE_ATTACHMENT_ID)),this.uploadedFilesList.splice(t,1,o);break;case"DELETE":t=this.uploadedFilesList.findIndex((e=>e.FILE_ATTACHMENT_ID===o.FILE_ATTACHMENT_ID)),this.uploadedFilesList.splice(t,1);break;default:ia.k.error(`Unsupported operation type: ${o.DETAILS.OPERATION}`)}}setRowData(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){yield this.connect.stream(this.uploadedFilesResourceName,(e=>{var t;1===e.SEQUENCE_ID?this.uploadedFilesList=null!==(t=e.ROW)&&void 0!==t?t:[]:this.handleStreamRowOperation(e)}),(e=>{ia.k.error(e)}),{CRITERIA_MATCH:this.gridCriteria})}))}setColumnDefs(){var e;return(0,w.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.connect.getMetadata(this.uploadedFilesResourceName),o=[];this.gridFields.length>0?this.gridFields.split(" ").forEach((e=>{var i;const a=null===(i=t.FIELD)||void 0===i?void 0:i.find((t=>t.NAME===e));a?o.push(this.getColumnObject(a)):"DOWNLOAD"===e&&this.downloadEventName&&o.push(this.getDownloadColumn())})):(null===(e=t.FIELD)||void 0===e||e.forEach((e=>{o.push(this.getColumnObject(e))})),this.downloadEventName&&o.push(this.getDownloadColumn())),this.filesGridColumnDefinitions=o}))}getDownloadColumn(){const e=this.tagName.toLowerCase().split("-")[0];return{columnDataKey:"FILE_NAME",title:"File",cellTemplate:l.html`
979
+ `;class xa extends n.FoundationElement{constructor(){super(...arguments),this.acceptedFormats=[],this.accept="",this.fileSizeLimitBytes=104857600,this.uploadedFilesResourceName="ALL_FILE_ATTACHMENTS",this.uploadEventName="gwf/attachment-handler/upload",this.gridFields="",this.fileName="",this.uploadedFilesList=[],this.filesGridColumnDefinitions=[]}acceptChanged(){let e=[];this.accept.length>0&&this.accept.split(",").forEach((t=>{"image/*"===t?e=[...e,...fa]:"office/*"===t?e=[...e,...ya]:"text/*"===t?e=[...e,...ba]:e.push(t)})),this.acceptedFormats=e}fieldNameChanged(){this.setupGrid()}entityIdChanged(){this.setupGrid()}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),(null===(t=this.filesGridColumnDefinitions)||void 0===t?void 0:t.length)||this.setColumnDefs()}))}setupGrid(){void 0!==this.entityId&&void 0!==this.fieldName&&(this.gridCriteria=(new lt).withExpression((new pt).withField(this.fieldName).withValue(this.entityId).build()).build(),this.setRowData())}handleStreamRowOperation(e){let t;for(const o of e.ROW)if(o.DETAILS)switch(o.DETAILS.OPERATION){case"INSERT":this.uploadedFilesList.unshift(o);break;case"MODIFY":t=this.uploadedFilesList.findIndex((e=>e.FILE_ATTACHMENT_ID===o.FILE_ATTACHMENT_ID)),this.uploadedFilesList.splice(t,1,o);break;case"DELETE":t=this.uploadedFilesList.findIndex((e=>e.FILE_ATTACHMENT_ID===o.FILE_ATTACHMENT_ID)),this.uploadedFilesList.splice(t,1);break;default:ta.k.error(`Unsupported operation type: ${o.DETAILS.OPERATION}`)}}setRowData(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){yield this.connect.stream(this.uploadedFilesResourceName,(e=>{var t;1===e.SEQUENCE_ID?this.uploadedFilesList=null!==(t=e.ROW)&&void 0!==t?t:[]:this.handleStreamRowOperation(e)}),(e=>{ta.k.error(e)}),{CRITERIA_MATCH:this.gridCriteria})}))}setColumnDefs(){var e;return(0,w.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.connect.getMetadata(this.uploadedFilesResourceName),o=[];this.gridFields.length>0?this.gridFields.split(" ").forEach((e=>{var i;const a=null===(i=t.FIELD)||void 0===i?void 0:i.find((t=>t.NAME===e));a?o.push(this.getColumnObject(a)):"DOWNLOAD"===e&&this.downloadEventName&&o.push(this.getDownloadColumn())})):(null===(e=t.FIELD)||void 0===e||e.forEach((e=>{o.push(this.getColumnObject(e))})),this.downloadEventName&&o.push(this.getDownloadColumn())),this.filesGridColumnDefinitions=o}))}getDownloadColumn(){const e=this.tagName.toLowerCase().split("-")[0];return{columnDataKey:"FILE_NAME",title:"File",cellTemplate:l.html`
980
980
  <template>
981
981
  <div class="download-button-container">
982
982
  <${e}-button
@@ -987,7 +987,7 @@
987
987
  </${e}-button>
988
988
  </div>
989
989
  </template>
990
- `}}getColumnObject(e){return{columnDataKey:e.NAME,title:e.NAME.toLowerCase().split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),type:e.TYPE,cellTemplate:ma}}handleClick(){this.fileInput.value=null,this.fileInput.click()}onInputChange(e){var t,o;const i=Array.from(null!==(o=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.files)&&void 0!==o?o:[]);this.onFilesSelected(i)}onFilesSelected(e){if(e.length>0&&this.acceptedFormats.length>0){for(const t of e){if(!(this.accept.split(",").includes(".msg")&&t.name&&t.name.endsWith("msg")||this.acceptedFormats.includes(t.type)))return void alert(`Not a valid file type. Accepted Formats are ${this.accept}`);if(t.size>this.fileSizeLimitBytes)return void alert(`File size exceeds the file size limit of ${this.fileSizeLimitBytes} bytes`)}this.selectedFiles=e,this.fileName=this.selectedFiles.map((e=>e.name.trim())).join()}}handleFileUpload(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{const e=ra(this.selectedFiles);e.append(this.uploadKey,this.entityId);const t=yield da(this.uploadEventName,e,this.session.getItem("authToken","session"));if(t.ERROR)return ia.k.error(t.ERROR),void this.$emit("errorOut",t.ERROR);ia.k.info(t),this.clearSelection()}catch(e){ia.k.error(e)}}))}handleFileDownload(e){ca(this.downloadEventName(e),e.FILE_NAME,this.session.getItem("authToken","session"))}clearSelection(){this.fileName="",this.selectedFiles=[]}}(0,w.__decorate)([l.observable],va.prototype,"gridCriteria",void 0),(0,w.__decorate)([Je.lj],va.prototype,"connect",void 0),(0,w.__decorate)([_t.z],va.prototype,"session",void 0),(0,w.__decorate)([l.attr],va.prototype,"label",void 0),(0,w.__decorate)([l.attr],va.prototype,"accept",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"file-size-limit-bytes"})],va.prototype,"fileSizeLimitBytes",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"uploaded-files-resource-name"})],va.prototype,"uploadedFilesResourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-event-name"})],va.prototype,"uploadEventName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"field-name"})],va.prototype,"fieldName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"entity-id"})],va.prototype,"entityId",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-key"})],va.prototype,"uploadKey",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"grid-fields"})],va.prototype,"gridFields",void 0),(0,w.__decorate)([l.observable],va.prototype,"fileName",void 0),(0,w.__decorate)([l.observable],va.prototype,"uploadedFilesList",void 0),(0,w.__decorate)([l.observable],va.prototype,"filesGridColumnDefinitions",void 0);const ga=void 0,fa={},ba=va.compose(Object.assign({baseName:"file-upload",styles:na,template:la,shadowOptions:ga},fa)),ya=l.css`
990
+ `}}getColumnObject(e){return{columnDataKey:e.NAME,title:e.NAME.toLowerCase().split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),type:e.TYPE,cellTemplate:wa}}handleClick(){this.fileInput.value=null,this.fileInput.click()}onInputChange(e){var t,o;const i=Array.from(null!==(o=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.files)&&void 0!==o?o:[]);this.onFilesSelected(i)}onFilesSelected(e){if(e.length>0&&this.acceptedFormats.length>0){for(const t of e){if(!(this.accept.split(",").includes(".msg")&&t.name&&t.name.endsWith("msg")||this.acceptedFormats.includes(t.type)))return void alert(`Not a valid file type. Accepted Formats are ${this.accept}`);if(t.size>this.fileSizeLimitBytes)return void alert(`File size exceeds the file size limit of ${this.fileSizeLimitBytes} bytes`)}this.selectedFiles=e,this.fileName=this.selectedFiles.map((e=>e.name.trim())).join()}}handleFileUpload(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{const e=ma(this.selectedFiles);e.append(this.uploadKey,this.entityId);const t=yield va(this.uploadEventName,e,this.session.getItem("authToken","session"));if(t.ERROR)return ta.k.error(t.ERROR),void this.$emit("errorOut",t.ERROR);ta.k.info(t),this.clearSelection()}catch(e){ta.k.error(e)}}))}handleFileDownload(e){ga(this.downloadEventName(e),e.FILE_NAME,this.session.getItem("authToken","session"))}clearSelection(){this.fileName="",this.selectedFiles=[]}}(0,w.__decorate)([l.observable],xa.prototype,"gridCriteria",void 0),(0,w.__decorate)([Je.lj],xa.prototype,"connect",void 0),(0,w.__decorate)([_t.z],xa.prototype,"session",void 0),(0,w.__decorate)([l.attr],xa.prototype,"label",void 0),(0,w.__decorate)([l.attr],xa.prototype,"accept",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"file-size-limit-bytes"})],xa.prototype,"fileSizeLimitBytes",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"uploaded-files-resource-name"})],xa.prototype,"uploadedFilesResourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-event-name"})],xa.prototype,"uploadEventName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"field-name"})],xa.prototype,"fieldName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"entity-id"})],xa.prototype,"entityId",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-key"})],xa.prototype,"uploadKey",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"grid-fields"})],xa.prototype,"gridFields",void 0),(0,w.__decorate)([l.observable],xa.prototype,"fileName",void 0),(0,w.__decorate)([l.observable],xa.prototype,"uploadedFilesList",void 0),(0,w.__decorate)([l.observable],xa.prototype,"filesGridColumnDefinitions",void 0);const $a=void 0,Sa={},Fa=xa.compose(Object.assign({baseName:"file-upload",styles:ia,template:na,shadowOptions:$a},Sa)),_a=l.css`
991
991
  .filter-wrapper {
992
992
  border: 1px solid gray;
993
993
  border-radius: calc(var(--design-unit) * 2px);
@@ -1038,52 +1038,52 @@
1038
1038
  .flex-row foundation-select {
1039
1039
  flex: 1;
1040
1040
  }
1041
- `;var wa=o(18471);const xa=l.html`
1041
+ `;var Ca=o(18471);const Da=l.html`
1042
1042
  <div class="close-icon" @click=${e=>e.clear()}>${ai()}</div>
1043
- `;function $a(e){var t,o,i;return null!==(i=null===(o=null===(t=null==e?void 0:e.event)||void 0===t?void 0:t.target)||void 0===o?void 0:o.value)&&void 0!==i?i:"all"}const Sa=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Fa=(e,t)=>{switch(e.type){case"number":return(e=>l.html`
1043
+ `;function Oa(e){var t,o,i;return null!==(i=null===(o=null===(t=null==e?void 0:e.event)||void 0===t?void 0:t.target)||void 0===o?void 0:o.value)&&void 0!==i?i:"all"}const ka=[{name:"All",value:"all",selected:!0},{name:"True",value:"true"},{name:"False",value:"false"},{name:"N/A",value:"null"}],Ta=(e,t)=>{switch(e.type){case"number":return(e=>l.html`
1044
1044
  <div class="flex-row">
1045
1045
  <div>${e=>e.label}</div>
1046
- ${xa}
1046
+ ${Da}
1047
1047
  </div>
1048
1048
  <div class="flex-row">
1049
1049
  <${e}-text-field
1050
1050
  ${(0,l.ref)("numFilterFieldMin")}
1051
1051
  type="number"
1052
- :value=${(0,wa.Z)((e=>e.numFilterMin))}
1052
+ :value=${(0,Ca.Z)((e=>e.numFilterMin))}
1053
1053
  placeholder="min"
1054
1054
  ></${e}-text-field>
1055
1055
  <${e}-text-field
1056
1056
  ${(0,l.ref)("numFilterFieldMax")}
1057
1057
  type="number"
1058
- :value=${(0,wa.Z)((e=>e.numFilterMax))}
1058
+ :value=${(0,Ca.Z)((e=>e.numFilterMax))}
1059
1059
  placeholder="max"
1060
1060
  ></${e}-text-field>
1061
1061
  </div>
1062
1062
  `)(t);case"date":return(e=>l.html`
1063
1063
  <div class="flex-row">
1064
1064
  <div>${e=>e.label}</div>
1065
- ${xa}
1065
+ ${Da}
1066
1066
  </div>
1067
1067
  <div class="flex-row">
1068
1068
  <${e}-text-field
1069
1069
  ${(0,l.ref)("dateFilterFieldMin")}
1070
1070
  type="date"
1071
- :value=${(0,wa.Z)((e=>e.dateFilterMin))}
1071
+ :value=${(0,Ca.Z)((e=>e.dateFilterMin))}
1072
1072
  ></${e}-text-field>
1073
1073
  <${e}-text-field
1074
1074
  ${(0,l.ref)("dateFilterFieldMax")}
1075
1075
  type="date"
1076
- :value=${(0,wa.Z)((e=>e.dateFilterMax))}
1076
+ :value=${(0,Ca.Z)((e=>e.dateFilterMax))}
1077
1077
  ></${e}-text-field>
1078
1078
  </div>
1079
1079
  `)(t);case"boolean":return(e=>l.html`
1080
1080
  <div class="flex-row">
1081
1081
  <div>${e=>e.label}</div>
1082
- ${xa}
1082
+ ${Da}
1083
1083
  </div>
1084
1084
  <div class="flex-row">
1085
- <${e}-select @change="${(e,t)=>e.onBooleanFilterSelection($a(t))}}">
1086
- ${(0,l.repeat)((()=>Sa),l.html`
1085
+ <${e}-select @change="${(e,t)=>e.onBooleanFilterSelection(Oa(t))}}">
1086
+ ${(0,l.repeat)((()=>ka),l.html`
1087
1087
  <${e}-option value="${e=>e.value}" selected="${e=>e.selected}">
1088
1088
  ${e=>e.name}
1089
1089
  </${e}-option>
@@ -1093,10 +1093,10 @@
1093
1093
  `)(t);case"enum":return(e=>l.html`
1094
1094
  <div class="flex-row">
1095
1095
  <div>${e=>e.label}</div>
1096
- ${xa}
1096
+ ${Da}
1097
1097
  </div>
1098
1098
  <div class="flex-row">
1099
- <${e}-select @change="${(e,t)=>e.onEnumFilterSelection($a(t))}}">
1099
+ <${e}-select @change="${(e,t)=>e.onEnumFilterSelection(Oa(t))}}">
1100
1100
  ${(0,l.repeat)((e=>e.enumFilterOptions),l.html`
1101
1101
  <${e}-option value="${e=>e.value}" selected="${e=>e.selected}">
1102
1102
  ${e=>e.name}
@@ -1107,20 +1107,20 @@
1107
1107
  `)(t);default:return(e=>l.html`
1108
1108
  <div class="flex-row">
1109
1109
  <div>${e=>e.label}</div>
1110
- ${xa}
1110
+ ${Da}
1111
1111
  </div>
1112
1112
  <div class="flex-row">
1113
1113
  <${e}-text-field
1114
1114
  ${(0,l.ref)("textFilterField")}
1115
1115
  type="text"
1116
- :value=${(0,wa.Z)((e=>e.textFilter))}
1116
+ :value=${(0,Ca.Z)((e=>e.textFilter))}
1117
1117
  />
1118
1118
  </div>
1119
- `)(t)}},_a=e=>l.html`
1120
- <div class="filter-wrapper">${t=>Fa(t,e)}</div>
1121
- `,Ca=l.html`
1122
- ${e=>_a(C(e))}</div>
1123
- `;var Da;!function(e){e.change="filter-changed",e.clear="filter-cleared"}(Da||(Da={}));class Oa extends n.FoundationElement{constructor(){super(...arguments),this.type="text",this.textFilter="",this.enumFilterOptions=[{name:"All",value:"all",selected:!0}]}textFilterChanged(e,t){if(!(null==t?void 0:t.length))return void this.$emit(Da.clear,{fieldName:this.fieldName,target:this.target});const o=`Expr.containsIgnoreCase(${this.fieldName},'${t}')`;this.$emit(Da.change,{fieldName:this.fieldName,filter:o,target:this.target})}numFilterMinChanged(e,t){this.numFilterMin=Number.isFinite(Number(t))?Number(t):void 0,this.handleNumericFilter(this.numFilterMin,this.numFilterMax)}numFilterMaxChanged(e,t){this.numFilterMax=Number.isFinite(Number(t))?Number(t):void 0,this.handleNumericFilter(this.numFilterMin,this.numFilterMax)}handleNumericFilter(e,t){if(!Number.isFinite(e)&&!Number.isFinite(t))return void this.$emit(Da.clear,{fieldName:this.fieldName,target:this.target});const o=`${this.fieldName} >= ${e}`,i=`${this.fieldName} <= ${t}`,a=Number.isFinite(e)?Number.isFinite(t)?`(${o} && ${i})`:o:i;this.$emit(Da.change,{fieldName:this.fieldName,filter:a,target:this.target})}formatDate(e){if(Number.isFinite(e))return new Date(e).toISOString().slice(0,19).replace(/-/g,"").replace("T","-")}dateFilterMinChanged(e,t){this.dateMinMS=Date.parse(t),this.handleDateFilter(this.dateMinMS,this.dateMaxMS)}dateFilterMaxChanged(e,t){this.dateMaxMS=Date.parse(t),this.handleDateFilter(this.dateMinMS,this.dateMaxMS)}handleDateFilter(e,t){if(!Number.isFinite(e)&&!Number.isFinite(t))return void this.$emit(Da.clear,{fieldName:this.fieldName});const o=`Expr.dateTimeIsAfter(${this.fieldName}, '${this.formatDate(e)}')`,i=`Expr.dateTimeIsBefore(${this.fieldName}, '${this.formatDate(t)}')`,a=Number.isFinite(e)?Number.isFinite(t)?`(${o} && ${i})`:o:i;this.$emit(Da.change,{fieldName:this.fieldName,filter:a,target:this.target})}connectedCallback(){var e;if(super.connectedCallback(),null===(e=this.enumOptions)||void 0===e?void 0:e.length){const e=this.enumOptions.includes("|")?"|":",",t=this.enumOptions.split(e).map((e=>({name:e,value:e})));this.enumFilterOptions=[{name:"All",value:"all",selected:!0},...t]}}clear(){switch(this.type){case"number":this.numFilterFieldMin.value=void 0,this.numFilterFieldMax.value=void 0,this.numFilterMin=void 0,this.numFilterMax=void 0;break;case"date":this.dateFilterFieldMin.value="",this.dateFilterFieldMax.value="",this.dateMinMS=NaN,this.dateMaxMS=NaN;break;case"text":this.textFilterField.value=""}this.$emit(Da.clear,{fieldName:this.fieldName,target:this.target})}onBooleanFilterSelection(e){e&&"all"!==e?this.$emit(Da.change,{fieldName:this.fieldName,filter:`${this.fieldName} == ${e}`,target:this.target}):this.$emit(Da.clear,{fieldName:this.fieldName,target:this.target})}onEnumFilterSelection(e){e&&"all"!==e?this.$emit(Da.change,{fieldName:this.fieldName,filter:`${this.fieldName} == "${e}"`,target:this.target}):this.$emit(Da.clear,{fieldName:this.fieldName,target:this.target})}}(0,w.__decorate)([l.attr],Oa.prototype,"fieldName",void 0),(0,w.__decorate)([l.attr],Oa.prototype,"type",void 0),(0,w.__decorate)([l.attr],Oa.prototype,"label",void 0),(0,w.__decorate)([l.attr],Oa.prototype,"target",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"textFilter",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"numFilterMin",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"numFilterMax",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"dateFilterMin",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"dateFilterMax",void 0),(0,w.__decorate)([l.attr],Oa.prototype,"enumOptions",void 0),(0,w.__decorate)([l.observable],Oa.prototype,"enumFilterOptions",void 0);const ka=Oa.compose({baseName:"filter",template:Ca,styles:ya});var Ta=o(41353);const Aa=(e,t)=>l.css`
1119
+ `)(t)}},Aa=e=>l.html`
1120
+ <div class="filter-wrapper">${t=>Ta(t,e)}</div>
1121
+ `,La=l.html`
1122
+ ${e=>Aa(C(e))}</div>
1123
+ `;var Ea;!function(e){e.change="filter-changed",e.clear="filter-cleared"}(Ea||(Ea={}));class Ra extends n.FoundationElement{constructor(){super(...arguments),this.type="text",this.textFilter="",this.enumFilterOptions=[{name:"All",value:"all",selected:!0}]}textFilterChanged(e,t){if(!(null==t?void 0:t.length))return void this.$emit(Ea.clear,{fieldName:this.fieldName,target:this.target});const o=`Expr.containsIgnoreCase(${this.fieldName},'${t}')`;this.$emit(Ea.change,{fieldName:this.fieldName,filter:o,target:this.target})}numFilterMinChanged(e,t){this.numFilterMin=Number.isFinite(Number(t))?Number(t):void 0,this.handleNumericFilter(this.numFilterMin,this.numFilterMax)}numFilterMaxChanged(e,t){this.numFilterMax=Number.isFinite(Number(t))?Number(t):void 0,this.handleNumericFilter(this.numFilterMin,this.numFilterMax)}handleNumericFilter(e,t){if(!Number.isFinite(e)&&!Number.isFinite(t))return void this.$emit(Ea.clear,{fieldName:this.fieldName,target:this.target});const o=`${this.fieldName} >= ${e}`,i=`${this.fieldName} <= ${t}`,a=Number.isFinite(e)?Number.isFinite(t)?`(${o} && ${i})`:o:i;this.$emit(Ea.change,{fieldName:this.fieldName,filter:a,target:this.target})}formatDate(e){if(Number.isFinite(e))return new Date(e).toISOString().slice(0,19).replace(/-/g,"").replace("T","-")}dateFilterMinChanged(e,t){this.dateMinMS=Date.parse(t),this.handleDateFilter(this.dateMinMS,this.dateMaxMS)}dateFilterMaxChanged(e,t){this.dateMaxMS=Date.parse(t),this.handleDateFilter(this.dateMinMS,this.dateMaxMS)}handleDateFilter(e,t){if(!Number.isFinite(e)&&!Number.isFinite(t))return void this.$emit(Ea.clear,{fieldName:this.fieldName});const o=`Expr.dateTimeIsAfter(${this.fieldName}, '${this.formatDate(e)}')`,i=`Expr.dateTimeIsBefore(${this.fieldName}, '${this.formatDate(t)}')`,a=Number.isFinite(e)?Number.isFinite(t)?`(${o} && ${i})`:o:i;this.$emit(Ea.change,{fieldName:this.fieldName,filter:a,target:this.target})}connectedCallback(){var e;if(super.connectedCallback(),null===(e=this.enumOptions)||void 0===e?void 0:e.length){const e=this.enumOptions.includes("|")?"|":",",t=this.enumOptions.split(e).map((e=>({name:e,value:e})));this.enumFilterOptions=[{name:"All",value:"all",selected:!0},...t]}}clear(){switch(this.type){case"number":this.numFilterFieldMin.value=void 0,this.numFilterFieldMax.value=void 0,this.numFilterMin=void 0,this.numFilterMax=void 0;break;case"date":this.dateFilterFieldMin.value="",this.dateFilterFieldMax.value="",this.dateMinMS=NaN,this.dateMaxMS=NaN;break;case"text":this.textFilterField.value=""}this.$emit(Ea.clear,{fieldName:this.fieldName,target:this.target})}onBooleanFilterSelection(e){e&&"all"!==e?this.$emit(Ea.change,{fieldName:this.fieldName,filter:`${this.fieldName} == ${e}`,target:this.target}):this.$emit(Ea.clear,{fieldName:this.fieldName,target:this.target})}onEnumFilterSelection(e){e&&"all"!==e?this.$emit(Ea.change,{fieldName:this.fieldName,filter:`${this.fieldName} == "${e}"`,target:this.target}):this.$emit(Ea.clear,{fieldName:this.fieldName,target:this.target})}}(0,w.__decorate)([l.attr],Ra.prototype,"fieldName",void 0),(0,w.__decorate)([l.attr],Ra.prototype,"type",void 0),(0,w.__decorate)([l.attr],Ra.prototype,"label",void 0),(0,w.__decorate)([l.attr],Ra.prototype,"target",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"textFilter",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"numFilterMin",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"numFilterMax",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"dateFilterMin",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"dateFilterMax",void 0),(0,w.__decorate)([l.attr],Ra.prototype,"enumOptions",void 0),(0,w.__decorate)([l.observable],Ra.prototype,"enumFilterOptions",void 0);const Ia=Ra.compose({baseName:"filter",template:La,styles:_a});var Na=o(41353);const Ma=(e,t)=>l.css`
1124
1124
  .filter-bar {
1125
1125
  background-color: #2c2f33;
1126
1126
  padding: calc(var(--design-unit) * 2px);
@@ -1156,9 +1156,9 @@
1156
1156
  .toggle-collapsed {
1157
1157
  color: #48ed9c;
1158
1158
  }
1159
- `,La=e=>{switch(e){case"INT":case"DOUBLE":case"LONG":return"number";case"DATETIME":return"date";case"BOOLEAN":return"boolean";case"ENUM":return"enum";default:return"text"}},Ea=l.html`
1159
+ `,Pa=e=>{switch(e){case"INT":case"DOUBLE":case"LONG":return"number";case"DATETIME":return"date";case"BOOLEAN":return"boolean";case"ENUM":return"enum";default:return"text"}},Ha=l.html`
1160
1160
  <p>Fetching metadata for ${e=>e.resource}...</p>
1161
- `,Ra=e=>l.html`
1161
+ `,ja=e=>l.html`
1162
1162
  <div
1163
1163
  class=${e=>(0,x.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1164
1164
  @click="${e=>e.toggle()}"
@@ -1178,17 +1178,17 @@
1178
1178
  <${e}-filter
1179
1179
  label="${e=>e.UI_LABEL}"
1180
1180
  target="${(e,t)=>{var o;return null===(o=t.parent)||void 0===o?void 0:o.target}}"
1181
- type="${e=>La(e.TYPE)}"
1181
+ type="${e=>Pa(e.TYPE)}"
1182
1182
  fieldName="${e=>e.NAME}"
1183
1183
  enumOptions="${e=>e.VALID_VALUES}"
1184
1184
  ></${e}-filter>
1185
1185
  `)}
1186
1186
  </div>
1187
1187
  </div>
1188
- `,Ia=l.html`
1189
- ${e=>e.ready?Ra(C(e)):Ea}
1190
- `,Na=5;class Ma extends n.FoundationElement{constructor(){super(...arguments),this.columns=Na,this.ready=!1,this.collapsed=!0}connectedCallback(){super.connectedCallback(),this.init()}initLabels(){var e,t,o,i,a;let n=!1,s=[];(null===(e=null==this?void 0:this.labels)||void 0===e?void 0:e.length)&&(s=null===(t=this.labels.split(","))||void 0===t?void 0:t.map((e=>e.trim())),n=(null===(o=this.fields)||void 0===o?void 0:o.length)===(null==s?void 0:s.length));for(let e=0;null!==(a=e<(null===(i=this.fields)||void 0===i?void 0:i.length))&&void 0!==a&&a;e+=1){const t=n?s[e]:this.camelCasePreserveWhitespace(this.fields[e].NAME.replace(/_/g," "));this.fields[e].UI_LABEL=t}}camelCasePreserveWhitespace(e){return e.split(" ").map((e=>(0,Ta.Ho)(e))).join(" ")}resourceChanged(e,t){e!==t&&(null==e?void 0:e.length)&&this.init()}init(){this.ready=!1,this.connect.getMetadata(this.resource).then((e=>{var t,o;if(this.fields=e.FIELD,null===(t=this.only)||void 0===t?void 0:t.length){const e=this.only.split(",").map((e=>e.trim())),t=(t,o)=>e.indexOf(t.NAME)>e.indexOf(o.NAME)?1:-1;this.fields=null===(o=this.fields)||void 0===o?void 0:o.filter((t=>e.includes(t.NAME))).sort(t)}this.ready=!0})).then((()=>this.initLabels())).then((()=>window.requestAnimationFrame((()=>{this.adjustColumnStyles()})))).catch((e=>ae.error(e)))}adjustColumnStyles(){this.filterGrid&&(this.filterGrid.style["grid-template-columns"]=`repeat(${this.columns}, 1fr)`)}toggle(){this.ready&&(this.collapsed=!this.collapsed)}}(0,w.__decorate)([l.attr],Ma.prototype,"resource",void 0),(0,w.__decorate)([l.attr],Ma.prototype,"only",void 0),(0,w.__decorate)([l.attr],Ma.prototype,"labels",void 0),(0,w.__decorate)([l.attr],Ma.prototype,"target",void 0),(0,w.__decorate)([l.attr],Ma.prototype,"columns",void 0),(0,w.__decorate)([l.observable],Ma.prototype,"ready",void 0),(0,w.__decorate)([l.observable],Ma.prototype,"fields",void 0),(0,w.__decorate)([Je.lj],Ma.prototype,"connect",void 0),(0,w.__decorate)([l.observable],Ma.prototype,"collapsed",void 0);const Pa=Ma.compose({baseName:"filter-bar",template:Ia,styles:Aa});var Ha;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(Ha||(Ha={}));const ja=e=>{const t=e?`-${e}`:"";return l.css`
1191
- ${t&&`@media only screen and ${Ha[e]} {`}
1188
+ `,Ba=l.html`
1189
+ ${e=>e.ready?ja(C(e)):Ha}
1190
+ `,Va=5;class za extends n.FoundationElement{constructor(){super(...arguments),this.columns=Va,this.ready=!1,this.collapsed=!0}connectedCallback(){super.connectedCallback(),this.init()}initLabels(){var e,t,o,i,a;let n=!1,s=[];(null===(e=null==this?void 0:this.labels)||void 0===e?void 0:e.length)&&(s=null===(t=this.labels.split(","))||void 0===t?void 0:t.map((e=>e.trim())),n=(null===(o=this.fields)||void 0===o?void 0:o.length)===(null==s?void 0:s.length));for(let e=0;null!==(a=e<(null===(i=this.fields)||void 0===i?void 0:i.length))&&void 0!==a&&a;e+=1){const t=n?s[e]:this.camelCasePreserveWhitespace(this.fields[e].NAME.replace(/_/g," "));this.fields[e].UI_LABEL=t}}camelCasePreserveWhitespace(e){return e.split(" ").map((e=>(0,Na.Ho)(e))).join(" ")}resourceChanged(e,t){e!==t&&(null==e?void 0:e.length)&&this.init()}init(){this.ready=!1,this.connect.getMetadata(this.resource).then((e=>{var t,o;if(this.fields=e.FIELD,null===(t=this.only)||void 0===t?void 0:t.length){const e=this.only.split(",").map((e=>e.trim())),t=(t,o)=>e.indexOf(t.NAME)>e.indexOf(o.NAME)?1:-1;this.fields=null===(o=this.fields)||void 0===o?void 0:o.filter((t=>e.includes(t.NAME))).sort(t)}this.ready=!0})).then((()=>this.initLabels())).then((()=>window.requestAnimationFrame((()=>{this.adjustColumnStyles()})))).catch((e=>ae.error(e)))}adjustColumnStyles(){this.filterGrid&&(this.filterGrid.style["grid-template-columns"]=`repeat(${this.columns}, 1fr)`)}toggle(){this.ready&&(this.collapsed=!this.collapsed)}}(0,w.__decorate)([l.attr],za.prototype,"resource",void 0),(0,w.__decorate)([l.attr],za.prototype,"only",void 0),(0,w.__decorate)([l.attr],za.prototype,"labels",void 0),(0,w.__decorate)([l.attr],za.prototype,"target",void 0),(0,w.__decorate)([l.attr],za.prototype,"columns",void 0),(0,w.__decorate)([l.observable],za.prototype,"ready",void 0),(0,w.__decorate)([l.observable],za.prototype,"fields",void 0),(0,w.__decorate)([Je.lj],za.prototype,"connect",void 0),(0,w.__decorate)([l.observable],za.prototype,"collapsed",void 0);const Ga=za.compose({baseName:"filter-bar",template:Ba,styles:Ma});var Ua;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(Ua||(Ua={}));const Ya=e=>{const t=e?`-${e}`:"";return l.css`
1191
+ ${t&&`@media only screen and ${Ua[e]} {`}
1192
1192
  :host(.spacing${t}-1x) slot {
1193
1193
  gap: calc(var(--design-unit) * 2px);
1194
1194
  }
@@ -1305,7 +1305,7 @@
1305
1305
  align-content: space-evenly;
1306
1306
  }
1307
1307
  ${t&&"}"}
1308
- `},Ba=l.css`
1308
+ `},Wa=l.css`
1309
1309
  :host {
1310
1310
  width: 100%;
1311
1311
  height: 100%;
@@ -1317,17 +1317,17 @@
1317
1317
  display: flex;
1318
1318
  }
1319
1319
 
1320
- ${ja()}
1321
- ${ja("lg")}
1322
- ${ja("md")}
1323
- ${ja("sm")}
1324
- `,Va=l.html`
1320
+ ${Ya()}
1321
+ ${Ya("lg")}
1322
+ ${Ya("md")}
1323
+ ${Ya("sm")}
1324
+ `,qa=l.html`
1325
1325
  <template>
1326
1326
  <slot></slot>
1327
1327
  </template>
1328
- `,za=void 0,Ga={};class Ua extends n.FoundationElement{}const Ya=Ua.compose(Object.assign({baseName:"flex-layout",styles:Ba,template:Va,shadowOptions:za},Ga)),Wa=(e,t)=>l.css`
1328
+ `,Xa=void 0,Ka={};class Za extends n.FoundationElement{}const Qa=Za.compose(Object.assign({baseName:"flex-layout",styles:Wa,template:qa,shadowOptions:Xa},Ka)),Ja=(e,t)=>l.css`
1329
1329
  ${(0,s.flipperStyles)(e,t)}
1330
- `,qa=(e,t)=>(0,n.flipperTemplate)(e,t);class Xa extends s.Flipper{}const Ka=void 0,Za={next:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n ',previous:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"\n />\n </svg>\n '},Qa=Xa.compose(Object.assign({baseName:"flipper",template:qa,styles:Wa,shadowOptions:Ka},Za)),Ja=225,en=l.css`
1330
+ `,en=(e,t)=>(0,n.flipperTemplate)(e,t);class tn extends s.Flipper{}const on=void 0,an={next:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n ',previous:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"\n />\n </svg>\n '},nn=tn.compose(Object.assign({baseName:"flipper",template:en,styles:Ja,shadowOptions:on},an)),sn=225,ln=l.css`
1331
1331
  /* Host */
1332
1332
  :host {
1333
1333
  display: inline-block;
@@ -1352,7 +1352,7 @@
1352
1352
  height: 100%;
1353
1353
  position: absolute;
1354
1354
  /* stylelint-disable-next-line function-name-case */
1355
- transition: transform ${Ja.toString()}ms ease-in;
1355
+ transition: transform ${sn.toString()}ms ease-in;
1356
1356
  width: 20%;
1357
1357
  z-index: 2001;
1358
1358
  }
@@ -1400,7 +1400,7 @@
1400
1400
  opacity: 50%;
1401
1401
  position: absolute;
1402
1402
  /* stylelint-disable-next-line function-name-case */
1403
- transition: opacity ${Ja.toString()}ms linear;
1403
+ transition: opacity ${sn.toString()}ms linear;
1404
1404
  width: 100%;
1405
1405
  z-index: 2000;
1406
1406
  }
@@ -1408,7 +1408,7 @@
1408
1408
  :host([visuallyhidden]) div.background {
1409
1409
  opacity: 0%;
1410
1410
  }
1411
- `,tn=e=>l.html`
1411
+ `,rn=e=>l.html`
1412
1412
  <div ?closed=${e=>e.closed} ?visuallyhidden=${e=>e.visuallyhidden}>
1413
1413
  <div class="container">
1414
1414
  <div class="background" part="background" @click=${e=>e.closeFlyout()}></div>
@@ -1432,10 +1432,10 @@
1432
1432
  </div>
1433
1433
  </div>
1434
1434
  </div>
1435
- `,on=l.html`
1436
- ${e=>tn(C(e))}
1437
- `;class an extends n.FoundationElement{constructor(){super(...arguments),this.position="right",this.displayHeader=!0,this.closed=!0,this.visuallyhidden=!0}closedChanged(){this.closed||setTimeout((()=>this.visuallyhidden=!1),1)}closeFlyout(){this.visuallyhidden=!0}closingFinished(){this.visuallyhidden&&(this.closed=!0,this.$emit("closed"))}}(0,w.__decorate)([l.attr],an.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],an.prototype,"displayHeader",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],an.prototype,"closed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],an.prototype,"visuallyhidden",void 0);const nn=void 0,sn={},ln=an.compose(Object.assign({baseName:"flyout",styles:en,template:on,shadowOptions:nn},sn));var rn;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(rn||(rn={}));const dn=e=>{const t=e?`-${e}`:"";return l.css`
1438
- ${t&&`@media only screen and ${rn[e]} {`}
1435
+ `,dn=l.html`
1436
+ ${e=>rn(C(e))}
1437
+ `;class cn extends n.FoundationElement{constructor(){super(...arguments),this.position="right",this.displayHeader=!0,this.closed=!0,this.visuallyhidden=!0}closedChanged(){this.closed||setTimeout((()=>this.visuallyhidden=!1),1)}closeFlyout(){this.visuallyhidden=!0}closingFinished(){this.visuallyhidden&&(this.closed=!0,this.$emit("closed"))}}(0,w.__decorate)([l.attr],cn.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],cn.prototype,"displayHeader",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],cn.prototype,"closed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],cn.prototype,"visuallyhidden",void 0);const un=void 0,pn={},hn=cn.compose(Object.assign({baseName:"flyout",styles:ln,template:dn,shadowOptions:un},pn));var mn;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(mn||(mn={}));const vn=e=>{const t=e?`-${e}`:"";return l.css`
1438
+ ${t&&`@media only screen and ${mn[e]} {`}
1439
1439
  :host(.spacing${t}-1x) slot {
1440
1440
  gap: calc(var(--design-unit) * 2px);
1441
1441
  }
@@ -1520,32 +1520,32 @@
1520
1520
  place-items: stretch;
1521
1521
  }
1522
1522
  ${t&&"}"}
1523
- `},cn=l.css`
1523
+ `},gn=l.css`
1524
1524
  slot {
1525
1525
  width: 100%;
1526
1526
  height: 100%;
1527
1527
  display: grid;
1528
1528
  }
1529
1529
 
1530
- ${dn()}
1531
- ${dn("lg")}
1532
- ${dn("md")}
1533
- ${dn("sm")}
1534
- `,un=l.html`
1530
+ ${vn()}
1531
+ ${vn("lg")}
1532
+ ${vn("md")}
1533
+ ${vn("sm")}
1534
+ `,fn=l.html`
1535
1535
  <template>
1536
1536
  <slot></slot>
1537
1537
  </template>
1538
- `,pn=void 0,hn={};class mn{constructor(e,t,o,i="1fr",a="1fr"){this.listenerCache=new WeakMap,this.query=window.matchMedia(e);const n=t&&l.cssPartial`grid-template-columns: repeat(${t}, ${i});`,s=o&&l.cssPartial`grid-template-rows: repeat(${o}, ${a});`;this.styles=l.css`
1538
+ `,bn=void 0,yn={};class wn{constructor(e,t,o,i="1fr",a="1fr"){this.listenerCache=new WeakMap,this.query=window.matchMedia(e);const n=t&&l.cssPartial`grid-template-columns: repeat(${t}, ${i});`,s=o&&l.cssPartial`grid-template-rows: repeat(${o}, ${a});`;this.styles=l.css`
1539
1539
  slot {
1540
1540
  ${s||""}
1541
1541
  ${n||""}
1542
1542
  }
1543
- `}bind(e){let t=!1;const o=o=>{const{matches:i}=o;i&&!t?(e.$fastController.addStyles(this.styles),t=!0):!i&&t&&(e.$fastController.removeStyles(this.styles),t=!1)};o({matches:this.query.matches}),this.query.addEventListener("change",o),this.listenerCache.set(e,o)}unbind(e){const t=this.listenerCache.get(e);t&&(this.query.removeEventListener("change",t),this.listenerCache.delete(e)),e.$fastController.removeStyles(this.styles)}}class vn extends n.FoundationElement{constructor(){super(...arguments),this.behaviors=[]}connectedCallback(){super.connectedCallback(),this.behaviors=Object.keys(rn).map((e=>{if(this[`col-${e}-count`]||this[`row-${e}-count`])return new mn(rn[e],this[`col-${e}-count`],this[`row-${e}-count`],this[`col-${e}-width`],this[`row-${e}-height`])})).filter((e=>!!e));const e=this["row-count"]&&l.cssPartial`grid-template-rows: repeat(${this["row-count"]}, ${this["row-height"]||"1fr"});`,t=this["col-count"]&&l.cssPartial`grid-template-columns: repeat(${this["col-count"]}, ${this["col-width"]||"1fr"});`;this.baseStyles=l.css`
1543
+ `}bind(e){let t=!1;const o=o=>{const{matches:i}=o;i&&!t?(e.$fastController.addStyles(this.styles),t=!0):!i&&t&&(e.$fastController.removeStyles(this.styles),t=!1)};o({matches:this.query.matches}),this.query.addEventListener("change",o),this.listenerCache.set(e,o)}unbind(e){const t=this.listenerCache.get(e);t&&(this.query.removeEventListener("change",t),this.listenerCache.delete(e)),e.$fastController.removeStyles(this.styles)}}class xn extends n.FoundationElement{constructor(){super(...arguments),this.behaviors=[]}connectedCallback(){super.connectedCallback(),this.behaviors=Object.keys(mn).map((e=>{if(this[`col-${e}-count`]||this[`row-${e}-count`])return new wn(mn[e],this[`col-${e}-count`],this[`row-${e}-count`],this[`col-${e}-width`],this[`row-${e}-height`])})).filter((e=>!!e));const e=this["row-count"]&&l.cssPartial`grid-template-rows: repeat(${this["row-count"]}, ${this["row-height"]||"1fr"});`,t=this["col-count"]&&l.cssPartial`grid-template-columns: repeat(${this["col-count"]}, ${this["col-width"]||"1fr"});`;this.baseStyles=l.css`
1544
1544
  slot {
1545
1545
  ${e||""}
1546
1546
  ${t||""}
1547
1547
  }
1548
- `,this.$fastController.addStyles(this.baseStyles),this.$fastController.addBehaviors(this.behaviors)}disconnectedCallback(){super.disconnectedCallback(),this.$fastController.removeBehaviors(this.behaviors),this.$fastController.removeStyles(this.baseStyles)}}(0,w.__decorate)([l.attr],vn.prototype,"col-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-width",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-lg-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-lg-width",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-md-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-md-width",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-sm-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"col-sm-width",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-height",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-lg-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-lg-height",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-md-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-md-height",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-sm-count",void 0),(0,w.__decorate)([l.attr],vn.prototype,"row-sm-height",void 0);const gn=vn.compose(Object.assign({baseName:"grid-layout",styles:cn,template:un,shadowOptions:pn},hn)),fn=l.html`
1548
+ `,this.$fastController.addStyles(this.baseStyles),this.$fastController.addBehaviors(this.behaviors)}disconnectedCallback(){super.disconnectedCallback(),this.$fastController.removeBehaviors(this.behaviors),this.$fastController.removeStyles(this.baseStyles)}}(0,w.__decorate)([l.attr],xn.prototype,"col-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-width",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-lg-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-lg-width",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-md-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-md-width",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-sm-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"col-sm-width",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-height",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-lg-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-lg-height",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-md-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-md-height",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-sm-count",void 0),(0,w.__decorate)([l.attr],xn.prototype,"row-sm-height",void 0);const $n=xn.compose(Object.assign({baseName:"grid-layout",styles:gn,template:fn,shadowOptions:bn},yn)),Sn=l.html`
1549
1549
  <template>
1550
1550
  <style>
1551
1551
  :host {
@@ -1574,9 +1574,9 @@
1574
1574
  </style>
1575
1575
  <slot></slot>
1576
1576
  </template>
1577
- `,bn=void 0,yn={};class wn extends n.FoundationElement{setGridItemProperties(e,t,o,i){if(t&&e&&o&&i){return`grid-row: ${0===t||0===i?"auto":`${t} / ${Number(t)+Number(i)}`}; grid-column: ${0===e||0===o?"auto":`${e} / ${Number(e)+Number(o)}`}`}}}(0,w.__decorate)([(0,l.attr)({attribute:"col-number"})],wn.prototype,"colNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-sm-number"})],wn.prototype,"colSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-md-number"})],wn.prototype,"colMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-lg-number"})],wn.prototype,"colLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-number"})],wn.prototype,"rowNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-sm-number"})],wn.prototype,"rowSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-md-number"})],wn.prototype,"rowMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-lg-number"})],wn.prototype,"rowLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width"})],wn.prototype,"width",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-sm"})],wn.prototype,"widthSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-md"})],wn.prototype,"widthMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-lg"})],wn.prototype,"widthLg",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height"})],wn.prototype,"height",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-sm"})],wn.prototype,"heightSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-md"})],wn.prototype,"heightMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-lg"})],wn.prototype,"heightLg",void 0);const xn=wn.compose(Object.assign({baseName:"grid-layout-item",template:fn,shadowOptions:bn},yn)),$n=(e,t)=>l.css`
1577
+ `,Fn=void 0,_n={};class Cn extends n.FoundationElement{setGridItemProperties(e,t,o,i){if(t&&e&&o&&i){return`grid-row: ${0===t||0===i?"auto":`${t} / ${Number(t)+Number(i)}`}; grid-column: ${0===e||0===o?"auto":`${e} / ${Number(e)+Number(o)}`}`}}}(0,w.__decorate)([(0,l.attr)({attribute:"col-number"})],Cn.prototype,"colNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-sm-number"})],Cn.prototype,"colSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-md-number"})],Cn.prototype,"colMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-lg-number"})],Cn.prototype,"colLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-number"})],Cn.prototype,"rowNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-sm-number"})],Cn.prototype,"rowSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-md-number"})],Cn.prototype,"rowMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-lg-number"})],Cn.prototype,"rowLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width"})],Cn.prototype,"width",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-sm"})],Cn.prototype,"widthSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-md"})],Cn.prototype,"widthMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-lg"})],Cn.prototype,"widthLg",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height"})],Cn.prototype,"height",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-sm"})],Cn.prototype,"heightSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-md"})],Cn.prototype,"heightMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-lg"})],Cn.prototype,"heightLg",void 0);const Dn=Cn.compose(Object.assign({baseName:"grid-layout-item",template:Sn,shadowOptions:Fn},_n)),On=(e,t)=>l.css`
1578
1578
  ${(0,s.horizontalScrollStyles)(e,t)}
1579
- `,Sn=(e,t)=>(0,n.horizontalScrollTemplate)(e,t);class Fn extends s.HorizontalScroll{}const _n={delegatesFocus:!0,mode:"open"},Cn={nextFlipper:l.html`
1579
+ `,kn=(e,t)=>(0,n.horizontalScrollTemplate)(e,t);class Tn extends s.HorizontalScroll{}const An={delegatesFocus:!0,mode:"open"},Ln={nextFlipper:l.html`
1580
1580
  <fast-flipper
1581
1581
  @click="${e=>e.scrollToNext()}"
1582
1582
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -1587,9 +1587,9 @@
1587
1587
  direction="previous"
1588
1588
  aria-hidden="${e=>e.flippersHiddenFromAT}"
1589
1589
  ></fast-flipper>
1590
- `},Dn=Fn.compose(Object.assign({baseName:"horizontal-scroll",template:Sn,styles:$n,shadowOptions:_n},Cn));var On=o(38938),kn=o(79840),Tn=o(64739),An=o(75030);const Ln=()=>(On.vI.add(An.mRB,Tn.NCV,kn.vnX),On.vz.css()),En=(e,t)=>l.css`
1591
- ${Ln()}
1592
- `,Rn=l.html`
1590
+ `},En=Tn.compose(Object.assign({baseName:"horizontal-scroll",template:kn,styles:On,shadowOptions:An},Ln));var Rn=o(38938),In=o(79840),Nn=o(64739),Mn=o(75030);const Pn=()=>(Rn.vI.add(Mn.mRB,Nn.NCV,In.vnX),Rn.vz.css()),Hn=(e,t)=>l.css`
1591
+ ${Pn()}
1592
+ `,jn=l.html`
1593
1593
  <template>
1594
1594
  <i
1595
1595
  ${(0,l.ref)("iElement")}
@@ -1599,7 +1599,7 @@
1599
1599
  <slot></slot>
1600
1600
  </i>
1601
1601
  </template>
1602
- `,In={mode:"open",delegatesFocus:!0},Nn={};var Mn;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(Mn||(Mn={}));class Pn extends n.FoundationElement{constructor(){super(...arguments),this.size="sm",this.variant="solid"}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){super.connectedCallback(),this.loadIcon()}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren()}loadIcon(){if(!this.iElement)return;const e=(0,On.N)({prefix:Mn[this.variant],iconName:this.name}),t=(0,On.qv)(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map((e=>this.iElement.appendChild(e))))}}(0,w.__decorate)([l.observable],Pn.prototype,"iElement",void 0),(0,w.__decorate)([l.attr],Pn.prototype,"name",void 0),(0,w.__decorate)([l.attr],Pn.prototype,"size",void 0),(0,w.__decorate)([l.attr],Pn.prototype,"variant",void 0);const Hn=Pn.compose(Object.assign({baseName:"icon",template:Rn,styles:En,shadowOptions:In},Nn)),jn=(e,t)=>l.css`
1602
+ `,Bn={mode:"open",delegatesFocus:!0},Vn={};var zn;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(zn||(zn={}));class Gn extends n.FoundationElement{constructor(){super(...arguments),this.size="sm",this.variant="solid"}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){super.connectedCallback(),this.loadIcon()}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren()}loadIcon(){if(!this.iElement)return;const e=(0,Rn.N)({prefix:zn[this.variant],iconName:this.name}),t=(0,Rn.qv)(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map((e=>this.iElement.appendChild(e))))}}(0,w.__decorate)([l.observable],Gn.prototype,"iElement",void 0),(0,w.__decorate)([l.attr],Gn.prototype,"name",void 0),(0,w.__decorate)([l.attr],Gn.prototype,"size",void 0),(0,w.__decorate)([l.attr],Gn.prototype,"variant",void 0);const Un=Gn.compose(Object.assign({baseName:"icon",template:jn,styles:Hn,shadowOptions:Bn},Vn)),Yn=(e,t)=>l.css`
1603
1603
  ${(0,s.listboxStyles)(e,t)}
1604
1604
 
1605
1605
  :host {
@@ -1610,11 +1610,11 @@
1610
1610
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
1611
1611
  border-radius: calc(var(--control-corner-radius) * 1px);
1612
1612
  }
1613
- `,Bn=(e,t)=>(0,n.listboxTemplate)(e,t);class Vn extends s.Listbox{}const zn=void 0,Gn={},Un=Vn.compose(Object.assign({baseName:"listbox",template:Bn,styles:jn,shadowOptions:zn},Gn)),Yn=(e,t)=>l.css`
1613
+ `,Wn=(e,t)=>(0,n.listboxTemplate)(e,t);class qn extends s.Listbox{}const Xn=void 0,Kn={},Zn=qn.compose(Object.assign({baseName:"listbox",template:Wn,styles:Yn,shadowOptions:Xn},Kn)),Qn=(e,t)=>l.css`
1614
1614
  ${(0,s.optionStyles)(e,t)}
1615
- `,Wn=(e,t)=>(0,n.listboxOptionTemplate)(e,t);class qn extends s.ListboxOption{}const Xn=void 0,Kn={},Zn=qn.compose(Object.assign({baseName:"option",template:Wn,styles:Yn,shadowOptions:Xn},Kn)),Qn=(e,t)=>l.css`
1615
+ `,Jn=(e,t)=>(0,n.listboxOptionTemplate)(e,t);class es extends s.ListboxOption{}const ts=void 0,os={},is=es.compose(Object.assign({baseName:"option",template:Jn,styles:Qn,shadowOptions:ts},os)),as=(e,t)=>l.css`
1616
1616
  ${(0,s.menuStyles)(e,t)}
1617
- `,Jn=(e,t)=>(0,n.menuTemplate)(e,t);class es extends s.Menu{}const ts=void 0,os={},is=es.compose(Object.assign({baseName:"menu",template:Jn,styles:Qn,shadowOptions:ts},os)),as=(e,t)=>l.css`
1617
+ `,ns=(e,t)=>(0,n.menuTemplate)(e,t);class ss extends s.Menu{}const ls=void 0,rs={},ds=ss.compose(Object.assign({baseName:"menu",template:ns,styles:as,shadowOptions:ls},rs)),cs=(e,t)=>l.css`
1618
1618
  ${(0,s.menuItemStyles)(e,t)}
1619
1619
 
1620
1620
  :host, :host(.indent-0[aria-haspopup='menu']) {
@@ -1628,11 +1628,11 @@
1628
1628
  height: auto;
1629
1629
  width: auto;
1630
1630
  }
1631
- `,ns=(e,t)=>(0,n.menuItemTemplate)(e,t);class ss extends s.MenuItem{connectedCallback(){super.connectedCallback(),this.addEventListener("click",(()=>this.$emit("onMenuClick")))}}const ls=void 0,rs={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '},ds=ss.compose(Object.assign({baseName:"menu-item",template:ns,styles:as,shadowOptions:ls},rs)),cs=l.css`
1631
+ `,us=(e,t)=>(0,n.menuItemTemplate)(e,t);class ps extends s.MenuItem{connectedCallback(){super.connectedCallback(),this.addEventListener("click",(()=>this.$emit("onMenuClick")))}}const hs=void 0,ms={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '},vs=ps.compose(Object.assign({baseName:"menu-item",template:us,styles:cs,shadowOptions:hs},ms)),gs=l.css`
1632
1632
  ${ii}
1633
- `,us=l.html`
1633
+ `,fs=l.html`
1634
1634
  ${si}
1635
- `,ps={mode:"open",delegatesFocus:!0},hs={};class ms extends di{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.showModal()}}const vs=ms.compose(Object.assign({baseName:"modal",styles:cs,template:us,shadowOptions:ps},hs));var gs;!function(e){e.BELOW="below",e.ABOVE="above",e.DYNAMIC="dynamic"}(gs||(gs={}));const fs=230,bs=l.css`
1635
+ `,bs={mode:"open",delegatesFocus:!0},ys={};class ws extends di{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.showModal()}}const xs=ws.compose(Object.assign({baseName:"modal",styles:gs,template:fs,shadowOptions:bs},ys));var $s;!function(e){e.BELOW="below",e.ABOVE="above",e.DYNAMIC="dynamic"}($s||($s={}));const Ss=230,Fs=l.css`
1636
1636
  .root {
1637
1637
  position: relative;
1638
1638
  width: inherit;
@@ -1759,7 +1759,7 @@
1759
1759
 
1760
1760
  .visible {
1761
1761
  visibility: visible;
1762
- max-height: ${fs.toString()}px;
1762
+ max-height: ${Ss.toString()}px;
1763
1763
  }
1764
1764
 
1765
1765
  ::slotted(foundation-checkbox),
@@ -1794,7 +1794,7 @@
1794
1794
  .label-hidden {
1795
1795
  display: none;
1796
1796
  }
1797
- `;let ys=class extends ot{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.labelField?null===(t=this.valueField)||void 0===t?void 0:t.concat(" ",this.labelField):this.valueField,this.select=this.parentElement,this.select&&this.valueField&&(this.resourceName&&this.connect.isConnected||this.data)&&this.fetchGenesisData(),this.valueField||ae.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label which is supported only in select and combobox (e.g label-field="NAME")')}))}clearData(){this.select.options=[]}syncComponentData(e){var t;const o=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField],label:e[this.labelField]})));(null===(t=this.select)||void 0===t?void 0:t.async)&&(this.select.loading=!1),this.select.options=o}handleStreamInserts(e){ae.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ae.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ae.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],ys.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],ys.prototype,"labelField",void 0),ys=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],ys);const ws=(e="foundation")=>l.html`
1797
+ `;let _s=class extends ot{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.labelField?null===(t=this.valueField)||void 0===t?void 0:t.concat(" ",this.labelField):this.valueField,this.select=this.parentElement,this.select&&this.valueField&&(this.resourceName&&this.connect.isConnected||this.data)&&this.fetchGenesisData(),this.valueField||ae.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label which is supported only in select and combobox (e.g label-field="NAME")')}))}clearData(){this.select.options=[]}syncComponentData(e){var t;const o=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField],label:e[this.labelField]})));(null===(t=this.select)||void 0===t?void 0:t.async)&&(this.select.loading=!1),this.select.options=o}handleStreamInserts(e){ae.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ae.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ae.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],_s.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],_s.prototype,"labelField",void 0),_s=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],_s);const Cs=(e="foundation")=>l.html`
1798
1798
  <label
1799
1799
  part="label"
1800
1800
  for="control"
@@ -1835,7 +1835,7 @@
1835
1835
  <${e}-text-field
1836
1836
  id="filter-search"
1837
1837
  part="filter-search"
1838
- value=${(0,wa.Z)((e=>e.filterSearchValue),"string","input")}
1838
+ value=${(0,Ca.Z)((e=>e.filterSearchValue),"string","input")}
1839
1839
  placeholder="${e=>e.getPlaceholder}"
1840
1840
  @input=${(e,t)=>e.inputHandler()}
1841
1841
  @change=${(e,t)=>e.changeHandler(t.event)}
@@ -1869,11 +1869,11 @@
1869
1869
  </div>
1870
1870
  </div>
1871
1871
  <slot
1872
- ${(0,l.slotted)({property:"slottedDatasource",filter:e=>e instanceof ys})}
1872
+ ${(0,l.slotted)({property:"slottedDatasource",filter:e=>e instanceof _s})}
1873
1873
  ></slot>
1874
- `,xs=l.html`
1875
- ${ws()}
1876
- `,$s=void 0,Ss={};class Fs extends n.FoundationElement{constructor(){super(...arguments),this.name="",this.all=!0,this.allSelected=!1,this.search=!0,this.disabled=!1,this.async=!1,this.debounce=500,this.clickOutside=e=>this.handleClickOutside(e),this.open=!1,this.options=[],this.selectedOptions=[],this.filteredAvailableOptions=[...this.options],this.position=gs.BELOW,this.initialisedOptions=!1}debounceChanged(e,t){this.debouncedInputHandler=Xe()(this.asyncSetFilter,t)}openChanged(e,t){var o,i,a,n;t?(document.addEventListener("mousedown",this.clickOutside),null===(o=this.arrowIcon)||void 0===o||o.classList.add("flipped"),null===(i=this.optionsElement)||void 0===i||i.classList.add("visible")):(document.removeEventListener("mousedown",this.clickOutside),null===(a=this.arrowIcon)||void 0===a||a.classList.remove("flipped"),null===(n=this.optionsElement)||void 0===n||n.classList.remove("visible"))}connectedCallback(){var e;super.connectedCallback(),this.position===gs.ABOVE&&(null===(e=this.optionsElement)||void 0===e||e.classList.add("position-above"))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}optionsChanged(){this.allSelected&&!this.initialisedOptions&&(this.selectedOptions=this.options.map((e=>this.optionGetter(e)))),this.filteredAvailableOptions=[...this.options]}selectedOptionsChanged(){this.$fastController.isConnected&&(this.initialisedOptions=!0)}toggle(){this.open||this.position!==gs.DYNAMIC||this.setDropdownPosition(),this.open=!this.open}setDropdownPosition(){var e,t;(this.scrollContainer||this.parentElement).clientHeight-(this.offsetTop-(this.scrollContainer||this.parentElement).scrollTop)<fs+this.offsetHeight?null===(e=this.optionsElement)||void 0===e||e.classList.add("position-above"):null===(t=this.optionsElement)||void 0===t||t.classList.remove("position-above")}optionGetter(e){return"string"!=typeof e?e.value:e}getItemLabel(e){let t;return e?(t="string"==typeof e?e:e.label||e.value||"",this.valueFormatter?this.valueFormatter(t):t):""}isOptionDisabled(e){return e&&"string"!=typeof e&&e.disabled||!1}get getDisplayValue(){let e="";switch(this.selectedOptions.length){case 0:e=this.getPlaceholder;break;case 1:{const t=this.options.find((e=>this.optionGetter(e)===this.selectedOptions[0]));e=this.getItemLabel(t);break}case this.options.length:e=`All ${this.name}`.trim();break;default:e=`${this.selectedOptions.length} Selected`}return e}get getPlaceholder(){return`Search ${this.name}`.trim().concat("...")}get isAllSelected(){return!this.isAllOptionsDisabled&&this.selectedOptions.length===this.getEnabledOptionsCount()}get isAllOptionsDisabled(){return this.options.length===this.options.filter(this.isOptionDisabled).length}isOptionSelected(e){return this.selectedOptions.includes(this.optionGetter(e))}selectCheckboxOne(e){const t=this.optionGetter(e);this.selectedOptions.includes(t)?(this.selectedOptions=[...this.selectedOptions],this.selectedOptions.splice(this.selectedOptions.indexOf(t),1)):this.selectedOptions=[...this.selectedOptions,t],this.$emit("selectionChange",this.selectedOptions)}getEnabledOptionsCount(){return this.options.length-this.options.filter(this.isOptionDisabled).length}selectCheckboxAll(){const e=this.selectedOptions.length===this.getEnabledOptionsCount();this.selectedOptions=e?[]:this.options.filter((e=>!this.isOptionDisabled(e))).map((e=>this.optionGetter(e))),this.onAllSelectedCallback&&this.onAllSelectedCallback(!e),this.$emit("selectionChange",this.selectedOptions)}inputHandler(){this.async?(this.loading=!0,this.filteredAvailableOptions=[],this.debouncedInputHandler()):this.setFilter()}setFilter(){this.filteredAvailableOptions=[...this.options.filter((e=>{var t;return("string"==typeof e?e:null!==(t=e.label)&&void 0!==t?t:e.value).toLowerCase().startsWith(this.filterSearchValue.toLowerCase())}))]}asyncSetFilter(){if(this.slottedDatasource.length>0){const e=this.slottedDatasource[0].datasource.resourceType;e===We._g.DATASERVER&&ht(this.slottedDatasource[0],this.filterSearchValue),e===We._g.REQUEST_SERVER&&mt(this.slottedDatasource[0],this.filterSearchValue)}else this.loading=!1,ae.warn("Multiselect-datasource is not connected. Please add a datasource to use this functionality.")}changeHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleClickOutside(e){F(e,this)&&(this.open=!1)}}(0,w.__decorate)([l.attr],Fs.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Fs.prototype,"all",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Fs.prototype,"allSelected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Fs.prototype,"search",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Fs.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Fs.prototype,"async",void 0),(0,w.__decorate)([l.attr],Fs.prototype,"debounce",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"defaultSlottedNodes",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"slottedDatasource",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"valueFormatter",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"loading",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"filterSearchValue",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"open",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"options",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"selectedOptions",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"filteredAvailableOptions",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"scrollContainer",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"position",void 0),(0,w.__decorate)([l.observable],Fs.prototype,"onAllSelectedCallback",void 0),(0,w.__decorate)([l.volatile],Fs.prototype,"getDisplayValue",null),(0,w.__decorate)([l.volatile],Fs.prototype,"getPlaceholder",null),(0,w.__decorate)([l.volatile],Fs.prototype,"isAllSelected",null),(0,w.__decorate)([l.volatile],Fs.prototype,"isAllOptionsDisabled",null);const _s=Fs.compose(Object.assign({baseName:"multiselect",template:xs,styles:bs,shadowOptions:$s},Ss));class Cs{constructor(e){const t=new Intl.NumberFormat(e).formatToParts(12345.6),o=[...new Intl.NumberFormat(e,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(o.map(((e,t)=>[e,t])));this._group=new RegExp(`[${t.find((e=>"group"===e.type)).value}]`,"g"),this._decimal=new RegExp(`[${t.find((e=>"decimal"===e.type)).value}]`),this._separator=new RegExp(`[$${t.find((e=>"decimal"===e.type)).value}](?:0*$|[^0]0+$)`),this._numeral=new RegExp(`[${o.join("")}]`,"g"),this._index=e=>i.get(e)}parse(e){return(e=e.trim().replace(this._group,"").replace(this._decimal,".").replace(this._numeral,this._index))?+e:NaN}hasSeparator(e){return this._separator.test(e)}}const Ds=(e,t)=>l.css`
1874
+ `,Ds=l.html`
1875
+ ${Cs()}
1876
+ `,Os=void 0,ks={};class Ts extends n.FoundationElement{constructor(){super(...arguments),this.name="",this.all=!0,this.allSelected=!1,this.search=!0,this.disabled=!1,this.async=!1,this.debounce=500,this.clickOutside=e=>this.handleClickOutside(e),this.open=!1,this.options=[],this.selectedOptions=[],this.filteredAvailableOptions=[...this.options],this.position=$s.BELOW,this.initialisedOptions=!1}debounceChanged(e,t){this.debouncedInputHandler=Xe()(this.asyncSetFilter,t)}openChanged(e,t){var o,i,a,n;t?(document.addEventListener("mousedown",this.clickOutside),null===(o=this.arrowIcon)||void 0===o||o.classList.add("flipped"),null===(i=this.optionsElement)||void 0===i||i.classList.add("visible")):(document.removeEventListener("mousedown",this.clickOutside),null===(a=this.arrowIcon)||void 0===a||a.classList.remove("flipped"),null===(n=this.optionsElement)||void 0===n||n.classList.remove("visible"))}connectedCallback(){var e;super.connectedCallback(),this.position===$s.ABOVE&&(null===(e=this.optionsElement)||void 0===e||e.classList.add("position-above"))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}optionsChanged(){this.allSelected&&!this.initialisedOptions&&(this.selectedOptions=this.options.map((e=>this.optionGetter(e)))),this.filteredAvailableOptions=[...this.options]}selectedOptionsChanged(){this.$fastController.isConnected&&(this.initialisedOptions=!0)}toggle(){this.open||this.position!==$s.DYNAMIC||this.setDropdownPosition(),this.open=!this.open}setDropdownPosition(){var e,t;(this.scrollContainer||this.parentElement).clientHeight-(this.offsetTop-(this.scrollContainer||this.parentElement).scrollTop)<Ss+this.offsetHeight?null===(e=this.optionsElement)||void 0===e||e.classList.add("position-above"):null===(t=this.optionsElement)||void 0===t||t.classList.remove("position-above")}optionGetter(e){return"string"!=typeof e?e.value:e}getItemLabel(e){let t;return e?(t="string"==typeof e?e:e.label||e.value||"",this.valueFormatter?this.valueFormatter(t):t):""}isOptionDisabled(e){return e&&"string"!=typeof e&&e.disabled||!1}get getDisplayValue(){let e="";switch(this.selectedOptions.length){case 0:e=this.getPlaceholder;break;case 1:{const t=this.options.find((e=>this.optionGetter(e)===this.selectedOptions[0]));e=this.getItemLabel(t);break}case this.options.length:e=`All ${this.name}`.trim();break;default:e=`${this.selectedOptions.length} Selected`}return e}get getPlaceholder(){return`Search ${this.name}`.trim().concat("...")}get isAllSelected(){return!this.isAllOptionsDisabled&&this.selectedOptions.length===this.getEnabledOptionsCount()}get isAllOptionsDisabled(){return this.options.length===this.options.filter(this.isOptionDisabled).length}isOptionSelected(e){return this.selectedOptions.includes(this.optionGetter(e))}selectCheckboxOne(e){const t=this.optionGetter(e);this.selectedOptions.includes(t)?(this.selectedOptions=[...this.selectedOptions],this.selectedOptions.splice(this.selectedOptions.indexOf(t),1)):this.selectedOptions=[...this.selectedOptions,t],this.$emit("selectionChange",this.selectedOptions)}getEnabledOptionsCount(){return this.options.length-this.options.filter(this.isOptionDisabled).length}selectCheckboxAll(){const e=this.selectedOptions.length===this.getEnabledOptionsCount();this.selectedOptions=e?[]:this.options.filter((e=>!this.isOptionDisabled(e))).map((e=>this.optionGetter(e))),this.onAllSelectedCallback&&this.onAllSelectedCallback(!e),this.$emit("selectionChange",this.selectedOptions)}inputHandler(){this.async?(this.loading=!0,this.filteredAvailableOptions=[],this.debouncedInputHandler()):this.setFilter()}setFilter(){this.filteredAvailableOptions=[...this.options.filter((e=>{var t;return("string"==typeof e?e:null!==(t=e.label)&&void 0!==t?t:e.value).toLowerCase().startsWith(this.filterSearchValue.toLowerCase())}))]}asyncSetFilter(){if(this.slottedDatasource.length>0){const e=this.slottedDatasource[0].datasource.resourceType;e===We._g.DATASERVER&&ht(this.slottedDatasource[0],this.filterSearchValue),e===We._g.REQUEST_SERVER&&mt(this.slottedDatasource[0],this.filterSearchValue)}else this.loading=!1,ae.warn("Multiselect-datasource is not connected. Please add a datasource to use this functionality.")}changeHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleClickOutside(e){F(e,this)&&(this.open=!1)}}(0,w.__decorate)([l.attr],Ts.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ts.prototype,"all",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ts.prototype,"allSelected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ts.prototype,"search",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ts.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ts.prototype,"async",void 0),(0,w.__decorate)([l.attr],Ts.prototype,"debounce",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"defaultSlottedNodes",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"slottedDatasource",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"valueFormatter",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"loading",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"filterSearchValue",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"open",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"options",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"selectedOptions",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"filteredAvailableOptions",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"scrollContainer",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"position",void 0),(0,w.__decorate)([l.observable],Ts.prototype,"onAllSelectedCallback",void 0),(0,w.__decorate)([l.volatile],Ts.prototype,"getDisplayValue",null),(0,w.__decorate)([l.volatile],Ts.prototype,"getPlaceholder",null),(0,w.__decorate)([l.volatile],Ts.prototype,"isAllSelected",null),(0,w.__decorate)([l.volatile],Ts.prototype,"isAllOptionsDisabled",null);const As=Ts.compose(Object.assign({baseName:"multiselect",template:Ds,styles:Fs,shadowOptions:Os},ks));class Ls{constructor(e){const t=new Intl.NumberFormat(e).formatToParts(12345.6),o=[...new Intl.NumberFormat(e,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(o.map(((e,t)=>[e,t])));this._group=new RegExp(`[${t.find((e=>"group"===e.type)).value}]`,"g"),this._decimal=new RegExp(`[${t.find((e=>"decimal"===e.type)).value}]`),this._separator=new RegExp(`[$${t.find((e=>"decimal"===e.type)).value}](?:0*$|[^0]0+$)`),this._numeral=new RegExp(`[${o.join("")}]`,"g"),this._index=e=>i.get(e)}parse(e){return(e=e.trim().replace(this._group,"").replace(this._decimal,".").replace(this._numeral,this._index))?+e:NaN}hasSeparator(e){return this._separator.test(e)}}const Es=(e,t)=>l.css`
1877
1877
  ${(0,s.numberFieldStyles)(e,t)}
1878
1878
  ::part(label) {
1879
1879
  color: var(--neutral-foreground-rest);
@@ -1903,7 +1903,7 @@
1903
1903
  ::part(end) {
1904
1904
  margin-inline-end: unset;
1905
1905
  }
1906
- `,Os=(e,t)=>l.html`
1906
+ `,Rs=(e,t)=>l.html`
1907
1907
  <template class="${e=>e.readOnly?"readonly":""}">
1908
1908
  <label
1909
1909
  part="label"
@@ -1972,7 +1972,7 @@
1972
1972
  ${(0,n.endSlotTemplate)(e,t)}
1973
1973
  </div>
1974
1974
  </template>
1975
- `;class ks extends s.NumberField{constructor(){super(...arguments),this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}sanitiseInputVal(e){return String(new Cs(this.locale).parse(String(e)))}toIntlNumberFormat(e){return Intl.NumberFormat(this.locale,this.options).format(Number(e))}validateValue(e,t=!0){let o=parseFloat(parseFloat(t?this.sanitiseInputVal(e):e).toPrecision(12));return isNaN(o)&&(o=""),String(o)}validateMinMax(e,t=!0){var o,i;let a=parseFloat(this.validateValue(e,t));return isNaN(a)?a="":(a=Math.min(a,null!==(o=this.max)&&void 0!==o?o:a),a=Math.max(a,null!==(i=this.min)&&void 0!==i?i:a)),String(a)}stepUp(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:e+this.step;this.value=t.toString(),this.control.value=this.validateMinMax(t.toString(),this.withFormatting),this.handleTextInput()}stepDown(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:e-this.step;this.value=t.toString(),this.control.value=this.validateMinMax(t.toString(),this.withFormatting),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}handleTextInput(){this.isUserInput=!0,this.withFormatting&&!new Cs(this.locale).hasSeparator(this.control.value)?l.DOM.queueUpdate((()=>{const e=this.validateValue(this.control.value);this.control.value=this.toIntlNumberFormat(e),this.value=e,this.$emit("input")})):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||l.DOM.queueUpdate((()=>{this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.value=this.control.value,this.$emit("input")}))}valueChanged(e,t){if(null==t&&this.control)this.control.value="";else if(null!=t&&t!==e){if(!this.isUserInput)return this.value=this.withFormatting?this.validateMinMax(this.value):this.validateMinMax(this.value,!1),void l.DOM.queueUpdate((()=>{this.control.value=this.withFormatting&&this.value?this.toIntlNumberFormat(this.value):this.value}));const e=t;l.DOM.queueUpdate((()=>{var o;""!==(null===(o=this.control)||void 0===o?void 0:o.value)?""!==this.value?(this.control.value=this.withFormatting?this.toIntlNumberFormat(e):e,this.value=this.withFormatting?this.sanitiseInputVal(this.control.value):this.control.value):this.control.value=t:this.control.value=this.withFormatting?this.toIntlNumberFormat(e):e}))}}handleBlur(){this.isUserInput=!1,this.value=this.validateMinMax(this.control.value,this.withFormatting),this.control.value=this.withFormatting&&this.value?this.toIntlNumberFormat(this.value):this.value,this.$emit("input")}}(0,w.__decorate)([l.attr],ks.prototype,"autocomplete",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ks.prototype,"hideStep",void 0),(0,w.__decorate)([l.attr],ks.prototype,"value",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ks.prototype,"withFormatting",void 0),(0,w.__decorate)([l.attr],ks.prototype,"locale",void 0);const Ts={delegatesFocus:!0,mode:"open"},As={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '},Ls=ks.compose(Object.assign({baseName:"number-field",template:Os,styles:Ds,shadowOptions:Ts},As));var Es=o(86975);const Rs={toView:e=>JSON.stringify(e),fromView:e=>null==e?e:JSON.parse(e)};class Is extends n.FoundationElement{constructor(){super(...arguments),this.show=!1,this.event="click",this.placement="bottom",this.flip=!1}selectorChanged(e,t){t!==e&&(this.popper&&this.popper.destroy(),this.target&&this.target.removeEventListener(this.event,this.toggle.bind(this)),this.target=this.getRootNode().querySelector(this.selector),this.target.addEventListener(this.event,this.toggle.bind(this)),this.popper=(0,Es.fi)(this.target,this,this.buildOptions()))}placementChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}offsetChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}flipChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}buildOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset||[0,0]}},{name:"flip",enabled:this.flip}]}}toggle(){this.show=!this.show}disconnectedCallback(){super.disconnectedCallback(),this.popper&&(this.popper.destroy(),this.popper=null)}}(0,w.__decorate)([l.attr],Is.prototype,"selector",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Is.prototype,"show",void 0),(0,w.__decorate)([l.attr],Is.prototype,"event",void 0),(0,w.__decorate)([l.attr],Is.prototype,"placement",void 0),(0,w.__decorate)([(0,l.attr)({converter:Rs})],Is.prototype,"offset",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Is.prototype,"flip",void 0);const Ns=l.css`
1975
+ `;class Is extends s.NumberField{constructor(){super(...arguments),this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}sanitiseInputVal(e){return String(new Ls(this.locale).parse(String(e)))}toIntlNumberFormat(e){return Intl.NumberFormat(this.locale,this.options).format(Number(e))}validateValue(e,t=!0){let o=parseFloat(parseFloat(t?this.sanitiseInputVal(e):e).toPrecision(12));return isNaN(o)&&(o=""),String(o)}validateMinMax(e,t=!0){var o,i;let a=parseFloat(this.validateValue(e,t));return isNaN(a)?a="":(a=Math.min(a,null!==(o=this.max)&&void 0!==o?o:a),a=Math.max(a,null!==(i=this.min)&&void 0!==i?i:a)),String(a)}stepUp(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:e+this.step;this.value=t.toString(),this.control.value=this.validateMinMax(t.toString(),this.withFormatting),this.handleTextInput()}stepDown(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:e-this.step;this.value=t.toString(),this.control.value=this.validateMinMax(t.toString(),this.withFormatting),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}handleTextInput(){this.isUserInput=!0,this.withFormatting&&!new Ls(this.locale).hasSeparator(this.control.value)?l.DOM.queueUpdate((()=>{const e=this.validateValue(this.control.value);this.control.value=this.toIntlNumberFormat(e),this.value=e,this.$emit("input")})):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||l.DOM.queueUpdate((()=>{this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.value=this.control.value,this.$emit("input")}))}valueChanged(e,t){if(null==t&&this.control)this.control.value="";else if(null!=t&&t!==e){if(!this.isUserInput)return this.value=this.withFormatting?this.validateMinMax(this.value):this.validateMinMax(this.value,!1),void l.DOM.queueUpdate((()=>{this.control.value=this.withFormatting&&this.value?this.toIntlNumberFormat(this.value):this.value}));const e=t;l.DOM.queueUpdate((()=>{var o;""!==(null===(o=this.control)||void 0===o?void 0:o.value)?""!==this.value?(this.control.value=this.withFormatting?this.toIntlNumberFormat(e):e,this.value=this.withFormatting?this.sanitiseInputVal(this.control.value):this.control.value):this.control.value=t:this.control.value=this.withFormatting?this.toIntlNumberFormat(e):e}))}}handleBlur(){this.isUserInput=!1,this.value=this.validateMinMax(this.control.value,this.withFormatting),this.control.value=this.withFormatting&&this.value?this.toIntlNumberFormat(this.value):this.value,this.$emit("input")}}(0,w.__decorate)([l.attr],Is.prototype,"autocomplete",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Is.prototype,"hideStep",void 0),(0,w.__decorate)([l.attr],Is.prototype,"value",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Is.prototype,"withFormatting",void 0),(0,w.__decorate)([l.attr],Is.prototype,"locale",void 0);const Ns={delegatesFocus:!0,mode:"open"},Ms={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '},Ps=Is.compose(Object.assign({baseName:"number-field",template:Rs,styles:Es,shadowOptions:Ns},Ms));var Hs=o(86975);const js={toView:e=>JSON.stringify(e),fromView:e=>null==e?e:JSON.parse(e)};class Bs extends n.FoundationElement{constructor(){super(...arguments),this.show=!1,this.event="click",this.placement="bottom",this.flip=!1}selectorChanged(e,t){t!==e&&(this.popper&&this.popper.destroy(),this.target&&this.target.removeEventListener(this.event,this.toggle.bind(this)),this.target=this.getRootNode().querySelector(this.selector),this.target.addEventListener(this.event,this.toggle.bind(this)),this.popper=(0,Hs.fi)(this.target,this,this.buildOptions()))}placementChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}offsetChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}flipChanged(){this.popper&&this.popper.setOptions(this.buildOptions())}buildOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset||[0,0]}},{name:"flip",enabled:this.flip}]}}toggle(){this.show=!this.show}disconnectedCallback(){super.disconnectedCallback(),this.popper&&(this.popper.destroy(),this.popper=null)}}(0,w.__decorate)([l.attr],Bs.prototype,"selector",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Bs.prototype,"show",void 0),(0,w.__decorate)([l.attr],Bs.prototype,"event",void 0),(0,w.__decorate)([l.attr],Bs.prototype,"placement",void 0),(0,w.__decorate)([(0,l.attr)({converter:js})],Bs.prototype,"offset",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Bs.prototype,"flip",void 0);const Vs=l.css`
1976
1976
  :host {
1977
1977
  display: none;
1978
1978
  inset: unset !important;
@@ -1982,22 +1982,22 @@
1982
1982
  :host([show]) {
1983
1983
  display: block;
1984
1984
  }
1985
- `,Ms=l.html`
1985
+ `,zs=l.html`
1986
1986
  <template>
1987
1987
  <slot></slot>
1988
1988
  </template>
1989
- `,Ps=Is.compose({baseName:"popper",styles:Ns,template:Ms}),Hs=(e,t)=>l.css`
1989
+ `,Gs=Bs.compose({baseName:"popper",styles:Vs,template:zs}),Us=(e,t)=>l.css`
1990
1990
  ${(0,s.progressStyles)(e,t)}
1991
1991
  :host {
1992
1992
  height: calc(var(--design-unit) * 2px);
1993
1993
  }
1994
- `,js=(e,t)=>(0,n.progressTemplate)(e,t);class Bs extends s.Progress{}const Vs=void 0,zs={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},Gs=Bs.compose(Object.assign({baseName:"progress",template:js,styles:Hs,shadowOptions:Vs},zs)),Us=(e,t)=>l.css`
1994
+ `,Ys=(e,t)=>(0,n.progressTemplate)(e,t);class Ws extends s.Progress{}const qs=void 0,Xs={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},Ks=Ws.compose(Object.assign({baseName:"progress",template:Ys,styles:Us,shadowOptions:qs},Xs)),Zs=(e,t)=>l.css`
1995
1995
  ${(0,s.progressRingStyles)(e,t)}
1996
- `,Ys=(e,t)=>(0,n.progressRingTemplate)(e,t);class Ws extends s.Progress{}const qs=void 0,Xs={indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n '},Ks=Ws.compose(Object.assign({baseName:"progress-ring",template:Ys,styles:Us,shadowOptions:qs},Xs)),Zs=(e,t)=>l.css`
1996
+ `,Qs=(e,t)=>(0,n.progressRingTemplate)(e,t);class Js extends s.Progress{}const el=void 0,tl={indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n '},ol=Js.compose(Object.assign({baseName:"progress-ring",template:Qs,styles:Zs,shadowOptions:el},tl)),il=(e,t)=>l.css`
1997
1997
  ${(0,s.radioStyles)(e,t)}
1998
- `,Qs=(e,t)=>(0,n.radioTemplate)(e,t);class Js extends s.Radio{}const el=void 0,tl={checkedIndicator:'\n <div part="checked-indicator" class="checked-indicator"></div>\n '},ol=Js.compose(Object.assign({baseName:"radio",template:Qs,styles:Zs,shadowOptions:el},tl)),il=(e,t)=>l.css`
1998
+ `,al=(e,t)=>(0,n.radioTemplate)(e,t);class nl extends s.Radio{}const sl=void 0,ll={checkedIndicator:'\n <div part="checked-indicator" class="checked-indicator"></div>\n '},rl=nl.compose(Object.assign({baseName:"radio",template:al,styles:il,shadowOptions:sl},ll)),dl=(e,t)=>l.css`
1999
1999
  ${(0,s.radioGroupStyles)(e,t)}
2000
- `,al=(e,t)=>(0,n.radioGroupTemplate)(e,t);class nl extends s.RadioGroup{}const sl=void 0,ll={},rl=nl.compose(Object.assign({baseName:"radio-group",template:al,styles:il,shadowOptions:sl},ll)),dl=(e,t)=>l.css`
2000
+ `,cl=(e,t)=>(0,n.radioGroupTemplate)(e,t);class ul extends s.RadioGroup{}const pl=void 0,hl={},ml=ul.compose(Object.assign({baseName:"radio-group",template:cl,styles:dl,shadowOptions:pl},hl)),vl=(e,t)=>l.css`
2001
2001
  ${(0,s.radioGroupStyles)(e,t)}
2002
2002
  ::slotted(foundation-segmented-item:first-of-type) {
2003
2003
  border-radius: calc(var(--control-corner-radius) * 1px) 0 0
@@ -2010,7 +2010,7 @@
2010
2010
  calc(var(--control-corner-radius) * 1px) 0;
2011
2011
  border-left-width: 0;
2012
2012
  }
2013
- `,cl=(e,t)=>(0,n.radioGroupTemplate)(e,t);class ul extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const pl=void 0,hl={},ml=ul.compose(Object.assign({baseName:"segmented-control",template:cl,styles:dl,shadowOptions:pl},hl)),vl=(e,t)=>l.css`
2013
+ `,gl=(e,t)=>(0,n.radioGroupTemplate)(e,t);class fl extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const bl=void 0,yl={},wl=fl.compose(Object.assign({baseName:"segmented-control",template:gl,styles:vl,shadowOptions:bl},yl)),xl=(e,t)=>l.css`
2014
2014
  ${(0,s.radioStyles)(e,t)}
2015
2015
  :host {
2016
2016
  padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px);
@@ -2021,7 +2021,7 @@
2021
2021
  :host([aria-checked='true']) {
2022
2022
  background: var(--accent-foreground-rest);
2023
2023
  }
2024
- `,gl=(e,t)=>l.html`
2024
+ `,$l=(e,t)=>l.html`
2025
2025
  <template
2026
2026
  role="radio"
2027
2027
  aria-checked="${e=>e.checked}"
@@ -2035,21 +2035,21 @@
2035
2035
  <slot></slot>
2036
2036
  </span>
2037
2037
  </template>
2038
- `;class fl extends s.Radio{}const bl=void 0,yl={},wl=fl.compose(Object.assign({baseName:"segmented-item",template:gl,styles:vl,shadowOptions:bl},yl)),xl=(e,t)=>l.css`
2038
+ `;class Sl extends s.Radio{}const Fl=void 0,_l={},Cl=Sl.compose(Object.assign({baseName:"segmented-item",template:$l,styles:xl,shadowOptions:Fl},_l)),Dl=(e,t)=>l.css`
2039
2039
  ${(0,s.selectStyles)(e,t)}
2040
- `,$l=(e,t)=>(0,n.selectTemplate)(e,t);class Sl extends s.Select{}const Fl=void 0,_l={indicator:'\n <svg\n class="select-indicator"\n part="select-indicator"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n />\n </svg>\n '},Cl=Sl.compose(Object.assign({baseName:"select",template:$l,styles:xl,shadowOptions:Fl},_l)),Dl=(e,t)=>l.css`
2040
+ `,Ol=(e,t)=>(0,n.selectTemplate)(e,t);class kl extends s.Select{}const Tl=void 0,Al={indicator:'\n <svg\n class="select-indicator"\n part="select-indicator"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n />\n </svg>\n '},Ll=kl.compose(Object.assign({baseName:"select",template:Ol,styles:Dl,shadowOptions:Tl},Al)),El=(e,t)=>l.css`
2041
2041
  ${(0,s.skeletonStyles)(e,t)}
2042
- `,Ol=(e,t)=>(0,n.skeletonTemplate)(e,t);class kl extends s.Skeleton{}const Tl=void 0,Al={},Ll=kl.compose(Object.assign({baseName:"skeleton",template:Ol,styles:Dl,shadowOptions:Tl},Al)),El=(e,t)=>l.css`
2042
+ `,Rl=(e,t)=>(0,n.skeletonTemplate)(e,t);class Il extends s.Skeleton{}const Nl=void 0,Ml={},Pl=Il.compose(Object.assign({baseName:"skeleton",template:Rl,styles:El,shadowOptions:Nl},Ml)),Hl=(e,t)=>l.css`
2043
2043
  ${(0,s.sliderStyles)(e,t)}
2044
2044
  .track-progress {
2045
2045
  background-color: var(--accent-fill-rest);
2046
2046
  border-radius: calc(var(--control-corner-radius) * 1px);
2047
2047
  }
2048
- `;var Rl=o(75511),Il=o(62515);const Nl=(e,t)=>l.html`
2048
+ `;var jl=o(75511),Bl=o(62515);const Vl=(e,t)=>l.html`
2049
2049
  <template
2050
2050
  role="slider"
2051
2051
  class="${e=>e.readOnly?"readonly":""}
2052
- ${e=>e.orientation||Rl.i.horizontal}"
2052
+ ${e=>e.orientation||jl.i.horizontal}"
2053
2053
  tabindex="${e=>e.disabled?null:0}"
2054
2054
  aria-valuetext="${e=>e.valueTextFormatter(e.value)}"
2055
2055
  aria-valuenow="${e=>e.value}"
@@ -2064,7 +2064,7 @@
2064
2064
  <div ${(0,l.ref)("track")} part="track-container" class="track">
2065
2065
  <div
2066
2066
  class="track-progress"
2067
- style="${e=>{const t=1-(0,Il.b9)(0,1,(parseInt(e.value)-e.min)/(e.max-e.min)),o=Math.round(100*(1-t));return"horizontal"===e.orientation?e.isDragging?`height: calc(var(--track-width) * 1px); width: ${o}%;`:`height: calc(var(--track-width) * 1px); width: ${o}%; transition: all 0.2s ease;`:e.isDragging?`width: calc(var(--track-width) * 1px); height: ${o}%;`:`width: calc(var(--track-width) * 1px); height: ${o}%; transition: all 0.2s ease;`}}"
2067
+ style="${e=>{const t=1-(0,Bl.b9)(0,1,(parseInt(e.value)-e.min)/(e.max-e.min)),o=Math.round(100*(1-t));return"horizontal"===e.orientation?e.isDragging?`height: calc(var(--track-width) * 1px); width: ${o}%;`:`height: calc(var(--track-width) * 1px); width: ${o}%; transition: all 0.2s ease;`:e.isDragging?`width: calc(var(--track-width) * 1px); height: ${o}%;`:`width: calc(var(--track-width) * 1px); height: ${o}%; transition: all 0.2s ease;`}}"
2068
2068
  ></div>
2069
2069
  </div>
2070
2070
  <slot></slot>
@@ -2078,9 +2078,9 @@
2078
2078
  </div>
2079
2079
  </div>
2080
2080
  </template>
2081
- `;class Ml extends s.Slider{}const Pl=void 0,Hl={thumb:'\n <div class="thumb-cursor"></div>\n '},jl=Ml.compose(Object.assign({baseName:"slider",template:Nl,styles:El,shadowOptions:Pl},Hl)),Bl=(e,t)=>l.css`
2081
+ `;class zl extends s.Slider{}const Gl=void 0,Ul={thumb:'\n <div class="thumb-cursor"></div>\n '},Yl=zl.compose(Object.assign({baseName:"slider",template:Vl,styles:Hl,shadowOptions:Gl},Ul)),Wl=(e,t)=>l.css`
2082
2082
  ${(0,s.sliderLabelStyles)(e,t)}
2083
- `,Vl=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class zl extends s.SliderLabel{}const Gl=void 0,Ul={},Yl=zl.compose(Object.assign({baseName:"slider-label",template:Vl,styles:Bl,shadowOptions:Gl},Ul)),Wl=l.css`
2083
+ `,ql=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class Xl extends s.SliderLabel{}const Kl=void 0,Zl={},Ql=Xl.compose(Object.assign({baseName:"slider-label",template:ql,styles:Wl,shadowOptions:Kl},Zl)),Jl=l.css`
2084
2084
  @keyframes append-animate {
2085
2085
  from {
2086
2086
  transform: translateX(100%);
@@ -2162,7 +2162,7 @@
2162
2162
  flex: 1;
2163
2163
  overflow: hidden;
2164
2164
  }
2165
- `,ql=e=>l.html`
2165
+ `,er=e=>l.html`
2166
2166
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,l.ref)("snackbar")}>
2167
2167
  <div part="content" class="content">
2168
2168
  <div>
@@ -2181,9 +2181,9 @@
2181
2181
  `)}
2182
2182
  </div>
2183
2183
  </div>
2184
- `,Xl=l.html`
2185
- ${e=>ql(C(e))}
2186
- `,Kl={mode:"open",delegatesFocus:!0};class Zl extends n.FoundationElement{constructor(){super(...arguments),this.deleteAnimation="",this.closeTimeout=1e4,this.autoClose=!0,this.type=""}connectedCallback(){super.connectedCallback(),this.autoClose&&setTimeout((()=>{this.deleteAnimation="snackbar-delete",this.snackbar.onanimationend=()=>{this.dismiss()}}),this.closeTimeout)}errorChanged(e,t){var o,i,a;this.type=null!==(a=null===(i=null===(o=null==t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.type)&&void 0!==a?a:""}notificationChanged(e,t){var o,i,a;this.type=null!==(a=null===(i=null===(o=null==t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.type)&&void 0!==a?a:""}dismiss(){this.remove()}}(0,w.__decorate)([l.observable],Zl.prototype,"error",void 0),(0,w.__decorate)([l.observable],Zl.prototype,"notification",void 0),(0,w.__decorate)([l.observable],Zl.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],Zl.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],Zl.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"type"})],Zl.prototype,"type",void 0);const Ql=Zl.compose({baseName:"snackbar",styles:Wl,template:Xl,shadowOptions:Kl}),Jl=l.css`
2184
+ `,tr=l.html`
2185
+ ${e=>er(C(e))}
2186
+ `,or={mode:"open",delegatesFocus:!0};class ir extends n.FoundationElement{constructor(){super(...arguments),this.deleteAnimation="",this.closeTimeout=1e4,this.autoClose=!0,this.type=""}connectedCallback(){super.connectedCallback(),this.autoClose&&setTimeout((()=>{this.deleteAnimation="snackbar-delete",this.snackbar.onanimationend=()=>{this.dismiss()}}),this.closeTimeout)}errorChanged(e,t){var o,i,a;this.type=null!==(a=null===(i=null===(o=null==t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.type)&&void 0!==a?a:""}notificationChanged(e,t){var o,i,a;this.type=null!==(a=null===(i=null===(o=null==t?void 0:t.config)||void 0===o?void 0:o.snackbar)||void 0===i?void 0:i.type)&&void 0!==a?a:""}dismiss(){this.remove()}}(0,w.__decorate)([l.observable],ir.prototype,"error",void 0),(0,w.__decorate)([l.observable],ir.prototype,"notification",void 0),(0,w.__decorate)([l.observable],ir.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],ir.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],ir.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"type"})],ir.prototype,"type",void 0);const ar=ir.compose({baseName:"snackbar",styles:Jl,template:tr,shadowOptions:or}),nr=l.css`
2187
2187
  :host {
2188
2188
  display: flex;
2189
2189
  height: 100%;
@@ -2267,7 +2267,7 @@
2267
2267
  max-width: 100%;
2268
2268
  max-height: 70px;
2269
2269
  }
2270
- `;var er=o(55509);const tr=e=>l.html`
2270
+ `;var sr=o(55509);const lr=e=>l.html`
2271
2271
  <${e}-card class="stepper-tab" part="stepper-tab" role="stepper-tab" data-test-id="stepper-tab">
2272
2272
  <div class="stepper-tab-menu" part="stepper-tab-menu">
2273
2273
  <slot name="tab" ${(0,l.slotted)("tabs")}></slot>
@@ -2285,7 +2285,7 @@
2285
2285
  <div class="action-buttons-container" part="action-buttons-container">
2286
2286
  <slot name="action-buttons">
2287
2287
  <${e}-button @click=${e=>e.previousStep()} ?disabled=${e=>e.disabledPreviousStep}>Back</${e}-button>
2288
- ${(0,er.l)((e=>e.isLastStep),l.html`
2288
+ ${(0,sr.l)((e=>e.isLastStep),l.html`
2289
2289
  <${e}-button @click=${e=>e._submit()} ?disabled=${e=>e.islastStepValid} data-test-id="submit-button">
2290
2290
  Submit
2291
2291
  </${e}-button>
@@ -2295,9 +2295,9 @@
2295
2295
  </slot>
2296
2296
  </div>
2297
2297
  </${e}-card>
2298
- `,or=l.html`
2299
- ${e=>tr(C(e))}
2300
- `;class ir extends n.FoundationElement{constructor(){super(...arguments),this.orientation=n.TabsOrientation.vertical,this.progressValue=0,this.activeTabIndex=0,this.completedIds=new Map,this.setTabs=()=>{this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach(((e,t)=>{if("tab"===e.slot){const o=this.activeTabIndex===t,i=t+1===this.tabIds.length,a=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id",a),e.setAttribute("aria-selected",o?"true":"false"),e.setAttribute("disabled",o?"false":"true"),e.setAttribute("selected",o?"true":"false"),e.setAttribute("orientation",this.orientation),e.setAttribute("aria-controls",n),e.setAttribute("aria-controls",n),e.setAttribute("tab-position",String(t+1)),e.setAttribute("isLast",String(i)),e.setAttribute("tabindex",o?"0":"-1"),o&&(this.activetab=e,this.activeid=a)}}))},this.getCompletedTabs=()=>{this.tabs.forEach(((e,t)=>{const o=this.tabIds[t],i=e.isCompleted();this.completedIds.set(o,i)}));let e=0;for(const t of this.completedIds.values())!0===t&&(e+=1);this.progressValue=Math.round(e/this.tabpanels.length*100)},this.setTabPanels=()=>{this.tabpanels.forEach(((e,t)=>{const o=this.tabIds[t],i=this.tabpanelIds[t];e.setAttribute("id",i),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.getCompletedTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}get disabledPreviousStep(){return 0===this.activeTabIndex}get isLastStep(){return this.activeTabIndex+1===this.tabs.length}get islastStepValid(){var e;const t=this.tabs.length-1;return this.activeTabIndex===t&&(this.validation&&(null===(e=this.validation[t])||void 0===e?void 0:e.isValid())||!this.validation||!this.validation[t])?(this.tabs[t].completed=!0,this.getCompletedTabs(),!1):(this.tabs[t].completed=!1,this.getCompletedTabs(),!0)}_submit(){this.$emit("submit")}nextStep(){if(this.$emit("next-step"),this.validation&&this.validation[this.activeTabIndex]){if(!this.validation[this.activeTabIndex].isValid())return this.tabs[this.activeTabIndex].completed=!1,this.tabs[this.activeTabIndex].error=!0,void this.getCompletedTabs();this.tabs[this.activeTabIndex].error=!1}this.activeTabIndex+2<=this.tabIds.length&&(this.tabs[this.activeTabIndex].completed=!0,this.activeTabIndex=this.activeTabIndex+1,this.activeid=this.tabIds[this.activeTabIndex],this.$emit("validation-success"))}previousStep(){0!==this.activeTabIndex&&(this.tabs[this.activeTabIndex].completed=!1,this.activeTabIndex=this.activeTabIndex-1,this.activeid=this.tabIds[this.activeTabIndex])}getTabIds(){return this.tabs.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`tab-${(0,Ta.EL)()}`}))}getTabPanelIds(){return this.tabpanels.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`panel-${(0,Ta.EL)()}`}))}}(0,w.__decorate)([l.attr],ir.prototype,"orientation",void 0),(0,w.__decorate)([l.attr],ir.prototype,"activeid",void 0),(0,w.__decorate)([l.observable],ir.prototype,"tabs",void 0),(0,w.__decorate)([l.observable],ir.prototype,"tabpanels",void 0),(0,w.__decorate)([l.observable],ir.prototype,"validation",void 0),(0,w.__decorate)([l.observable],ir.prototype,"progressValue",void 0),(0,w.__decorate)([l.observable],ir.prototype,"activeTabIndex",void 0),(0,w.__decorate)([l.volatile],ir.prototype,"disabledPreviousStep",null),(0,w.__decorate)([l.volatile],ir.prototype,"isLastStep",null),(0,w.__decorate)([l.volatile],ir.prototype,"islastStepValid",null);const ar=void 0,nr={},sr=ir.compose(Object.assign({baseName:"stepper",template:or,styles:Jl,shadowOptions:ar},nr)),lr=(e,t)=>l.css`
2298
+ `,rr=l.html`
2299
+ ${e=>lr(C(e))}
2300
+ `;class dr extends n.FoundationElement{constructor(){super(...arguments),this.orientation=n.TabsOrientation.vertical,this.progressValue=0,this.activeTabIndex=0,this.completedIds=new Map,this.setTabs=()=>{this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach(((e,t)=>{if("tab"===e.slot){const o=this.activeTabIndex===t,i=t+1===this.tabIds.length,a=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id",a),e.setAttribute("aria-selected",o?"true":"false"),e.setAttribute("disabled",o?"false":"true"),e.setAttribute("selected",o?"true":"false"),e.setAttribute("orientation",this.orientation),e.setAttribute("aria-controls",n),e.setAttribute("aria-controls",n),e.setAttribute("tab-position",String(t+1)),e.setAttribute("isLast",String(i)),e.setAttribute("tabindex",o?"0":"-1"),o&&(this.activetab=e,this.activeid=a)}}))},this.getCompletedTabs=()=>{this.tabs.forEach(((e,t)=>{const o=this.tabIds[t],i=e.isCompleted();this.completedIds.set(o,i)}));let e=0;for(const t of this.completedIds.values())!0===t&&(e+=1);this.progressValue=Math.round(e/this.tabpanels.length*100)},this.setTabPanels=()=>{this.tabpanels.forEach(((e,t)=>{const o=this.tabIds[t],i=this.tabpanelIds[t];e.setAttribute("id",i),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.getCompletedTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}get disabledPreviousStep(){return 0===this.activeTabIndex}get isLastStep(){return this.activeTabIndex+1===this.tabs.length}get islastStepValid(){var e;const t=this.tabs.length-1;return this.activeTabIndex===t&&(this.validation&&(null===(e=this.validation[t])||void 0===e?void 0:e.isValid())||!this.validation||!this.validation[t])?(this.tabs[t].completed=!0,this.getCompletedTabs(),!1):(this.tabs[t].completed=!1,this.getCompletedTabs(),!0)}_submit(){this.$emit("submit")}nextStep(){if(this.$emit("next-step"),this.validation&&this.validation[this.activeTabIndex]){if(!this.validation[this.activeTabIndex].isValid())return this.tabs[this.activeTabIndex].completed=!1,this.tabs[this.activeTabIndex].error=!0,void this.getCompletedTabs();this.tabs[this.activeTabIndex].error=!1}this.activeTabIndex+2<=this.tabIds.length&&(this.tabs[this.activeTabIndex].completed=!0,this.activeTabIndex=this.activeTabIndex+1,this.activeid=this.tabIds[this.activeTabIndex],this.$emit("validation-success"))}previousStep(){0!==this.activeTabIndex&&(this.tabs[this.activeTabIndex].completed=!1,this.activeTabIndex=this.activeTabIndex-1,this.activeid=this.tabIds[this.activeTabIndex])}getTabIds(){return this.tabs.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`tab-${(0,Na.EL)()}`}))}getTabPanelIds(){return this.tabpanels.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`panel-${(0,Na.EL)()}`}))}}(0,w.__decorate)([l.attr],dr.prototype,"orientation",void 0),(0,w.__decorate)([l.attr],dr.prototype,"activeid",void 0),(0,w.__decorate)([l.observable],dr.prototype,"tabs",void 0),(0,w.__decorate)([l.observable],dr.prototype,"tabpanels",void 0),(0,w.__decorate)([l.observable],dr.prototype,"validation",void 0),(0,w.__decorate)([l.observable],dr.prototype,"progressValue",void 0),(0,w.__decorate)([l.observable],dr.prototype,"activeTabIndex",void 0),(0,w.__decorate)([l.volatile],dr.prototype,"disabledPreviousStep",null),(0,w.__decorate)([l.volatile],dr.prototype,"isLastStep",null),(0,w.__decorate)([l.volatile],dr.prototype,"islastStepValid",null);const cr=void 0,ur={},pr=dr.compose(Object.assign({baseName:"stepper",template:rr,styles:nr,shadowOptions:cr},ur)),hr=(e,t)=>l.css`
2301
2301
  .tree-item {
2302
2302
  cursor: default;
2303
2303
  }
@@ -2374,10 +2374,10 @@
2374
2374
  :host([error]) .step-title {
2375
2375
  color: #f14376;
2376
2376
  }
2377
- `,rr=(e,t)=>l.html`
2377
+ `,mr=(e,t)=>l.html`
2378
2378
  <template slot="tab" role="stepper-tab" aria-disabled="${e=>e.disabled}">
2379
2379
  ${(0,n.startSlotTemplate)(e,t)}
2380
- ${(0,er.l)((e=>e.orientation===n.TabsOrientation.vertical),l.html`
2380
+ ${(0,sr.l)((e=>e.orientation===n.TabsOrientation.vertical),l.html`
2381
2381
  <foundation-tree-item ${(0,l.ref)("treeItem")} class="tree-item">
2382
2382
  ${(0,l.when)((e=>e.completed),l.html`
2383
2383
  <foundation-icon
@@ -2413,11 +2413,11 @@
2413
2413
  `)}
2414
2414
  ${(0,n.endSlotTemplate)(e,t)}
2415
2415
  </template>
2416
- `;class dr extends n.FoundationElement{constructor(){super(...arguments),this.orientation=n.TabsOrientation.vertical}isCompleted(){return this.completed}selectedChanged(){this.treeItem&&(this.treeItem.selected=this.selected)}}(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dr.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dr.prototype,"selected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dr.prototype,"completed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dr.prototype,"error",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dr.prototype,"isLast",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"tab-position"})],dr.prototype,"tabPosition",void 0),(0,w.__decorate)([l.attr],dr.prototype,"orientation",void 0);const cr=void 0,ur={},pr=dr.compose(Object.assign({baseName:"stepper-tab",template:rr,styles:lr,shadowOptions:cr},ur)),hr=()=>l.html`
2416
+ `;class vr extends n.FoundationElement{constructor(){super(...arguments),this.orientation=n.TabsOrientation.vertical}isCompleted(){return this.completed}selectedChanged(){this.treeItem&&(this.treeItem.selected=this.selected)}}(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vr.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vr.prototype,"selected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vr.prototype,"completed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vr.prototype,"error",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vr.prototype,"isLast",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"tab-position"})],vr.prototype,"tabPosition",void 0),(0,w.__decorate)([l.attr],vr.prototype,"orientation",void 0);const gr=void 0,fr={},br=vr.compose(Object.assign({baseName:"stepper-tab",template:mr,styles:hr,shadowOptions:gr},fr)),yr=()=>l.html`
2417
2417
  <template slot="tab-panel" role="stepper-tab-panel">
2418
2418
  <slot></slot>
2419
2419
  </template>
2420
- `;class mr extends n.FoundationElement{}const vr=void 0,gr={},fr=mr.compose(Object.assign({baseName:"stepper-tab-panel",template:hr,shadowOptions:vr},gr)),br=(e,t)=>l.css`
2420
+ `;class wr extends n.FoundationElement{}const xr=void 0,$r={},Sr=wr.compose(Object.assign({baseName:"stepper-tab-panel",template:yr,shadowOptions:xr},$r)),Fr=(e,t)=>l.css`
2421
2421
  ${(0,s.switchStyles)(e,t)}
2422
2422
  .checked-indicator {
2423
2423
  transform: scale(1.3);
@@ -2430,24 +2430,24 @@
2430
2430
  .checked-indicator {
2431
2431
  border-radius: calc(var(--control-corner-radius) * 2px);
2432
2432
  }
2433
- `,yr=(e,t)=>(0,n.switchTemplate)(e,t);class wr extends s.Switch{}const xr=void 0,$r={switch:'<div class="checked-indicator" part="checked-indicator"></div>'},Sr=wr.compose(Object.assign({baseName:"switch",template:yr,styles:br,shadowOptions:xr},$r)),Fr=(e,t)=>l.css`
2433
+ `,_r=(e,t)=>(0,n.switchTemplate)(e,t);class Cr extends s.Switch{}const Dr=void 0,Or={switch:'<div class="checked-indicator" part="checked-indicator"></div>'},kr=Cr.compose(Object.assign({baseName:"switch",template:_r,styles:Fr,shadowOptions:Dr},Or)),Tr=(e,t)=>l.css`
2434
2434
  ${(0,s.tabStyles)(e,t)}
2435
- `,_r=(e,t)=>(0,n.tabTemplate)(e,t);class Cr extends s.Tab{}const Dr=void 0,Or={},kr=Cr.compose(Object.assign({baseName:"tab",template:_r,styles:Fr,shadowOptions:Dr},Or)),Tr=(e,t)=>l.css`
2435
+ `,Ar=(e,t)=>(0,n.tabTemplate)(e,t);class Lr extends s.Tab{}const Er=void 0,Rr={},Ir=Lr.compose(Object.assign({baseName:"tab",template:Ar,styles:Tr,shadowOptions:Er},Rr)),Nr=(e,t)=>l.css`
2436
2436
  ${(0,s.tabPanelStyles)(e,t)}
2437
- `,Ar=(e,t)=>(0,n.tabPanelTemplate)(e,t);class Lr extends s.TabPanel{}const Er=void 0,Rr={},Ir=Lr.compose(Object.assign({baseName:"tab-panel",template:Ar,styles:Tr,shadowOptions:Er},Rr)),Nr=(e,t)=>l.css`
2437
+ `,Mr=(e,t)=>(0,n.tabPanelTemplate)(e,t);class Pr extends s.TabPanel{}const Hr=void 0,jr={},Br=Pr.compose(Object.assign({baseName:"tab-panel",template:Mr,styles:Nr,shadowOptions:Hr},jr)),Vr=(e,t)=>l.css`
2438
2438
  ${(0,s.tabsStyles)(e,t)}
2439
- `,Mr=(e,t)=>(0,n.tabsTemplate)(e,t);class Pr extends s.Tabs{}const Hr=void 0,jr={},Br=Pr.compose(Object.assign({baseName:"tabs",template:Mr,styles:Nr,shadowOptions:Hr},jr)),Vr=(e,t)=>l.css`
2439
+ `,zr=(e,t)=>(0,n.tabsTemplate)(e,t);class Gr extends s.Tabs{}const Ur=void 0,Yr={},Wr=Gr.compose(Object.assign({baseName:"tabs",template:zr,styles:Vr,shadowOptions:Ur},Yr)),qr=(e,t)=>l.css`
2440
2440
  ${(0,s.textAreaStyles)(e,t)}
2441
2441
  :host .control {
2442
2442
  padding: calc(var(--design-unit) * 3px);
2443
2443
  }
2444
- `,zr=(e,t)=>(0,n.textAreaTemplate)(e,t);class Gr extends s.TextArea{}const Ur=void 0,Yr={},Wr=Gr.compose(Object.assign({baseName:"text-area",template:zr,styles:Vr,shadowOptions:Ur},Yr)),{create:qr}=n.DesignToken,Xr=qr("active-color-scheme").withDefault((e=>s.baseLayerLuminance.getValueFor(e)===s.StandardLuminance.LightMode?"light":"dark")),Kr=(e,t)=>l.css`
2444
+ `,Xr=(e,t)=>(0,n.textAreaTemplate)(e,t);class Kr extends s.TextArea{}const Zr=void 0,Qr={},Jr=Kr.compose(Object.assign({baseName:"text-area",template:Xr,styles:qr,shadowOptions:Zr},Qr)),{create:ed}=n.DesignToken,td=ed("active-color-scheme").withDefault((e=>s.baseLayerLuminance.getValueFor(e)===s.StandardLuminance.LightMode?"light":"dark")),od=(e,t)=>l.css`
2445
2445
  ${(0,s.textFieldStyles)(e,t)}
2446
2446
 
2447
2447
  input {
2448
- color-scheme: ${Xr};
2448
+ color-scheme: ${td};
2449
2449
  }
2450
- `,Zr=(e,t)=>l.html`
2450
+ `,id=(e,t)=>l.html`
2451
2451
  <template
2452
2452
  class="
2453
2453
  ${e=>e.readOnly?"readonly":""}
@@ -2509,7 +2509,7 @@
2509
2509
  ${(0,n.endSlotTemplate)(e,t)}
2510
2510
  </div>
2511
2511
  </template>
2512
- `;class Qr extends s.TextField{constructor(){super(...arguments),this.autocapitalize="off"}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}autocapitalizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocapitalize=this.autocapitalize)}}(0,w.__decorate)([l.attr],Qr.prototype,"autocomplete",void 0),(0,w.__decorate)([l.attr],Qr.prototype,"autocapitalize",void 0),(0,w.__decorate)([l.attr],Qr.prototype,"step",void 0);const Jr={mode:"open",delegatesFocus:!0},ed={},td=Qr.compose(Object.assign({baseName:"text-field",template:Zr,styles:Kr,shadowOptions:Jr},ed)),od=l.css`
2512
+ `;class ad extends s.TextField{constructor(){super(...arguments),this.autocapitalize="off"}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}autocapitalizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocapitalize=this.autocapitalize)}}(0,w.__decorate)([l.attr],ad.prototype,"autocomplete",void 0),(0,w.__decorate)([l.attr],ad.prototype,"autocapitalize",void 0),(0,w.__decorate)([l.attr],ad.prototype,"step",void 0);const nd={mode:"open",delegatesFocus:!0},sd={},ld=ad.compose(Object.assign({baseName:"text-field",template:id,styles:od,shadowOptions:nd},sd)),rd=l.css`
2513
2513
  @keyframes append-animate {
2514
2514
  from {
2515
2515
  transform: translateX(100%);
@@ -2610,7 +2610,7 @@
2610
2610
  .close-icon svg {
2611
2611
  cursor: pointer;
2612
2612
  }
2613
- `,id=l.html`
2613
+ `,dd=l.html`
2614
2614
  <div class="toast ${e=>e.deleteAnimation}" ${(0,l.ref)("toast")}>
2615
2615
  <div class="content-wrapper">
2616
2616
  <div part="top" class="top">
@@ -2628,11 +2628,11 @@
2628
2628
  </div>
2629
2629
  </div>
2630
2630
  </div>
2631
- `,ad={mode:"open",delegatesFocus:!0},nd={};class sd extends n.FoundationElement{constructor(){super(...arguments),this.deleteAnimation="",this.closeTimeout=1e4,this.autoClose=!1}connectedCallback(){super.connectedCallback(),this.autoClose&&setTimeout((()=>{this.deleteAnimation="toast-delete",this.toast.onanimationend=()=>{this.remove()}}),this.closeTimeout)}close(){this.remove()}}(0,w.__decorate)([l.observable],sd.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],sd.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],sd.prototype,"autoClose",void 0);const ld=sd.compose(Object.assign({baseName:"toast",styles:od,template:id,shadowOptions:ad},nd)),rd=(e,t)=>l.css`
2631
+ `,cd={mode:"open",delegatesFocus:!0},ud={};class pd extends n.FoundationElement{constructor(){super(...arguments),this.deleteAnimation="",this.closeTimeout=1e4,this.autoClose=!1}connectedCallback(){super.connectedCallback(),this.autoClose&&setTimeout((()=>{this.deleteAnimation="toast-delete",this.toast.onanimationend=()=>{this.remove()}}),this.closeTimeout)}close(){this.remove()}}(0,w.__decorate)([l.observable],pd.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],pd.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],pd.prototype,"autoClose",void 0);const hd=pd.compose(Object.assign({baseName:"toast",styles:rd,template:dd,shadowOptions:cd},ud)),md=(e,t)=>l.css`
2632
2632
  ${(0,s.toolbarStyles)(e,t)}
2633
- `,dd=(e,t)=>(0,n.toolbarTemplate)(e,t);class cd extends s.Toolbar{}const ud=void 0,pd={},hd=cd.compose(Object.assign({baseName:"toolbar",template:dd,styles:rd,shadowOptions:ud},pd)),md=(e,t)=>l.css`
2633
+ `,vd=(e,t)=>(0,n.toolbarTemplate)(e,t);class gd extends s.Toolbar{}const fd=void 0,bd={},yd=gd.compose(Object.assign({baseName:"toolbar",template:vd,styles:md,shadowOptions:fd},bd)),wd=(e,t)=>l.css`
2634
2634
  ${(0,s.tooltipStyles)(e,t)}
2635
- `,vd=(e,t)=>(0,n.tooltipTemplate)(e,t);class gd extends s.Tooltip{}const fd=void 0,bd={},yd=gd.compose(Object.assign({baseName:"tooltip",template:vd,styles:md,shadowOptions:fd},bd)),wd=(e,t)=>l.css`
2635
+ `,xd=(e,t)=>(0,n.tooltipTemplate)(e,t);class $d extends s.Tooltip{}const Sd=void 0,Fd={},_d=$d.compose(Object.assign({baseName:"tooltip",template:xd,styles:wd,shadowOptions:Sd},Fd)),Cd=(e,t)=>l.css`
2636
2636
  ${(0,s.treeItemStyles)(e,t)}
2637
2637
  :host {
2638
2638
  --focus-stroke-width: 0;
@@ -2649,9 +2649,9 @@
2649
2649
  .positioning-region {
2650
2650
  height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) * 1px);
2651
2651
  }
2652
- `,xd=(e,t)=>(0,n.treeItemTemplate)(e,t);class $d extends s.TreeItem{}const Sd=void 0,Fd={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z"></path>\n </svg>'},_d=$d.compose(Object.assign({baseName:"tree-item",template:xd,styles:wd,shadowOptions:Sd},Fd)),Cd=(e,t)=>l.css`
2652
+ `,Dd=(e,t)=>(0,n.treeItemTemplate)(e,t);class Od extends s.TreeItem{}const kd=void 0,Td={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z"></path>\n </svg>'},Ad=Od.compose(Object.assign({baseName:"tree-item",template:Dd,styles:Cd,shadowOptions:kd},Td)),Ld=(e,t)=>l.css`
2653
2653
  ${(0,s.treeViewStyles)(e,t)}
2654
- `,Dd=(e,t)=>(0,n.treeViewTemplate)(e,t);class Od extends n.TreeView{}const kd=void 0,Td={},Ad=Od.compose(Object.assign({baseName:"tree-view",template:Dd,styles:Cd,shadowOptions:kd},Td)),Ld=(e,t)=>l.css`
2654
+ `,Ed=(e,t)=>(0,n.treeViewTemplate)(e,t);class Rd extends n.TreeView{}const Id=void 0,Nd={},Md=Rd.compose(Object.assign({baseName:"tree-view",template:Ed,styles:Ld,shadowOptions:Id},Nd)),Pd=(e,t)=>l.css`
2655
2655
  .container {
2656
2656
  position: relative;
2657
2657
  width: 100%;
@@ -2671,7 +2671,7 @@
2671
2671
  overflow: hidden;
2672
2672
  text-overflow: ellipsis;
2673
2673
  }
2674
- `,Ed=e=>l.html`
2674
+ `,Hd=e=>l.html`
2675
2675
  <div class="container" value=${e=>e.value}>
2676
2676
  <${e}-text-field
2677
2677
  class="url-input"
@@ -2686,11 +2686,11 @@
2686
2686
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
2687
2687
  `)}
2688
2688
  </div>
2689
- `,Rd=l.html`
2690
- ${e=>Ed(C(e))}
2691
- `,Id=void 0,Nd={};class Md extends s.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,w.__decorate)([l.observable],Md.prototype,"value",void 0),(0,w.__decorate)([l.observable],Md.prototype,"focused",void 0);const Pd=Md.compose(Object.assign({baseName:"url-input",template:Rd,styles:Ld,shadowOptions:Id},Nd)),Hd={foundationAccordion:h,foundationAccordionItem:y,foundationActionsMenu:A,foundationAnchor:M,foundationAnchoredRegion:z,foundationAvatar:K,foundationBadge:oe,foundationBanner:ce,foundationBreadcrumbItem:$e,foundationBreadcrumb:ge,foundationButton:Oe,foundationCalendar:Re,foundationCard:je,foundationCheckbox:Ye,foundationCombobox:Ft,foundationConnectionIndicator:kt,foundationDataGrid:It,foundationDataGridCell:jt,foundationDataGridRow:Ut,foundationDatePicker:po,foundationDesignSystemProvider:ti,foundationDialog:ui,foundationDisclosure:fi,foundationDivider:Si,foundationDropdownMenu:Ti,foundationErrorBoundary:Ki,foundationErrorBanner:Ii,foundationErrorDialog:oa,foundationFileUpload:ba,foundationFilter:ka,foundationFilterBar:Pa,foundationFlexLayout:Ya,foundationFlipper:Qa,foundationFlyout:ln,foundationGridLayout:gn,foundationGridLayoutItem:xn,foundationHorizontalScroll:Dn,foundationIcon:Hn,foundationListbox:Un,foundationListboxOption:Zn,foundationMenu:is,foundationMenuItem:ds,foundationModal:vs,foundationMultiselect:_s,foundationNumberField:Ls,foundationProgress:Gs,foundationPopper:Ps,foundationProgressRing:Ks,foundationRadio:ol,foundationRadioGroup:rl,foundationSegmentedControl:ml,foundationSegmentedItem:wl,foundationSelect:Cl,foundationSkeleton:Ll,foundationSlider:jl,foundationSliderLabel:Yl,foundationSnackbar:Ql,foundationStepper:sr,foundationStepperTab:pr,foundationStepperTabPanel:fr,foundationSwitch:Sr,foundationTab:kr,foundationTabPanel:Ir,foundationTabs:Br,foundationTextArea:Wr,foundationTextField:td,foundationToast:ld,foundationToolbar:hd,foundationTooltip:yd,foundationTreeItem:_d,foundationTreeView:Ad,foundationUrlInput:Pd,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function jd(e){return new Proxy(e,{get:(e,t,...o)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...o)}})}const Bd=(e,t="foundation")=>{e&&Ro(i,a,e);return jd(n.DesignSystem.getOrCreate(e).withPrefix(t))};class Vd extends l.CSSDirective{constructor(e){super(),this.tokenMap=e}createTokenPartial(e,t){return l.cssPartial`${e}: ${t}`}createTokensCSS(){const e=[];for(const[t,o]of Object.entries(this.tokenMap))e.push(this.createTokenPartial(t,o).createCSS());return e}createCSS(){return this.createTokensCSS().join(";")}}let zd=class extends ot{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.dataGrid=this.parentElement,this.dataGrid&&this.resourceName&&this.connect.isConnected&&this.fetchGenesisData()}))}getColumnDefs(e){return null==e?void 0:e.flatMap((e=>this.fields&&!this.fields.includes(e.name)?[]:{columnDataKey:e.name}))}clearData(){ae.debug("clearData - Method not implemented.")}syncComponentData(e){const t=null!=e?e:Array.from(this.rowsSyncedWithStream.values()),o=this.getColumnDefs(this.datasource.fieldMetadata);this.dataGrid.columnDefinitions=o,this.dataGrid.rowsData=t}handleStreamInserts(e){ae.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ae.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ae.debug("handleStreamUpdates - Method not implemented.")}};zd=(0,w.__decorate)([(0,l.customElement)({name:"data-grid-datasource"})],zd);const Gd=l.html`
2689
+ `,jd=l.html`
2690
+ ${e=>Hd(C(e))}
2691
+ `,Bd=void 0,Vd={};class zd extends s.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,w.__decorate)([l.observable],zd.prototype,"value",void 0),(0,w.__decorate)([l.observable],zd.prototype,"focused",void 0);const Gd=zd.compose(Object.assign({baseName:"url-input",template:jd,styles:Pd,shadowOptions:Bd},Vd)),Ud={foundationAccordion:h,foundationAccordionItem:y,foundationActionsMenu:A,foundationAnchor:M,foundationAnchoredRegion:z,foundationAvatar:K,foundationBadge:oe,foundationBanner:ce,foundationBreadcrumbItem:$e,foundationBreadcrumb:ge,foundationButton:Oe,foundationCalendar:Re,foundationCard:je,foundationCheckbox:Ye,foundationCombobox:Ft,foundationConnectionIndicator:kt,foundationDataGrid:It,foundationDataGridCell:jt,foundationDataGridRow:Ut,foundationDatePicker:po,foundationDesignSystemProvider:ti,foundationDialog:ui,foundationDisclosure:fi,foundationDivider:Si,foundationDropdownMenu:Ti,foundationErrorBoundary:qi,foundationErrorBanner:Ii,foundationErrorDialog:ea,foundationFileUpload:Fa,foundationFilter:Ia,foundationFilterBar:Ga,foundationFlexLayout:Qa,foundationFlipper:nn,foundationFlyout:hn,foundationGridLayout:$n,foundationGridLayoutItem:Dn,foundationHorizontalScroll:En,foundationIcon:Un,foundationListbox:Zn,foundationListboxOption:is,foundationMenu:ds,foundationMenuItem:vs,foundationModal:xs,foundationMultiselect:As,foundationNumberField:Ps,foundationProgress:Ks,foundationPopper:Gs,foundationProgressRing:ol,foundationRadio:rl,foundationRadioGroup:ml,foundationSegmentedControl:wl,foundationSegmentedItem:Cl,foundationSelect:Ll,foundationSkeleton:Pl,foundationSlider:Yl,foundationSliderLabel:Ql,foundationSnackbar:ar,foundationStepper:pr,foundationStepperTab:br,foundationStepperTabPanel:Sr,foundationSwitch:kr,foundationTab:Ir,foundationTabPanel:Br,foundationTabs:Wr,foundationTextArea:Jr,foundationTextField:ld,foundationToast:hd,foundationToolbar:yd,foundationTooltip:_d,foundationTreeItem:Ad,foundationTreeView:Md,foundationUrlInput:Gd,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function Yd(e){return new Proxy(e,{get:(e,t,...o)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...o)}})}const Wd=(e,t="foundation")=>{e&&Ro(i,a,e);return Yd(n.DesignSystem.getOrCreate(e).withPrefix(t))};class qd extends l.CSSDirective{constructor(e){super(),this.tokenMap=e}createTokenPartial(e,t){return l.cssPartial`${e}: ${t}`}createTokensCSS(){const e=[];for(const[t,o]of Object.entries(this.tokenMap))e.push(this.createTokenPartial(t,o).createCSS());return e}createCSS(){return this.createTokensCSS().join(";")}}let Xd=class extends ot{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.dataGrid=this.parentElement,this.dataGrid&&this.resourceName&&this.connect.isConnected&&this.fetchGenesisData()}))}getColumnDefs(e){return null==e?void 0:e.flatMap((e=>this.fields&&!this.fields.includes(e.name)?[]:{columnDataKey:e.name}))}clearData(){ae.debug("clearData - Method not implemented.")}syncComponentData(e){const t=null!=e?e:Array.from(this.rowsSyncedWithStream.values()),o=this.getColumnDefs(this.datasource.fieldMetadata);this.dataGrid.columnDefinitions=o,this.dataGrid.rowsData=t}handleStreamInserts(e){ae.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ae.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ae.debug("handleStreamUpdates - Method not implemented.")}};Xd=(0,w.__decorate)([(0,l.customElement)({name:"data-grid-datasource"})],Xd);const Kd=l.html`
2692
2692
  <template ${(0,l.ref)("notificationListener")}>
2693
2693
  <slot></slot>
2694
2694
  </template>
2695
- `;var Ud;!function(e){e.NOTIFICATION_EVENT="notification-event"}(Ud||(Ud={}));const Yd=e=>{var t,o;return`${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Error"}: ${null!==(o=null==e?void 0:e.body)&&void 0!==o?o:"Something went wrong"}`},Wd=(e,t)=>{const o=t.split("-")[0];let i=document.querySelector(`#${e}`);if(!i){i=document.createElement("div"),i.setAttribute("id",e);const t=document.createElement(`${o}-design-system-provider`);t.appendChild(i),document.body.appendChild(t)}return i},qd=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},Xd=(0,ie.createLogger)("foundation-notifications"),Kd={alert:e=>{alert(Yd(e))},toast:(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m,v,g,f,b,y;const w=t.split("-")[0],x=Wd("notify-container",t);if(x)switch(x.style.position="fixed",null===(i=null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.toast)||void 0===i?void 0:i.position){case"top-left":x.style.top="0",x.style.left="0";break;case"bottom-left":x.style.bottom="0",x.style.left="0";break;case"bottom-right":x.style.bottom="0",x.style.right="0";break;default:x.style.top="0",x.style.right="0"}const $=document.createElement(`${w}-toast`),S=document.createElement("div");S.setAttribute("slot","top"),S.textContent=e.title;const F=document.createElement("div");F.setAttribute("slot","content"),F.textContent=(null==e?void 0:e.body)||"";const _=document.createElement("div");let C;_.setAttribute("slot","date"),_.textContent=(null===(a=null==e?void 0:e.createdAt)||void 0===a?void 0:a.toLocaleTimeString())||"",(null===(s=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.toast)||void 0===s?void 0:s.buttons)&&(null===(d=null===(r=null===(l=null==e?void 0:e.config)||void 0===l?void 0:l.toast)||void 0===r?void 0:r.buttons)||void 0===d?void 0:d.length)&&(C=document.createElement("div"),C.setAttribute("slot","bottom"),e.config.toast.buttons.forEach((t=>{const o=document.createElement(`${w}-button`);o.textContent=t.placeholder||"example placeholder",o.addEventListener("click",(()=>{const{details:i}=e.config.toast;if(t.action)return t.action({details:i,buttonElement:o,toastElement:$})})),t.appearance&&o.setAttribute("appearance",t.appearance),C.appendChild(o)}))),$.setAttribute("notify",(null===(u=null===(c=null==e?void 0:e.config)||void 0===c?void 0:c.toast)||void 0===u?void 0:u.type)||""),(null===(h=null===(p=null==e?void 0:e.config)||void 0===p?void 0:p.toast)||void 0===h?void 0:h.autoClose)&&$.setAttribute("auto-close",`${null===(v=null===(m=null==e?void 0:e.config)||void 0===m?void 0:m.toast)||void 0===v?void 0:v.autoClose}`),(null===(f=null===(g=null==e?void 0:e.config)||void 0===g?void 0:g.toast)||void 0===f?void 0:f.closeTimeout)&&$.setAttribute("close-timeout",`${null===(y=null===(b=null==e?void 0:e.config)||void 0===b?void 0:b.toast)||void 0===y?void 0:y.closeTimeout}`),$.appendChild(S),$.appendChild(F),$.appendChild(_),C&&$.appendChild(C),x.appendChild($)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-dialog`);Wd("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Wd("snack-container",t).appendChild(i),i.notification=e},banner:(e,t,o)=>{var i;const a=t.split("-")[0],n=document.createElement(`${a}-banner`),s=(e=>{for(var t,o;e&&!(e instanceof ShadowRoot);){const i=null===(t=null==e?void 0:e.getRootNode())||void 0===t?void 0:t.getElementById("banner-anchor");if(i)return i.style.position="relative",i;e=null===(o=null==e?void 0:e.getRootNode())||void 0===o?void 0:o.host}return qd()})(o);(null===(i=null==s?void 0:s.children)||void 0===i?void 0:i.length)>0&&(n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%"),s.appendChild(n),n.notification=e}},Zd=(e,t,o)=>{var i,a;Xd.log({message:Yd(e),level:(i=e,(null==i?void 0:i.logLevel)||(null===(a=null==i?void 0:i.config)||void 0===a?void 0:a.logLevel)||ie.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Kd[i]&&Kd[i](e,t,o)}))};class Qd{withTitle(e){return this.title=e,this}withBody(e){return this.body=e,this}withCreatedAt(e){return this.createdAt=e,this}withLogLevel(e){return this.logLevel=e,this}withAlert(e){return this.alert=e,this}withToast(e){return this.toast=e,this}withBanner(e){return this.banner=e,this}withSnackbar(e){return this.snackbar=e,this}withDialog(e){return this.dialog=e,this}build(){if(!this.title)throw new Error("Title is required");if(!this.body)throw new Error("Missing required param 'body'");let e={title:this.title,body:this.body},t={};return this.createdAt&&(e=Object.assign({createdAt:this.createdAt},e)),this.logLevel in ie.LogLevel&&(e=Object.assign({logLevel:this.logLevel},e)),this.alert&&(t=Object.assign({alert:this.alert},t),e=Object.assign({config:t},e)),this.toast&&(t=Object.assign({toast:this.toast},t),e=Object.assign({config:t},e)),this.banner&&(t=Object.assign({banner:this.banner},t),e=Object.assign({config:t},e)),this.snackbar&&(t=Object.assign({snackbar:this.snackbar},t),e=Object.assign({config:t},e)),this.dialog&&(t=Object.assign({dialog:this.dialog},t),e=Object.assign({config:t},e)),e}}class Jd{withPosition(e){return this.position=e,this}withAutoClose(e){return this.autoClose=e,this}withCloseTimeout(e){return this.closeTimeout=e,this}withType(e){return this.type=e,this}withDetails(e){return this.details=e,this}withButtons(e){return this.buttons=e,this}build(){let e={};return this.position&&(e=Object.assign({position:this.position},e)),this.autoClose&&(e=Object.assign({autoClose:this.autoClose},e)),this.closeTimeout&&(e=Object.assign({closeTimeout:this.closeTimeout},e)),this.type&&(e=Object.assign({type:this.type},e)),this.details&&(e=Object.assign({details:this.details},e)),this.buttons&&(e=Object.assign({buttons:this.buttons},e)),e}}const ec={mode:"open",delegatesFocus:!0};class tc extends n.FoundationElement{constructor(){super(...arguments),this.closeTimeout=0,this.toastButtons=[]}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.addEventListener(Ud.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),Zd(e.detail,this.tagName,this.notificationListener)})),this.resourceName&&(yield this.datasource.init({resourceName:this.resourceName},!0),null===(t=this.datasource.stream)||void 0===t||t.subscribe((e=>{e.ROW&&e.SEQUENCE_ID>1&&this.handleStreamUpdate((0,Qe.$)(e))})))}))}handleStreamUpdate(e){const t=e.inserts;t.length>0&&t.forEach((e=>{var t;const{HEADER:o,MESSAGE:i,NOTIFY_SEVERITY:a}=e,n=e.CREATED_AT?new Date(e.CREATED_AT):void 0,s=e.EXPIRY?e.EXPIRY-e.CREATED_AT:0;let l=[];this.toastButtons&&this.toastButtons.length>0&&(l=this.toastButtons.filter((({condition:t})=>!t||t({details:e})))),Zd((new Qd).withTitle(o).withBody(i).withCreatedAt(n).withToast((new Jd).withDetails(e).withType(null==a?void 0:a.toLowerCase()).withButtons(l).withAutoClose(null!==(t=!!s)&&void 0!==t?t:!!this.closeTimeout).withCloseTimeout(null!=s?s:this.closeTimeout).build()).build(),this.tagName,this.notificationListener)}))}}(0,w.__decorate)([l.observable],tc.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],tc.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],tc.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],tc.prototype,"toastButtons",void 0),(0,w.__decorate)([et.Yh],tc.prototype,"datasource",void 0);const oc=tc.compose({baseName:"notification-listener",template:Gd,shadowOptions:ec}),ic=(e,t)=>o=>{const i="function"==typeof t?t:(a=t,e=>Object.assign(Object.assign({},a),e));var a;return l.FASTElement.define(class extends e{},i(o))};function ac(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=l.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}var nc=o(1279);let sc=class extends(nc.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};sc=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],sc);const lc=()=>Bd().register(Hd)}}]);
2696
- //# sourceMappingURL=251.b73d94b659c76918da51eb8dcd836584.js.map
2695
+ `;var Zd;!function(e){e.NOTIFICATION_EVENT="notification-event"}(Zd||(Zd={}));const Qd={mode:"open",delegatesFocus:!0};class Jd extends n.FoundationElement{constructor(){super(...arguments),this.closeTimeout=0,this.toastButtons=[]}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,w.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.addEventListener(Zd.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),ha(e.detail,this.tagName,this.notificationListener)})),this.resourceName&&(yield this.datasource.init({resourceName:this.resourceName},!0),null===(t=this.datasource.stream)||void 0===t||t.subscribe((e=>{e.ROW&&e.SEQUENCE_ID>1&&this.handleStreamUpdate((0,Qe.$)(e))})))}))}handleStreamUpdate(e){const t=e.inserts;t.length>0&&t.forEach((e=>{var t;const{HEADER:o,MESSAGE:i,NOTIFY_SEVERITY:a}=e,n=e.CREATED_AT?new Date(e.CREATED_AT):void 0,s=e.EXPIRY?e.EXPIRY-e.CREATED_AT:0;let l=[];this.toastButtons&&this.toastButtons.length>0&&(l=this.toastButtons.filter((({condition:t})=>!t||t({details:e}))));((e,t)=>{if(!e.title)throw new Error("Title is required");if(!e.body)throw new Error("Missing required param 'body'");let o={title:e.title,body:e.body},i={};e.createdAt&&(o=Object.assign({createdAt:e.createdAt},o)),e.logLevel in ie.LogLevel&&(o=Object.assign({logLevel:e.logLevel},o)),e.toast&&(i=Object.assign({toast:e.toast},i),o=Object.assign({config:i},o)),ua(o,t)})({title:o,body:i,createdAt:n,toast:{details:e,type:null==a?void 0:a.toLowerCase(),buttons:l,autoClose:null!==(t=!!s)&&void 0!==t?t:!!this.closeTimeout,closeTimeout:null!=s?s:this.closeTimeout}},this.tagName)}))}}(0,w.__decorate)([l.observable],Jd.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Jd.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Jd.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],Jd.prototype,"toastButtons",void 0),(0,w.__decorate)([et.Yh],Jd.prototype,"datasource",void 0);const ec=Jd.compose({baseName:"notification-listener",template:Kd,shadowOptions:Qd}),tc=(e,t)=>o=>{const i="function"==typeof t?t:(a=t,e=>Object.assign(Object.assign({},a),e));var a;return l.FASTElement.define(class extends e{},i(o))};function oc(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=l.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}var ic=o(1279);let ac=class extends(ic.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};ac=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],ac);const nc=()=>Wd().register(Ud)}}]);
2696
+ //# sourceMappingURL=645.893fbd17620a2bb7a995f511a6efccca.js.map