@genesislcap/design-system-configurator 14.94.0 → 14.94.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.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[701],{38701:(e,t,o)=>{o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>g,ActionsMenu:()=>_,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>K,Banner:()=>de,BaseDatasource:()=>vs,Breadcrumb:()=>he,BreadcrumbItem:()=>ye,Button:()=>De,CSSVarsTokenMapper:()=>yd,Calendar:()=>Le,Card:()=>Ie,Checkbox:()=>ze,Combobox:()=>Ze,ConnectionIndicator:()=>nt,DEFUALT_FILTER_BAR_COLUMNS:()=>Da,DataGrid:()=>dt,DataGridCell:()=>mt,DataGridDatasource:()=>wd,DataGridRow:()=>yt,DatePicker:()=>Bt,Dialog:()=>Bo,DialogElement:()=>jo,Disclosure:()=>Uo,Divider:()=>Zo,DropdownMenu:()=>si,ErrorBanner:()=>ui,ErrorBoundary:()=>_i,ErrorBoundaryEvent:()=>hi,ErrorDialog:()=>Ri,FaPrefixFromStyle:()=>Cn,FileUpload:()=>ia,Filter:()=>ga,FilterBar:()=>Ca,FilterEvents:()=>va,FlexLayout:()=>Ea,FlexMediaQueriesEnum:()=>Oa,Flipper:()=>Pa,Flyout:()=>Ya,FoundationDesignSystemProvider:()=>Lo,FoundationRouter:()=>Hd,GridLayout:()=>an,GridLayoutItem:()=>dn,GridMediaQueriesEnum:()=>Ka,HorizontalScroll:()=>hn,Icon:()=>_n,Listbox:()=>Ln,ListboxOption:()=>In,Menu:()=>zn,MenuItem:()=>Xn,Modal:()=>is,Multiselect:()=>xs,MultiselectDatasource:()=>gs,NotificationListener:()=>Ad,NumberField:()=>Cs,OptionsDatasource:()=>Nd,Popper:()=>As,Progress:()=>Ps,ProgressRing:()=>Vs,Radio:()=>Ks,RadioGroup:()=>ol,SegmentedControl:()=>rl,SegmentedItem:()=>ml,Select:()=>wl,Skeleton:()=>Cl,Slider:()=>El,SliderLabel:()=>jl,Snackbar:()=>ql,Switch:()=>Ql,Tab:()=>ar,TabPanel:()=>cr,Tabs:()=>gr,TextArea:()=>Fr,TextField:()=>Tr,Toast:()=>Pr,Toolbar:()=>Gr,Tooltip:()=>qr,TreeItem:()=>ed,TreeView:()=>sd,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:()=>wo,actionsMenuBaseStyles:()=>F,baseComponents:()=>gd,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>Fo,black:()=>Ut,bodyFont:()=>s.bodyFont,closeIcon:()=>No,configureDesignSystem:()=>yo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>So,createDesignSystemProxy:()=>fd,createFormData:()=>Ki,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>R,defaultAnchoredRegionConfig:()=>H,defaultAvatarConfig:()=>Y,defaultBadgeConfig:()=>Q,defaultBreadcrumbConfig:()=>ve,defaultBreadcrumbItemConfig:()=>xe,defaultButtonConfig:()=>_e,defaultCalendarConfig:()=>Re,defaultCardConfig:()=>He,defaultCheckboxConfig:()=>Ue,defaultComboboxConfig:()=>Je,defaultDataGridCellConfig:()=>gt,defaultDataGridConfig:()=>ut,defaultDataGridRowConfig:()=>xt,defaultDatePickerConfig:()=>jt,defaultDialogConfig:()=>Ho,defaultDisclosureConfig:()=>Wo,defaultDividerConfig:()=>Jo,defaultFileUploadConfig:()=>na,defaultFillColor:()=>Wt,defaultFlexLayoutConfig:()=>Ra,defaultFlipperConfig:()=>ja,defaultFlyoutConfig:()=>qa,defaultGridLayoutConfig:()=>tn,defaultGridLayoutItemConfig:()=>rn,defaultHorizontalScrollConfig:()=>vn,defaultIconConfig:()=>Dn,defaultListboxConfig:()=>Rn,defaultListboxOptionConfig:()=>Hn,defaultMenuConfig:()=>Un,defaultMenuItemConfig:()=>Zn,defaultModalConfig:()=>os,defaultMultiselectConfig:()=>ws,defaultNeutralForegroundContrast:()=>so,defaultNumberFieldConfig:()=>Os,defaultProgressConfig:()=>js,defaultProgressRingConfig:()=>Ys,defaultRadioConfig:()=>Qs,defaultRadioGroupConfig:()=>al,defaultSegmentedControlConfig:()=>cl,defaultSegmentedItemConfig:()=>gl,defaultSelectConfig:()=>Fl,defaultSkeletonConfig:()=>Ol,defaultSliderConfig:()=>Ml,defaultSliderLabelConfig:()=>Gl,defaultSwitchConfig:()=>er,defaultTabConfig:()=>sr,defaultTabPanelConfig:()=>pr,defaultTabsConfig:()=>br,defaultTextAreaConfig:()=>Sr,defaultTextFieldConfig:()=>Ar,defaultToastConfig:()=>Ir,defaultToolbarConfig:()=>Vr,defaultTooltipConfig:()=>Kr,defaultTreeItemConfig:()=>od,defaultTreeViewConfig:()=>rd,defaultUrlInputConfig:()=>hd,defineFactory:()=>Md,density:()=>s.density,designToken:()=>po,designUnit:()=>s.designUnit,designUnitValue:()=>Do,direction:()=>s.direction,directionValue:()=>$o,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>Qi,dropdownMenuBaseStyles:()=>ti,errorDialogTemplate:()=>Li,extractMenuItems:()=>ii,fillColor:()=>s.fillColor,flyoutAnimationTime:()=>Ga,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:()=>O,foundationActionsMenuStyles:()=>$,foundationActionsMenuTemplate:()=>C,foundationAnchor:()=>E,foundationAnchorShadowOptions:()=>A,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>j,foundationAnchoredRegionShadowOptions:()=>P,foundationAnchoredRegionStyles:()=>M,foundationAnchoredRegionTemplate:()=>N,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>U,foundationAvatarStyles:()=>B,foundationAvatarTemplate:()=>G,foundationBadge:()=>J,foundationBadgeShadowOptions:()=>Z,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>X,foundationBanner:()=>ce,foundationBannerShadowOptions:()=>re,foundationBannerStyles:()=>oe,foundationBannerTemplate:()=>le,foundationBreadcrumb:()=>ge,foundationBreadcrumbItem:()=>Fe,foundationBreadcrumbItemShadowOptions:()=>we,foundationBreadcrumbItemStyles:()=>fe,foundationBreadcrumbItemTemplate:()=>be,foundationBreadcrumbShadowOptions:()=>me,foundationBreadcrumbStyles:()=>ue,foundationBreadcrumbTemplate:()=>pe,foundationButton:()=>Oe,foundationButtonShadowOptions:()=>Ce,foundationButtonStyles:()=>$e,foundationButtonTemplate:()=>Se,foundationCalendar:()=>Ee,foundationCalendarShadowOptions:()=>Ae,foundationCalendarStyles:()=>ke,foundationCalendarTemplate:()=>Te,foundationCard:()=>je,foundationCardShadowOptions:()=>Pe,foundationCardStyles:()=>Ne,foundationCardTemplate:()=>Me,foundationCheckbox:()=>Ye,foundationCheckboxShadowOptions:()=>Ve,foundationCheckboxStyles:()=>Be,foundationCheckboxTemplate:()=>Ge,foundationCombobox:()=>et,foundationComboboxShadowOptions:()=>Qe,foundationComboboxStyles:()=>We,foundationComboboxTemplate:()=>qe,foundationConnectionIndicator:()=>st,foundationConnectionIndicatorStyles:()=>it,foundationConnectionIndicatorTemplate:()=>at,foundationDataGrid:()=>pt,foundationDataGridCell:()=>ft,foundationDataGridCellShadowOptions:()=>vt,foundationDataGridCellStyles:()=>ht,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>Ft,foundationDataGridRowShadowOptions:()=>wt,foundationDataGridRowStyles:()=>bt,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>ct,foundationDataGridStyles:()=>lt,foundationDataGridTemplate:()=>rt,foundationDatePicker:()=>Gt,foundationDatePickerShadowOptions:()=>Ht,foundationDatePickerStyles:()=>Mt,foundationDatePickerTemplate:()=>Pt,foundationDesignSystemProvider:()=>Ao,foundationDialog:()=>Go,foundationDialogShadowOptions:()=>Po,foundationDialogStyles:()=>Eo,foundationDialogTemplate:()=>Io,foundationDisclosure:()=>qo,foundationDisclosureShadowOptions:()=>Yo,foundationDisclosureStyles:()=>zo,foundationDisclosureTemplate:()=>Vo,foundationDivider:()=>ei,foundationDividerShadowOptions:()=>Qo,foundationDividerStyles:()=>Xo,foundationDividerTemplate:()=>Ko,foundationDropdownMenu:()=>li,foundationDropdownMenuStyles:()=>oi,foundationDropdownMenuTemplate:()=>ni,foundationErrorBanner:()=>pi,foundationErrorBannerShadowOptions:()=>ci,foundationErrorBannerTemplate:()=>di,foundationErrorBoundary:()=>Oi,foundationErrorBoundaryShadowOptions:()=>Ci,foundationErrorBoundaryTemplate:()=>Di,foundationErrorDialog:()=>Ei,foundationErrorDialogShadowOptions:()=>Ai,foundationErrorDialogStyles:()=>ki,foundationFileUpload:()=>sa,foundationFileUploadShadowOptions:()=>aa,foundationFileUploadStyles:()=>Wi,foundationFileUploadTemplate:()=>Xi,foundationFilter:()=>fa,foundationFilterBar:()=>_a,foundationFilterBarStyles:()=>ya,foundationFilterBarTemplate:()=>Sa,foundationFilterStyles:()=>la,foundationFilterTemplate:()=>ma,foundationFlexLayout:()=>Na,foundationFlexLayoutShadowOptions:()=>Aa,foundationFlexLayoutStyles:()=>Ta,foundationFlexLayoutTemplate:()=>La,foundationFlipper:()=>Ba,foundationFlipperShadowOptions:()=>Ha,foundationFlipperStyles:()=>Ma,foundationFlipperTemplate:()=>Ia,foundationFlyout:()=>Xa,foundationFlyoutShadowOptions:()=>Wa,foundationFlyoutStyles:()=>za,foundationFlyoutTemplate:()=>Ua,foundationGridLayout:()=>nn,foundationGridLayoutItem:()=>cn,foundationGridLayoutItemShadowOptions:()=>ln,foundationGridLayoutItemTemplate:()=>sn,foundationGridLayoutShadowOptions:()=>en,foundationGridLayoutStyles:()=>Qa,foundationGridLayoutTemplate:()=>Ja,foundationHorizontalScroll:()=>gn,foundationHorizontalScrollShadowOptions:()=>mn,foundationHorizontalScrollStyles:()=>un,foundationHorizontalScrollTemplate:()=>pn,foundationIcon:()=>On,foundationIconShadowOptions:()=>Sn,foundationIconStyles:()=>Fn,foundationIconTemplate:()=>$n,foundationListbox:()=>En,foundationListboxOption:()=>jn,foundationListboxOptionShadowOptions:()=>Pn,foundationListboxOptionStyles:()=>Nn,foundationListboxOptionTemplate:()=>Mn,foundationListboxShadowOptions:()=>An,foundationListboxStyles:()=>kn,foundationListboxTemplate:()=>Tn,foundationMenu:()=>Yn,foundationMenuItem:()=>Qn,foundationMenuItemShadowOptions:()=>Kn,foundationMenuItemStyles:()=>Wn,foundationMenuItemTemplate:()=>qn,foundationMenuShadowOptions:()=>Vn,foundationMenuStyles:()=>Bn,foundationMenuTemplate:()=>Gn,foundationModal:()=>as,foundationModalShadowOptions:()=>ts,foundationModalStyles:()=>Jn,foundationModalTemplate:()=>es,foundationMultiselect:()=>Fs,foundationMultiselectShadowOptions:()=>ys,foundationNotificationListener:()=>Rd,foundationNotificationListenerShadowOptions:()=>Ld,foundationNotificationListenerTemplate:()=>xd,foundationNumberField:()=>ks,foundationNumberFieldShadowOptions:()=>_s,foundationNumberFieldStyles:()=>Ss,foundationNumberFieldTemplate:()=>Ds,foundationPopper:()=>Ns,foundationProgress:()=>Bs,foundationProgressRing:()=>Ws,foundationProgressRingShadowOptions:()=>Us,foundationProgressRingStyles:()=>Gs,foundationProgressRingTemplate:()=>zs,foundationProgressShadowOptions:()=>Hs,foundationProgressStyles:()=>Ms,foundationProgressTemplate:()=>Is,foundationRadio:()=>Js,foundationRadioGroup:()=>nl,foundationRadioGroupShadowOptions:()=>il,foundationRadioGroupStyles:()=>el,foundationRadioGroupTemplate:()=>tl,foundationRadioShadowOptions:()=>Zs,foundationRadioStyles:()=>qs,foundationRadioTemplate:()=>Xs,foundationSegmentedControl:()=>ul,foundationSegmentedControlShadowOptions:()=>dl,foundationSegmentedControlStyles:()=>sl,foundationSegmentedControlTemplate:()=>ll,foundationSegmentedItem:()=>fl,foundationSegmentedItemShadowOptions:()=>vl,foundationSegmentedItemStyles:()=>pl,foundationSegmentedItemTemplate:()=>hl,foundationSelect:()=>$l,foundationSelectShadowOptions:()=>xl,foundationSelectStyles:()=>bl,foundationSelectTemplate:()=>yl,foundationSkeleton:()=>kl,foundationSkeletonShadowOptions:()=>_l,foundationSkeletonStyles:()=>Sl,foundationSkeletonTemplate:()=>Dl,foundationSlider:()=>Il,foundationSliderLabel:()=>zl,foundationSliderLabelShadowOptions:()=>Bl,foundationSliderLabelStyles:()=>Pl,foundationSliderLabelTemplate:()=>Hl,foundationSliderShadowOptions:()=>Nl,foundationSliderStyles:()=>Tl,foundationSliderTemplate:()=>Rl,foundationSnackbar:()=>Xl,foundationSnackbarShadowOptions:()=>Wl,foundationSnackbarStyles:()=>Vl,foundationSnackbarTemplate:()=>Yl,foundationSwitch:()=>tr,foundationSwitchShadowOptions:()=>Jl,foundationSwitchStyles:()=>Kl,foundationSwitchTemplate:()=>Zl,foundationTab:()=>lr,foundationTabPanel:()=>hr,foundationTabPanelShadowOptions:()=>ur,foundationTabPanelStyles:()=>rr,foundationTabPanelTemplate:()=>dr,foundationTabShadowOptions:()=>nr,foundationTabStyles:()=>or,foundationTabTemplate:()=>ir,foundationTabs:()=>yr,foundationTabsShadowOptions:()=>fr,foundationTabsStyles:()=>mr,foundationTabsTemplate:()=>vr,foundationTextArea:()=>Dr,foundationTextAreaShadowOptions:()=>$r,foundationTextAreaStyles:()=>wr,foundationTextAreaTemplate:()=>xr,foundationTextField:()=>Rr,foundationTextFieldShadowOptions:()=>Lr,foundationTextFieldStyles:()=>Or,foundationTextFieldTemplate:()=>kr,foundationToast:()=>Hr,foundationToastShadowOptions:()=>Mr,foundationToastStyles:()=>Er,foundationToastTemplate:()=>Nr,foundationToolbar:()=>Ur,foundationToolbarShadowOptions:()=>zr,foundationToolbarStyles:()=>jr,foundationToolbarTemplate:()=>Br,foundationTooltip:()=>Zr,foundationTooltipShadowOptions:()=>Xr,foundationTooltipStyles:()=>Yr,foundationTooltipTemplate:()=>Wr,foundationTreeItem:()=>id,foundationTreeItemShadowOptions:()=>td,foundationTreeItemStyles:()=>Qr,foundationTreeItemTemplate:()=>Jr,foundationTreeView:()=>dd,foundationTreeViewShadowOptions:()=>ld,foundationTreeViewStyles:()=>ad,foundationTreeViewTemplate:()=>nd,foundationUrlInput:()=>vd,foundationUrlInputShadowOptions:()=>pd,foundationUrlInputStyles:()=>cd,fuiAccentPalette:()=>oo,fuiAccentSwatch:()=>to,fuiCardFillColor:()=>no,fuiCardForegroundColor:()=>ro,fuiDefaultCardFillColor:()=>Xt,fuiDefaultCardPalette:()=>Kt,fuiFillColor:()=>ao,fuiNeutralPalette:()=>Jt,fuiNeutralSwatch:()=>Qt,getBannerTemplate:()=>se,getDefaultConfig:()=>go,getDialogTemplate:()=>Mo,getDropdownMenuTemplate:()=>ai,getErrorDialogTemplate:()=>Ti,getExports:()=>fo,getFontawesomeIconsCss:()=>xn,getPrefixedDatePicker:()=>It,getPrefixedErrorBanner:()=>ri,getPrefixedFileUpload:()=>qi,getPrefixedFilterTemplate:()=>ha,getPrefixedFlyout:()=>Va,getPrefixedMultiselect:()=>fs,getPrefixedSnackbar:()=>Ul,getTypeRampValue:()=>bo,jsonConverter:()=>Ls,mapType:()=>wa,maxheight:()=>ds,media:()=>z,menuTemplate:()=>S,mixinFoundationFontFamily:()=>_o,multiselectStyles:()=>cs,multiselectTemplate:()=>bs,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:()=>lo,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:()=>xo,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:()=>uo,registerFoundationDesignSystem:()=>jd,singleOptionTemplate:()=>D,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>ho,tagFor:()=>Id,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:()=>Zi,urlinputTemplate:()=>ud,white:()=>Vt});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:()=>so,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:()=>no,fuiCardForegroundColor:()=>ro,fuiFillColor:()=>ao,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:()=>lo,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:()=>wo,baseLayerLuminanceValue:()=>Fo,controlCornerRadiusValue:()=>So,designUnitValue:()=>Do,directionValue:()=>$o,neutralPaletteValue:()=>xo});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([[701],{38701:(e,t,o)=>{o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>g,ActionsMenu:()=>_,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>K,Banner:()=>de,BaseDatasource:()=>ms,Breadcrumb:()=>he,BreadcrumbItem:()=>ye,Button:()=>De,CSSVarsTokenMapper:()=>bd,Calendar:()=>Le,Card:()=>Ie,Checkbox:()=>ze,Combobox:()=>Ze,ConnectionIndicator:()=>nt,DEFUALT_FILTER_BAR_COLUMNS:()=>Sa,DataGrid:()=>dt,DataGridCell:()=>mt,DataGridDatasource:()=>yd,DataGridRow:()=>yt,DatePicker:()=>jt,Dialog:()=>jo,DialogElement:()=>Bo,Disclosure:()=>Uo,Divider:()=>Zo,DropdownMenu:()=>si,ErrorBanner:()=>ui,ErrorBoundary:()=>_i,ErrorBoundaryEvent:()=>hi,ErrorDialog:()=>Ri,FaPrefixFromStyle:()=>Dn,FileUpload:()=>ia,Filter:()=>ga,FilterBar:()=>Da,FilterEvents:()=>va,FlexLayout:()=>Ra,FlexMediaQueriesEnum:()=>_a,Flipper:()=>Ia,Flyout:()=>Ua,FoundationDesignSystemProvider:()=>Lo,FoundationRouter:()=>Pd,GridLayout:()=>on,GridLayoutItem:()=>rn,GridMediaQueriesEnum:()=>Xa,HorizontalScroll:()=>pn,Icon:()=>Cn,Listbox:()=>Tn,ListboxOption:()=>Mn,Menu:()=>Gn,MenuItem:()=>qn,Modal:()=>os,Multiselect:()=>ws,MultiselectDatasource:()=>vs,NotificationListener:()=>Ld,NumberField:()=>Ds,OptionsDatasource:()=>Ed,Popper:()=>Ls,Progress:()=>Is,ProgressRing:()=>zs,Radio:()=>Xs,RadioGroup:()=>tl,SegmentedControl:()=>ll,SegmentedItem:()=>hl,Select:()=>yl,Skeleton:()=>Dl,Slider:()=>Rl,SliderLabel:()=>Hl,Snackbar:()=>Wl,Switch:()=>Zl,Tab:()=>ir,TabPanel:()=>dr,Tabs:()=>vr,TextArea:()=>xr,TextField:()=>kr,Toast:()=>Ir,Toolbar:()=>jr,Tooltip:()=>Wr,TreeItem:()=>Jr,TreeView:()=>nd,UrlInput:()=>hd,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:()=>wo,actionsMenuBaseStyles:()=>$,baseComponents:()=>vd,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>$o,black:()=>Ut,bodyFont:()=>s.bodyFont,closeIcon:()=>No,configureDesignSystem:()=>yo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>So,createDesignSystemProxy:()=>gd,createFormData:()=>Ki,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>R,defaultAnchoredRegionConfig:()=>H,defaultAvatarConfig:()=>Y,defaultBadgeConfig:()=>Q,defaultBreadcrumbConfig:()=>ve,defaultBreadcrumbItemConfig:()=>xe,defaultButtonConfig:()=>_e,defaultCalendarConfig:()=>Re,defaultCardConfig:()=>He,defaultCheckboxConfig:()=>Ue,defaultComboboxConfig:()=>Je,defaultDataGridCellConfig:()=>gt,defaultDataGridConfig:()=>ut,defaultDataGridRowConfig:()=>xt,defaultDatePickerConfig:()=>Bt,defaultDialogConfig:()=>Ho,defaultDisclosureConfig:()=>Wo,defaultDividerConfig:()=>Jo,defaultFileUploadConfig:()=>na,defaultFillColor:()=>Wt,defaultFlexLayoutConfig:()=>Aa,defaultFlipperConfig:()=>Ha,defaultFlyoutConfig:()=>Wa,defaultGridLayoutConfig:()=>en,defaultGridLayoutItemConfig:()=>ln,defaultHorizontalScrollConfig:()=>mn,defaultIconConfig:()=>Sn,defaultListboxConfig:()=>An,defaultListboxOptionConfig:()=>Pn,defaultMenuConfig:()=>Vn,defaultMenuItemConfig:()=>Kn,defaultModalConfig:()=>ts,defaultMultiselectConfig:()=>ys,defaultNeutralForegroundContrast:()=>so,defaultNumberFieldConfig:()=>_s,defaultProgressConfig:()=>Hs,defaultProgressRingConfig:()=>Us,defaultRadioConfig:()=>Zs,defaultRadioGroupConfig:()=>il,defaultSegmentedControlConfig:()=>dl,defaultSegmentedItemConfig:()=>vl,defaultSelectConfig:()=>xl,defaultSkeletonConfig:()=>_l,defaultSliderConfig:()=>Nl,defaultSliderLabelConfig:()=>jl,defaultSwitchConfig:()=>Jl,defaultTabConfig:()=>nr,defaultTabPanelConfig:()=>ur,defaultTabsConfig:()=>fr,defaultTextAreaConfig:()=>Fr,defaultTextFieldConfig:()=>Lr,defaultToastConfig:()=>Mr,defaultToolbarConfig:()=>zr,defaultTooltipConfig:()=>Xr,defaultTreeItemConfig:()=>td,defaultTreeViewConfig:()=>ld,defaultUrlInputConfig:()=>pd,defineFactory:()=>Nd,density:()=>s.density,designToken:()=>po,designUnit:()=>s.designUnit,designUnitValue:()=>Do,direction:()=>s.direction,directionValue:()=>Fo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>Qi,dropdownMenuBaseStyles:()=>ti,errorDialogTemplate:()=>Li,extractMenuItems:()=>ii,fillColor:()=>s.fillColor,filterBarTemplate:()=>$a,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:()=>O,foundationActionsMenuStyles:()=>F,foundationActionsMenuTemplate:()=>C,foundationAnchor:()=>E,foundationAnchorShadowOptions:()=>A,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>B,foundationAnchoredRegionShadowOptions:()=>P,foundationAnchoredRegionStyles:()=>M,foundationAnchoredRegionTemplate:()=>N,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>U,foundationAvatarStyles:()=>j,foundationAvatarTemplate:()=>G,foundationBadge:()=>J,foundationBadgeShadowOptions:()=>Z,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>X,foundationBanner:()=>ce,foundationBannerShadowOptions:()=>re,foundationBannerStyles:()=>oe,foundationBannerTemplate:()=>le,foundationBreadcrumb:()=>ge,foundationBreadcrumbItem:()=>$e,foundationBreadcrumbItemShadowOptions:()=>we,foundationBreadcrumbItemStyles:()=>fe,foundationBreadcrumbItemTemplate:()=>be,foundationBreadcrumbShadowOptions:()=>me,foundationBreadcrumbStyles:()=>ue,foundationBreadcrumbTemplate:()=>pe,foundationButton:()=>Oe,foundationButtonShadowOptions:()=>Ce,foundationButtonStyles:()=>Fe,foundationButtonTemplate:()=>Se,foundationCalendar:()=>Ee,foundationCalendarShadowOptions:()=>Ae,foundationCalendarStyles:()=>ke,foundationCalendarTemplate:()=>Te,foundationCard:()=>Be,foundationCardShadowOptions:()=>Pe,foundationCardStyles:()=>Ne,foundationCardTemplate:()=>Me,foundationCheckbox:()=>Ye,foundationCheckboxShadowOptions:()=>Ve,foundationCheckboxStyles:()=>je,foundationCheckboxTemplate:()=>Ge,foundationCombobox:()=>et,foundationComboboxShadowOptions:()=>Qe,foundationComboboxStyles:()=>We,foundationComboboxTemplate:()=>qe,foundationConnectionIndicator:()=>st,foundationConnectionIndicatorStyles:()=>it,foundationConnectionIndicatorTemplate:()=>at,foundationDataGrid:()=>pt,foundationDataGridCell:()=>ft,foundationDataGridCellShadowOptions:()=>vt,foundationDataGridCellStyles:()=>ht,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>$t,foundationDataGridRowShadowOptions:()=>wt,foundationDataGridRowStyles:()=>bt,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>ct,foundationDataGridStyles:()=>lt,foundationDataGridTemplate:()=>rt,foundationDatePicker:()=>Gt,foundationDatePickerShadowOptions:()=>Ht,foundationDatePickerStyles:()=>Mt,foundationDatePickerTemplate:()=>Pt,foundationDesignSystemProvider:()=>Ao,foundationDialog:()=>Go,foundationDialogShadowOptions:()=>Po,foundationDialogStyles:()=>Eo,foundationDialogTemplate:()=>Io,foundationDisclosure:()=>qo,foundationDisclosureShadowOptions:()=>Yo,foundationDisclosureStyles:()=>zo,foundationDisclosureTemplate:()=>Vo,foundationDivider:()=>ei,foundationDividerShadowOptions:()=>Qo,foundationDividerStyles:()=>Xo,foundationDividerTemplate:()=>Ko,foundationDropdownMenu:()=>li,foundationDropdownMenuStyles:()=>oi,foundationDropdownMenuTemplate:()=>ni,foundationErrorBanner:()=>pi,foundationErrorBannerShadowOptions:()=>ci,foundationErrorBannerTemplate:()=>di,foundationErrorBoundary:()=>Oi,foundationErrorBoundaryShadowOptions:()=>Ci,foundationErrorBoundaryTemplate:()=>Di,foundationErrorDialog:()=>Ei,foundationErrorDialogShadowOptions:()=>Ai,foundationErrorDialogStyles:()=>ki,foundationFileUpload:()=>sa,foundationFileUploadShadowOptions:()=>aa,foundationFileUploadStyles:()=>Wi,foundationFileUploadTemplate:()=>Xi,foundationFilter:()=>fa,foundationFilterBar:()=>Ca,foundationFilterBarStyles:()=>ya,foundationFilterBarTemplate:()=>Fa,foundationFilterStyles:()=>la,foundationFilterTemplate:()=>ma,foundationFlexLayout:()=>Ea,foundationFlexLayoutShadowOptions:()=>La,foundationFlexLayoutStyles:()=>ka,foundationFlexLayoutTemplate:()=>Ta,foundationFlipper:()=>Ba,foundationFlipperShadowOptions:()=>Pa,foundationFlipperStyles:()=>Na,foundationFlipperTemplate:()=>Ma,foundationFlyout:()=>qa,foundationFlyoutShadowOptions:()=>Ya,foundationFlyoutStyles:()=>Ga,foundationFlyoutTemplate:()=>Va,foundationGridLayout:()=>an,foundationGridLayoutItem:()=>dn,foundationGridLayoutItemShadowOptions:()=>sn,foundationGridLayoutItemTemplate:()=>nn,foundationGridLayoutShadowOptions:()=>Ja,foundationGridLayoutStyles:()=>Za,foundationGridLayoutTemplate:()=>Qa,foundationHorizontalScroll:()=>vn,foundationHorizontalScrollShadowOptions:()=>hn,foundationHorizontalScrollStyles:()=>cn,foundationHorizontalScrollTemplate:()=>un,foundationIcon:()=>_n,foundationIconShadowOptions:()=>Fn,foundationIconStyles:()=>xn,foundationIconTemplate:()=>$n,foundationListbox:()=>Rn,foundationListboxOption:()=>Hn,foundationListboxOptionShadowOptions:()=>In,foundationListboxOptionStyles:()=>En,foundationListboxOptionTemplate:()=>Nn,foundationListboxShadowOptions:()=>Ln,foundationListboxStyles:()=>On,foundationListboxTemplate:()=>kn,foundationMenu:()=>Un,foundationMenuItem:()=>Zn,foundationMenuItemShadowOptions:()=>Xn,foundationMenuItemStyles:()=>Yn,foundationMenuItemTemplate:()=>Wn,foundationMenuShadowOptions:()=>zn,foundationMenuStyles:()=>Bn,foundationMenuTemplate:()=>jn,foundationModal:()=>is,foundationModalShadowOptions:()=>es,foundationModalStyles:()=>Qn,foundationModalTemplate:()=>Jn,foundationMultiselect:()=>xs,foundationMultiselectShadowOptions:()=>bs,foundationNotificationListener:()=>Ad,foundationNotificationListenerShadowOptions:()=>Td,foundationNotificationListenerTemplate:()=>wd,foundationNumberField:()=>Os,foundationNumberFieldShadowOptions:()=>Cs,foundationNumberFieldStyles:()=>Fs,foundationNumberFieldTemplate:()=>Ss,foundationPopper:()=>Es,foundationProgress:()=>Bs,foundationProgressRing:()=>Ys,foundationProgressRingShadowOptions:()=>Vs,foundationProgressRingStyles:()=>js,foundationProgressRingTemplate:()=>Gs,foundationProgressShadowOptions:()=>Ps,foundationProgressStyles:()=>Ns,foundationProgressTemplate:()=>Ms,foundationRadio:()=>Qs,foundationRadioGroup:()=>al,foundationRadioGroupShadowOptions:()=>ol,foundationRadioGroupStyles:()=>Js,foundationRadioGroupTemplate:()=>el,foundationRadioShadowOptions:()=>Ks,foundationRadioStyles:()=>Ws,foundationRadioTemplate:()=>qs,foundationSegmentedControl:()=>cl,foundationSegmentedControlShadowOptions:()=>rl,foundationSegmentedControlStyles:()=>nl,foundationSegmentedControlTemplate:()=>sl,foundationSegmentedItem:()=>gl,foundationSegmentedItemShadowOptions:()=>ml,foundationSegmentedItemStyles:()=>ul,foundationSegmentedItemTemplate:()=>pl,foundationSelect:()=>$l,foundationSelectShadowOptions:()=>wl,foundationSelectStyles:()=>fl,foundationSelectTemplate:()=>bl,foundationSkeleton:()=>Ol,foundationSkeletonShadowOptions:()=>Cl,foundationSkeletonStyles:()=>Fl,foundationSkeletonTemplate:()=>Sl,foundationSlider:()=>Ml,foundationSliderLabel:()=>Gl,foundationSliderLabelShadowOptions:()=>Bl,foundationSliderLabelStyles:()=>Il,foundationSliderLabelTemplate:()=>Pl,foundationSliderShadowOptions:()=>El,foundationSliderStyles:()=>kl,foundationSliderTemplate:()=>Al,foundationSnackbar:()=>ql,foundationSnackbarShadowOptions:()=>Yl,foundationSnackbarStyles:()=>zl,foundationSnackbarTemplate:()=>Ul,foundationSwitch:()=>er,foundationSwitchShadowOptions:()=>Ql,foundationSwitchStyles:()=>Xl,foundationSwitchTemplate:()=>Kl,foundationTab:()=>sr,foundationTabPanel:()=>pr,foundationTabPanelShadowOptions:()=>cr,foundationTabPanelStyles:()=>lr,foundationTabPanelTemplate:()=>rr,foundationTabShadowOptions:()=>ar,foundationTabStyles:()=>tr,foundationTabTemplate:()=>or,foundationTabs:()=>br,foundationTabsShadowOptions:()=>gr,foundationTabsStyles:()=>hr,foundationTabsTemplate:()=>mr,foundationTextArea:()=>Sr,foundationTextAreaShadowOptions:()=>$r,foundationTextAreaStyles:()=>yr,foundationTextAreaTemplate:()=>wr,foundationTextField:()=>Ar,foundationTextFieldShadowOptions:()=>Tr,foundationTextFieldStyles:()=>_r,foundationTextFieldTemplate:()=>Or,foundationToast:()=>Pr,foundationToastShadowOptions:()=>Nr,foundationToastStyles:()=>Rr,foundationToastTemplate:()=>Er,foundationToolbar:()=>Vr,foundationToolbarShadowOptions:()=>Gr,foundationToolbarStyles:()=>Hr,foundationToolbarTemplate:()=>Br,foundationTooltip:()=>Kr,foundationTooltipShadowOptions:()=>qr,foundationTooltipStyles:()=>Ur,foundationTooltipTemplate:()=>Yr,foundationTreeItem:()=>od,foundationTreeItemShadowOptions:()=>ed,foundationTreeItemStyles:()=>Zr,foundationTreeItemTemplate:()=>Qr,foundationTreeView:()=>rd,foundationTreeViewShadowOptions:()=>sd,foundationTreeViewStyles:()=>id,foundationTreeViewTemplate:()=>ad,foundationUrlInput:()=>md,foundationUrlInputShadowOptions:()=>ud,foundationUrlInputStyles:()=>dd,fuiAccentPalette:()=>oo,fuiAccentSwatch:()=>to,fuiCardFillColor:()=>no,fuiCardForegroundColor:()=>ro,fuiDefaultCardFillColor:()=>Xt,fuiDefaultCardPalette:()=>Kt,fuiFillColor:()=>ao,fuiNeutralPalette:()=>Jt,fuiNeutralSwatch:()=>Qt,getBannerTemplate:()=>se,getDefaultConfig:()=>go,getDialogTemplate:()=>Mo,getDropdownMenuTemplate:()=>ai,getErrorDialogTemplate:()=>Ti,getExports:()=>fo,getFontawesomeIconsCss:()=>wn,getPrefixedDatePicker:()=>It,getPrefixedErrorBanner:()=>ri,getPrefixedFileUpload:()=>qi,getPrefixedFilterTemplate:()=>ha,getPrefixedFlyout:()=>za,getPrefixedMultiselect:()=>gs,getPrefixedSnackbar:()=>Vl,getTypeRampValue:()=>bo,jsonConverter:()=>Ts,mapType:()=>wa,maxheight:()=>rs,media:()=>z,menuTemplate:()=>S,mixinFoundationFontFamily:()=>_o,multiselectStyles:()=>ds,multiselectTemplate:()=>fs,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:()=>lo,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:()=>xo,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:()=>fd,provideTokens:()=>uo,registerFoundationDesignSystem:()=>Hd,singleOptionTemplate:()=>D,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>ho,tagFor:()=>Md,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:()=>Zi,urlinputTemplate:()=>cd,white:()=>Vt});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:()=>so,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:()=>no,fuiCardForegroundColor:()=>ro,fuiFillColor:()=>ao,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:()=>lo,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:()=>wo,baseLayerLuminanceValue:()=>$o,controlCornerRadiusValue:()=>So,designUnitValue:()=>Do,directionValue:()=>Fo,neutralPaletteValue:()=>xo});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)}
@@ -12,7 +12,7 @@
12
12
  display: none;
13
13
  stroke: var(--accent-foreground-rest);
14
14
  }
15
- `,v=(e,t)=>(0,n.accordionItemTemplate)(e,t);class g extends s.AccordionItem{}const f={delegatesFocus:!0,mode:"open"},b={collapsedIcon:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="collapsed-icon">\n <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>',expandedIcon:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="expanded-icon">\n <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>'},y=g.compose(Object.assign({baseName:"accordion-item",template:v,styles:m,shadowOptions:f},b));var w=o(38092),x=o(9770);const F=(e,t)=>l.css`
15
+ `,v=(e,t)=>(0,n.accordionItemTemplate)(e,t);class g extends s.AccordionItem{}const f={delegatesFocus:!0,mode:"open"},b={collapsedIcon:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="collapsed-icon">\n <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>',expandedIcon:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" slot="expanded-icon">\n <path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>\n <path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>'},y=g.compose(Object.assign({baseName:"accordion-item",template:v,styles:m,shadowOptions:f},b));var w=o(38092),x=o(9770);const $=(e,t)=>l.css`
16
16
  :host {
17
17
  --actions-opener-height-multiplier: 0.7px;
18
18
  --actions-opener-bg-color: 249 254 255;
@@ -102,8 +102,8 @@
102
102
  display: flex;
103
103
  flex-direction: column;
104
104
  }
105
- `,$=(e,t)=>l.css`
106
- ${F(e,t)}
105
+ `,F=(e,t)=>l.css`
106
+ ${$(e,t)}
107
107
  `,S=l.html`
108
108
  <fast-button
109
109
  id="actiosnMenuTrigger"
@@ -157,19 +157,19 @@
157
157
  >
158
158
  ${e=>e.getTemplate()}
159
159
  </div>
160
- `;class _ extends n.FoundationElement{constructor(){super(...arguments),this.isVertical=!1,this.addDefaultActions=!0,this.autoCloseOnAction=!0,this.name="Actions",this.open=!1,this.hideDisabled=!1,this.hideMenuSingleOption=!1}definitionChanged(e,t){var o;this.actions=null!==(o=null==t?void 0:t.actions)&&void 0!==o?o:[],delete this.definition.actions,t.buttonText&&(this.name=t.buttonText,delete this.definition.customButtonText),t.isVertical&&(this.isVertical=t.isVertical,delete this.definition.isVertical),t.buttonAppearance&&(this.buttonAppearance=t.buttonAppearance,delete this.definition.buttonAppearance),t.hideMenuSingleOption&&(this.hideMenuSingleOption=t.hideMenuSingleOption,delete this.definition.hideMenuSingleOption)}openChanged(){this.classNames=(0,x.A)(["visible",this.open],["hidden",!this.open])}toggleActionsMenuVisibility(){this.open=!this.open}onActionMenuItemClick(e){this.autoCloseOnAction&&(this.open=!1),e(this.rowData)}get allActions(){var e;const t=[{name:"✖",callback:()=>this.open=!1}];return this.addDefaultActions?[...null!==(e=this.actions)&&void 0!==e?e:[],...t]:this.actions}get rowData(){if(!this.definition)return;const{node:e,data:t}=this.definition;return(null==e?void 0:e.data)||t}getLabel(e){return this.rowData?"function"==typeof e?e(this.rowData):e:""}getTemplate(){if(!this.hideMenuSingleOption)return S;const e=this.actions.filter((e=>!e.isDisabled||!e.isDisabled(this.rowData)));return this.singleOption=null,0!==e.length?1===e.length?(this.singleOption=e[0],D):S:void 0}}(0,w.__decorate)([l.observable],_.prototype,"actions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"is-vertical",mode:"boolean"})],_.prototype,"isVertical",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"add-default-actions",mode:"boolean"})],_.prototype,"addDefaultActions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close-on-action",mode:"boolean"})],_.prototype,"autoCloseOnAction",void 0),(0,w.__decorate)([l.observable],_.prototype,"classNames",void 0),(0,w.__decorate)([l.observable],_.prototype,"definition",void 0),(0,w.__decorate)([l.attr],_.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"open",mode:"boolean"})],_.prototype,"open",void 0),(0,w.__decorate)([l.attr],_.prototype,"buttonAppearance",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-disabled",mode:"boolean"})],_.prototype,"hideDisabled",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-menu-single-option",mode:"boolean"})],_.prototype,"hideMenuSingleOption",void 0),(0,w.__decorate)([l.observable],_.prototype,"singleOption",void 0);const O=_.compose({baseName:"actions-menu",styles:$,template:C}),k=(e,t)=>l.css`
160
+ `;class _ extends n.FoundationElement{constructor(){super(...arguments),this.isVertical=!1,this.addDefaultActions=!0,this.autoCloseOnAction=!0,this.name="Actions",this.open=!1,this.hideDisabled=!1,this.hideMenuSingleOption=!1}definitionChanged(e,t){var o;this.actions=null!==(o=null==t?void 0:t.actions)&&void 0!==o?o:[],delete this.definition.actions,t.buttonText&&(this.name=t.buttonText,delete this.definition.customButtonText),t.isVertical&&(this.isVertical=t.isVertical,delete this.definition.isVertical),t.buttonAppearance&&(this.buttonAppearance=t.buttonAppearance,delete this.definition.buttonAppearance),t.hideMenuSingleOption&&(this.hideMenuSingleOption=t.hideMenuSingleOption,delete this.definition.hideMenuSingleOption)}openChanged(){this.classNames=(0,x.A)(["visible",this.open],["hidden",!this.open])}toggleActionsMenuVisibility(){this.open=!this.open}onActionMenuItemClick(e){this.autoCloseOnAction&&(this.open=!1),e(this.rowData)}get allActions(){var e;const t=[{name:"✖",callback:()=>this.open=!1}];return this.addDefaultActions?[...null!==(e=this.actions)&&void 0!==e?e:[],...t]:this.actions}get rowData(){if(!this.definition)return;const{node:e,data:t}=this.definition;return(null==e?void 0:e.data)||t}getLabel(e){return this.rowData?"function"==typeof e?e(this.rowData):e:""}getTemplate(){if(!this.hideMenuSingleOption)return S;const e=this.actions.filter((e=>!e.isDisabled||!e.isDisabled(this.rowData)));return this.singleOption=null,0!==e.length?1===e.length?(this.singleOption=e[0],D):S:void 0}}(0,w.__decorate)([l.observable],_.prototype,"actions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"is-vertical",mode:"boolean"})],_.prototype,"isVertical",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"add-default-actions",mode:"boolean"})],_.prototype,"addDefaultActions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close-on-action",mode:"boolean"})],_.prototype,"autoCloseOnAction",void 0),(0,w.__decorate)([l.observable],_.prototype,"classNames",void 0),(0,w.__decorate)([l.observable],_.prototype,"definition",void 0),(0,w.__decorate)([l.attr],_.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"open",mode:"boolean"})],_.prototype,"open",void 0),(0,w.__decorate)([l.attr],_.prototype,"buttonAppearance",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-disabled",mode:"boolean"})],_.prototype,"hideDisabled",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-menu-single-option",mode:"boolean"})],_.prototype,"hideMenuSingleOption",void 0),(0,w.__decorate)([l.observable],_.prototype,"singleOption",void 0);const O=_.compose({baseName:"actions-menu",styles:F,template:C}),k=(e,t)=>l.css`
161
161
  ${(0,s.anchorStyles)(e,t)}
162
162
  `,T=(e,t)=>(0,n.anchorTemplate)(e,t);class L extends s.Anchor{}const A={delegatesFocus:!0,mode:"open"},R={},E=L.compose(Object.assign({baseName:"anchor",template:T,styles:k,shadowOptions:A},R)),N=(e,t)=>(0,n.anchoredRegionTemplate)(e,t),M=(e,t)=>l.css`
163
163
  ${(0,s.anchoredRegionStyles)(e,t)}
164
- `;class I extends s.AnchoredRegion{}const P={delegatesFocus:!0,mode:"open"},H={},j=I.compose(Object.assign({baseName:"anchored-region",template:N,styles:M,shadowOptions:P},H)),B=(e,t)=>l.css`
164
+ `;class I extends s.AnchoredRegion{}const P={delegatesFocus:!0,mode:"open"},H={},B=I.compose(Object.assign({baseName:"anchored-region",template:N,styles:M,shadowOptions:P},H)),j=(e,t)=>l.css`
165
165
  ${(0,s.avatarStyles)(e,t)}
166
166
  `,G=(e,t)=>(0,n.avatarTemplate)(e,t),z=l.html`
167
167
  ${(0,l.when)((e=>e.imgSrc),l.html`
168
168
  <img src="${e=>e.imgSrc}" alt="${e=>e.alt}" slot="media" class="media" part="media" />
169
169
  `)}
170
- `;class V extends s.Avatar{}const U={delegatesFocus:!0,mode:"open"},Y={media:z},W=V.compose(Object.assign({baseName:"avatar",template:G,styles:B,shadowOptions:U},Y)),q=(e,t)=>l.css`
170
+ `;class V extends s.Avatar{}const U={delegatesFocus:!0,mode:"open"},Y={media:z},W=V.compose(Object.assign({baseName:"avatar",template:G,styles:j,shadowOptions:U},Y)),q=(e,t)=>l.css`
171
171
  ${(0,s.badgeStyles)(e,t)}
172
- `,X=(e,t)=>(0,n.badgeTemplate)(e,t);class K extends s.Badge{}const Z=void 0,Q={},J=K.compose(Object.assign({baseName:"badge",template:X,styles:q,shadowOptions:Z},Q));var ee=o(11742);const te=(0,ee.createLogger)("foundation-ui"),oe=l.css`
172
+ `,X=(e,t)=>(0,n.badgeTemplate)(e,t);class K extends s.Badge{}const Z=void 0,Q={},J=K.compose(Object.assign({baseName:"badge",template:X,styles:q,shadowOptions:Z},Q));var ee=o(89753);const te=(0,ee.createLogger)("foundation-ui"),oe=l.css`
173
173
  @keyframes delete-animate {
174
174
  from {
175
175
  height: 100px;
@@ -275,9 +275,9 @@
275
275
  ${(0,s.breadcrumbStyles)(e,t)}
276
276
  `,pe=(e,t)=>(0,n.breadcrumbTemplate)(e,t);class he extends s.Breadcrumb{}const me=void 0,ve={},ge=he.compose(Object.assign({baseName:"breadcrumb",template:pe,styles:ue,shadowOptions:me},ve)),fe=(e,t)=>l.css`
277
277
  ${(0,s.breadcrumbItemStyles)(e,t)}
278
- `,be=(e,t)=>(0,n.breadcrumbItemTemplate)(e,t);class ye extends s.BreadcrumbItem{}const we=void 0,xe={separator:"/"},Fe=ye.compose(Object.assign({baseName:"breadcrumb-item",template:be,styles:fe,shadowOptions:we},xe)),$e=(e,t)=>l.css`
278
+ `,be=(e,t)=>(0,n.breadcrumbItemTemplate)(e,t);class ye extends s.BreadcrumbItem{}const we=void 0,xe={separator:"/"},$e=ye.compose(Object.assign({baseName:"breadcrumb-item",template:be,styles:fe,shadowOptions:we},xe)),Fe=(e,t)=>l.css`
279
279
  ${(0,s.buttonStyles)(e,t)}
280
- `,Se=(e,t)=>(0,n.buttonTemplate)(e,t);class De extends s.Button{}const Ce={delegatesFocus:!0,mode:"open"},_e={},Oe=De.compose(Object.assign({baseName:"button",template:Se,styles:$e,shadowOptions:Ce},_e)),ke=()=>l.css`
280
+ `,Se=(e,t)=>(0,n.buttonTemplate)(e,t);class De extends s.Button{}const Ce={delegatesFocus:!0,mode:"open"},_e={},Oe=De.compose(Object.assign({baseName:"button",template:Se,styles:Fe,shadowOptions:Ce},_e)),ke=()=>l.css`
281
281
  ${s.CalendarStyles}
282
282
  `,Te=(e,t)=>(0,n.calendarTemplate)(e,t);class Le extends s.Calendar{}const Ae={delegatesFocus:!0,mode:"open"},Re={},Ee=Le.compose(Object.assign({baseName:"calendar",template:Te,styles:ke,shadowOptions:Ae},Re)),Ne=(e,t)=>l.css`
283
283
  ${(0,s.cardStyles)(e,t)}
@@ -285,9 +285,9 @@
285
285
  background-color: var(--fui-card-fill-color);
286
286
  color: var(--fui-card-foreground-color);
287
287
  }
288
- `,Me=(e,t)=>(0,n.cardTemplate)(e,t);class Ie extends s.Card{}const Pe=void 0,He={},je=Ie.compose(Object.assign({baseName:"card",template:Me,styles:Ne,shadowOptions:Pe},He)),Be=(e,t)=>l.css`
288
+ `,Me=(e,t)=>(0,n.cardTemplate)(e,t);class Ie extends s.Card{}const Pe=void 0,He={},Be=Ie.compose(Object.assign({baseName:"card",template:Me,styles:Ne,shadowOptions:Pe},He)),je=(e,t)=>l.css`
289
289
  ${(0,s.checkboxStyles)(e,t)}
290
- `,Ge=(e,t)=>(0,n.checkboxTemplate)(e,t);class ze extends s.Checkbox{}const Ve=void 0,Ue={checkedIndicator:'\n <svg\n aria-hidden="true"\n part="checked-indicator"\n class="checked-indicator"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z"\n />\n </svg>\n ',indeterminateIndicator:'\n <div part="indeterminate-indicator" class="indeterminate-indicator"></div>\n '},Ye=ze.compose(Object.assign({baseName:"checkbox",template:Ge,styles:Be,shadowOptions:Ve},Ue)),We=(e,t)=>l.css`
290
+ `,Ge=(e,t)=>(0,n.checkboxTemplate)(e,t);class ze extends s.Checkbox{}const Ve=void 0,Ue={checkedIndicator:'\n <svg\n aria-hidden="true"\n part="checked-indicator"\n class="checked-indicator"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z"\n />\n </svg>\n ',indeterminateIndicator:'\n <div part="indeterminate-indicator" class="indeterminate-indicator"></div>\n '},Ye=ze.compose(Object.assign({baseName:"checkbox",template:Ge,styles:je,shadowOptions:Ve},Ue)),We=(e,t)=>l.css`
291
291
  .combo-box-indicator {
292
292
  transition-property: transform;
293
293
  transition-duration: 0.2s;
@@ -361,7 +361,7 @@
361
361
  ${(0,s.dataGridCellStyles)(e,t)}
362
362
  `;class mt extends s.DataGridCell{}const vt=void 0,gt={},ft=mt.compose(Object.assign({baseName:"data-grid-cell",template:n.dataGridCellTemplate,styles:ht,shadowOptions:vt},gt)),bt=(e,t)=>l.css`
363
363
  ${(0,s.dataGridRowStyles)(e,t)}
364
- `;class yt extends s.DataGridRow{}const wt=void 0,xt={},Ft=yt.compose(Object.assign({baseName:"data-grid-row",template:n.dataGridRowTemplate,styles:bt,shadowOptions:wt},xt));var $t=o(87530),St=o.n($t),Dt=o(55466),Ct=o.n(Dt),_t=o(82839),Ot=o.n(_t),kt=o(55477),Tt=o.n(kt),Lt=o(78113),At=o.n(Lt);class Rt{constructor(e=null,t="default"){e=null!=e?e:new Date,this.Date=e,this.date=e.getDate(),this.day=e.toLocaleString(t,{weekday:"long"}),this.dayNumber=e.getDay()+1,this.dayShort=e.toLocaleString(t,{weekday:"short"}),this.year=e.getFullYear(),this.yearShort=Number(e.toLocaleString(t,{year:"2-digit"})),this.month=e.toLocaleString(t,{month:"long"}),this.monthShort=e.toLocaleString(t,{month:"short"}),this.monthNumber=e.getMonth()+1,this.timestamp=e.getTime()}}St().extend(At());class Et{constructor(e=null,t="default"){const o=new Rt(e,t);this.lang=t,this.name=o.month,this.number=o.monthNumber,this.year=o.year,this.numberOfDays=[31,28,31,30,31,30,31,31,30,31,30,31][this.number-1],2===this.number&&(this.numberOfDays+=St()(o.date).isLeapYear()?1:0)}getDay(e){return new Rt(new Date(this.year,this.number-1,e),this.lang)}}St().extend(At());class Nt{constructor(e=null,t=null,o="default"){this.weekDays=Array.from({length:7}),this.today=new Rt(null,o),this.year=null!=e?e:this.today.year,this.month=new Et(new Date(this.year,(t||this.today.monthNumber)-1),o),this.lang=o,this.weekDays.forEach(((e,t)=>{const o=this.month.getDay(t);this.weekDays[o.dayNumber-1]=o.day}))}getMonth(e){return new Et(new Date(this.year,e-1),this.lang)}getPreviousMonth(){return 1===this.month.number?new Et(new Date(this.year-1,11),this.lang):new Et(new Date(this.year,this.month.number-2),this.lang)}getNextMonth(){return 1===this.month.number?new Et(new Date(this.year+1,0),this.lang):new Et(new Date(this.year,this.month.number+2),this.lang)}goToDate(e,t){this.month=new Et(new Date(t,e-1),this.lang),this.year=t}goToNextYear(){this.year+=1,this.month=new Et(new Date(this.year,0),this.lang)}goToPreviousYear(){this.year-=1,this.month=new Et(new Date(this.year,11),this.lang)}goToNextMonth(){if(12===this.month.number)return this.goToNextYear();this.month=new Et(new Date(this.year,this.month.number+1-1),this.lang)}goToPreviousMonth(){if(1===this.month.number)return this.goToPreviousYear();this.month=new Et(new Date(this.year,this.month.number-1-1),this.lang)}}const Mt=l.css`
364
+ `;class yt extends s.DataGridRow{}const wt=void 0,xt={},$t=yt.compose(Object.assign({baseName:"data-grid-row",template:n.dataGridRowTemplate,styles:bt,shadowOptions:wt},xt));var Ft=o(87530),St=o.n(Ft),Dt=o(55466),Ct=o.n(Dt),_t=o(82839),Ot=o.n(_t),kt=o(55477),Tt=o.n(kt),Lt=o(78113),At=o.n(Lt);class Rt{constructor(e=null,t="default"){e=null!=e?e:new Date,this.Date=e,this.date=e.getDate(),this.day=e.toLocaleString(t,{weekday:"long"}),this.dayNumber=e.getDay()+1,this.dayShort=e.toLocaleString(t,{weekday:"short"}),this.year=e.getFullYear(),this.yearShort=Number(e.toLocaleString(t,{year:"2-digit"})),this.month=e.toLocaleString(t,{month:"long"}),this.monthShort=e.toLocaleString(t,{month:"short"}),this.monthNumber=e.getMonth()+1,this.timestamp=e.getTime()}}St().extend(At());class Et{constructor(e=null,t="default"){const o=new Rt(e,t);this.lang=t,this.name=o.month,this.number=o.monthNumber,this.year=o.year,this.numberOfDays=[31,28,31,30,31,30,31,31,30,31,30,31][this.number-1],2===this.number&&(this.numberOfDays+=St()(o.date).isLeapYear()?1:0)}getDay(e){return new Rt(new Date(this.year,this.number-1,e),this.lang)}}St().extend(At());class Nt{constructor(e=null,t=null,o="default"){this.weekDays=Array.from({length:7}),this.today=new Rt(null,o),this.year=null!=e?e:this.today.year,this.month=new Et(new Date(this.year,(t||this.today.monthNumber)-1),o),this.lang=o,this.weekDays.forEach(((e,t)=>{const o=this.month.getDay(t);this.weekDays[o.dayNumber-1]=o.day}))}getMonth(e){return new Et(new Date(this.year,e-1),this.lang)}getPreviousMonth(){return 1===this.month.number?new Et(new Date(this.year-1,11),this.lang):new Et(new Date(this.year,this.month.number-2),this.lang)}getNextMonth(){return 1===this.month.number?new Et(new Date(this.year+1,0),this.lang):new Et(new Date(this.year,this.month.number+2),this.lang)}goToDate(e,t){this.month=new Et(new Date(t,e-1),this.lang),this.year=t}goToNextYear(){this.year+=1,this.month=new Et(new Date(this.year,0),this.lang)}goToPreviousYear(){this.year-=1,this.month=new Et(new Date(this.year,11),this.lang)}goToNextMonth(){if(12===this.month.number)return this.goToNextYear();this.month=new Et(new Date(this.year,this.month.number+1-1),this.lang)}goToPreviousMonth(){if(1===this.month.number)return this.goToPreviousYear();this.month=new Et(new Date(this.year,this.month.number-1-1),this.lang)}}const Mt=l.css`
365
365
  :host {
366
366
  position: relative;
367
367
  }
@@ -532,7 +532,7 @@
532
532
  </div>
533
533
  `,Pt=l.html`
534
534
  ${e=>It(ne(e))}
535
- `,Ht=void 0,jt={};class Bt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=St()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=St()().localeData().longDateFormat("L");this.currentDate=new Rt(St()(t,e).toDate(),this.lang),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=St()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}}constructor(){super(),this.format="MM-DD-YYYY",this.lang="en-US",this.visible=!1,this.position="bottom",St().extend(Ct()),St().extend(Tt()),St().extend(Ot()),this.substringNumber=3;const e=this.getAttribute("value"),t=e?St()(e,"MM-DD-YYYY"):St()();this.currentDate=new Rt(t.toDate(),this.lang),this.calendar=new Nt(this.currentDate.year,this.currentDate.monthNumber,this.lang),this.value=St()(this.currentDate.Date).format("MM-DD-YYYY")}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=St()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,x.A)(["visible",this.visible],this.position)}isSelectedDate(e){return St()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){St()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=St()(this.currentDate.Date).format(this.format),this.value=St()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,w.__decorate)([l.attr],Bt.prototype,"format",void 0),(0,w.__decorate)([l.attr],Bt.prototype,"lang",void 0),(0,w.__decorate)([l.attr],Bt.prototype,"visible",void 0),(0,w.__decorate)([l.attr],Bt.prototype,"position",void 0),(0,w.__decorate)([l.attr],Bt.prototype,"value",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"currentDate",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"currentMonth",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"currentYear",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"calendarDropdownClasses",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"formatDate",void 0),(0,w.__decorate)([l.observable],Bt.prototype,"monthList",void 0);const Gt=Bt.compose(Object.assign({baseName:"date-picker",styles:Mt,template:Pt,shadowOptions:Ht},jt));var zt=o(82694);const Vt=s.SwatchRGB.create(1,1,1),Ut=s.SwatchRGB.create(0,0,0),Yt=(0,zt.parseColorHexRGB)("#585858"),Wt=s.SwatchRGB.create(Yt.r,Yt.g,Yt.b),qt=(0,zt.parseColorHexRGB)("#ffffff"),Xt=s.SwatchRGB.create(qt.r,qt.g,qt.b),Kt=s.PaletteRGB.from(Xt),Zt=(0,zt.parseColorHexRGB)("#eeeeee"),Qt=s.SwatchRGB.create(Zt.r,Zt.g,Zt.b),Jt=s.PaletteRGB.from(Qt),eo=(0,zt.parseColorHexRGB)("#08c3a5"),to=s.SwatchRGB.create(eo.r,eo.g,eo.b),oo=s.PaletteRGB.from(to),{create:io}=n.DesignToken,ao=io("fui-fill-color").withDefault(Wt),no=io({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(Xt),so=14;function lo(e,t){return e.colorContrast(t,so)}const ro=io({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>lo(io("fui-card-palette").withDefault(Kt).getValueFor(e),no.getValueFor(e))));var co=o(47823);const uo=(e,t,o)=>{const i=o?(e,t)=>e.setValueFor(o,t):(e,t)=>e.withDefault(t);Object.keys(e).forEach((o=>{const a=`${o}Value`;t[a]&&i(e[o],t[a])}))};function po(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const ho={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,zt.parseColorHexRGB)(e);return t?s.SwatchRGB.create(t.r,t.g,t.b):null}},mo=e=>s.PaletteRGB.from(s.SwatchRGB.from((0,zt.parseColorHexRGB)(e))),vo=["baseClass","baseName","shadowOptions","styles","template"],go=(e,t=vo)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),fo=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:go(t)}},bo=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},yo=(e,t)=>{const o=t.design_tokens;s.accentPalette.setValueFor(e,mo(o.color.accent.$value)),s.neutralPalette.setValueFor(e,mo(o.color.neutral.$value)),s.bodyFont.setValueFor(e,o.fontFamily.bodyFont.$value),s.baseLayerLuminance.setValueFor(e,o.mode.luminance.$value),s.density.setValueFor(e,o.style.density.$value),s.controlCornerRadius.setValueFor(e,o.style.borderRadius.$value),s.strokeWidth.setValueFor(e,o.style.strokeWidth.$value),s.designUnit.setValueFor(e,o.space.designUnit.$value),s.typeRampBaseFontSize.setValueFor(e,o.typography.baseFontSize.$value),s.typeRampBaseLineHeight.setValueFor(e,o.typography.baseLineHeight.$value);const i=s.typeRampBaseFontSize.getValueFor(e),a=s.typeRampBaseLineHeight.getValueFor(e);s.typeRampMinus1FontSize.setValueFor(e,bo(i,co.Yd.minusOne)),s.typeRampMinus1LineHeight.setValueFor(e,bo(a,co.Yd.minusOne)),s.typeRampMinus2FontSize.setValueFor(e,bo(i,co.Yd.minusTwo)),s.typeRampMinus2LineHeight.setValueFor(e,bo(a,co.Yd.minusTwo)),s.typeRampPlus1FontSize.setValueFor(e,bo(i,co.Yd.plusOne)),s.typeRampPlus1LineHeight.setValueFor(e,bo(a,co.Yd.plusOne)),s.typeRampPlus2FontSize.setValueFor(e,bo(i,co.Yd.plusTwo)),s.typeRampPlus2LineHeight.setValueFor(e,bo(a,co.Yd.plusTwo)),s.typeRampPlus3FontSize.setValueFor(e,bo(i,co.Yd.plusThree)),s.typeRampPlus3LineHeight.setValueFor(e,bo(a,co.Yd.plusThree)),s.typeRampPlus4FontSize.setValueFor(e,bo(i,co.Yd.plusFour)),s.typeRampPlus4LineHeight.setValueFor(e,bo(a,co.Yd.plusFour)),s.typeRampPlus5FontSize.setValueFor(e,bo(i,co.Yd.plusFive)),s.typeRampPlus5LineHeight.setValueFor(e,bo(a,co.Yd.plusFive)),s.typeRampPlus6FontSize.setValueFor(e,bo(i,co.Yd.plusSix)),s.typeRampPlus6LineHeight.setValueFor(e,bo(a,co.Yd.plusSix))},wo=mo("#08c3a5"),xo=mo("#eeeeee"),Fo=s.StandardLuminance.DarkMode;const $o=o(5598).N.ltr,So=4,Do=4;var Co=o(67973);const _o=(e="normal",t="normal")=>`\n font-family: ${s.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,Oo=l.css`
535
+ `,Ht=void 0,Bt={};class jt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=St()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=St()().localeData().longDateFormat("L");this.currentDate=new Rt(St()(t,e).toDate(),this.lang),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=St()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}}constructor(){super(),this.format="MM-DD-YYYY",this.lang="en-US",this.visible=!1,this.position="bottom",St().extend(Ct()),St().extend(Tt()),St().extend(Ot()),this.substringNumber=3;const e=this.getAttribute("value"),t=e?St()(e,"MM-DD-YYYY"):St()();this.currentDate=new Rt(t.toDate(),this.lang),this.calendar=new Nt(this.currentDate.year,this.currentDate.monthNumber,this.lang),this.value=St()(this.currentDate.Date).format("MM-DD-YYYY")}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=St()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,x.A)(["visible",this.visible],this.position)}isSelectedDate(e){return St()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){St()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=St()(this.currentDate.Date).format(this.format),this.value=St()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,w.__decorate)([l.attr],jt.prototype,"format",void 0),(0,w.__decorate)([l.attr],jt.prototype,"lang",void 0),(0,w.__decorate)([l.attr],jt.prototype,"visible",void 0),(0,w.__decorate)([l.attr],jt.prototype,"position",void 0),(0,w.__decorate)([l.attr],jt.prototype,"value",void 0),(0,w.__decorate)([l.observable],jt.prototype,"currentDate",void 0),(0,w.__decorate)([l.observable],jt.prototype,"currentMonth",void 0),(0,w.__decorate)([l.observable],jt.prototype,"currentYear",void 0),(0,w.__decorate)([l.observable],jt.prototype,"calendarDropdownClasses",void 0),(0,w.__decorate)([l.observable],jt.prototype,"formatDate",void 0),(0,w.__decorate)([l.observable],jt.prototype,"monthList",void 0);const Gt=jt.compose(Object.assign({baseName:"date-picker",styles:Mt,template:Pt,shadowOptions:Ht},Bt));var zt=o(82694);const Vt=s.SwatchRGB.create(1,1,1),Ut=s.SwatchRGB.create(0,0,0),Yt=(0,zt.parseColorHexRGB)("#585858"),Wt=s.SwatchRGB.create(Yt.r,Yt.g,Yt.b),qt=(0,zt.parseColorHexRGB)("#ffffff"),Xt=s.SwatchRGB.create(qt.r,qt.g,qt.b),Kt=s.PaletteRGB.from(Xt),Zt=(0,zt.parseColorHexRGB)("#eeeeee"),Qt=s.SwatchRGB.create(Zt.r,Zt.g,Zt.b),Jt=s.PaletteRGB.from(Qt),eo=(0,zt.parseColorHexRGB)("#08c3a5"),to=s.SwatchRGB.create(eo.r,eo.g,eo.b),oo=s.PaletteRGB.from(to),{create:io}=n.DesignToken,ao=io("fui-fill-color").withDefault(Wt),no=io({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(Xt),so=14;function lo(e,t){return e.colorContrast(t,so)}const ro=io({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>lo(io("fui-card-palette").withDefault(Kt).getValueFor(e),no.getValueFor(e))));var co=o(47823);const uo=(e,t,o)=>{const i=o?(e,t)=>e.setValueFor(o,t):(e,t)=>e.withDefault(t);Object.keys(e).forEach((o=>{const a=`${o}Value`;t[a]&&i(e[o],t[a])}))};function po(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const ho={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,zt.parseColorHexRGB)(e);return t?s.SwatchRGB.create(t.r,t.g,t.b):null}},mo=e=>s.PaletteRGB.from(s.SwatchRGB.from((0,zt.parseColorHexRGB)(e))),vo=["baseClass","baseName","shadowOptions","styles","template"],go=(e,t=vo)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),fo=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:go(t)}},bo=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},yo=(e,t)=>{const o=t.design_tokens;s.accentPalette.setValueFor(e,mo(o.color.accent.$value)),s.neutralPalette.setValueFor(e,mo(o.color.neutral.$value)),s.bodyFont.setValueFor(e,o.fontFamily.bodyFont.$value),s.baseLayerLuminance.setValueFor(e,o.mode.luminance.$value),s.density.setValueFor(e,o.style.density.$value),s.controlCornerRadius.setValueFor(e,o.style.borderRadius.$value),s.strokeWidth.setValueFor(e,o.style.strokeWidth.$value),s.designUnit.setValueFor(e,o.space.designUnit.$value),s.typeRampBaseFontSize.setValueFor(e,o.typography.baseFontSize.$value),s.typeRampBaseLineHeight.setValueFor(e,o.typography.baseLineHeight.$value);const i=s.typeRampBaseFontSize.getValueFor(e),a=s.typeRampBaseLineHeight.getValueFor(e);s.typeRampMinus1FontSize.setValueFor(e,bo(i,co.Yd.minusOne)),s.typeRampMinus1LineHeight.setValueFor(e,bo(a,co.Yd.minusOne)),s.typeRampMinus2FontSize.setValueFor(e,bo(i,co.Yd.minusTwo)),s.typeRampMinus2LineHeight.setValueFor(e,bo(a,co.Yd.minusTwo)),s.typeRampPlus1FontSize.setValueFor(e,bo(i,co.Yd.plusOne)),s.typeRampPlus1LineHeight.setValueFor(e,bo(a,co.Yd.plusOne)),s.typeRampPlus2FontSize.setValueFor(e,bo(i,co.Yd.plusTwo)),s.typeRampPlus2LineHeight.setValueFor(e,bo(a,co.Yd.plusTwo)),s.typeRampPlus3FontSize.setValueFor(e,bo(i,co.Yd.plusThree)),s.typeRampPlus3LineHeight.setValueFor(e,bo(a,co.Yd.plusThree)),s.typeRampPlus4FontSize.setValueFor(e,bo(i,co.Yd.plusFour)),s.typeRampPlus4LineHeight.setValueFor(e,bo(a,co.Yd.plusFour)),s.typeRampPlus5FontSize.setValueFor(e,bo(i,co.Yd.plusFive)),s.typeRampPlus5LineHeight.setValueFor(e,bo(a,co.Yd.plusFive)),s.typeRampPlus6FontSize.setValueFor(e,bo(i,co.Yd.plusSix)),s.typeRampPlus6LineHeight.setValueFor(e,bo(a,co.Yd.plusSix))},wo=mo("#08c3a5"),xo=mo("#eeeeee"),$o=s.StandardLuminance.DarkMode;const Fo=o(5598).N.ltr,So=4,Do=4;var Co=o(67973);const _o=(e="normal",t="normal")=>`\n font-family: ${s.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,Oo=l.css`
536
536
  ${(0,n.display)("flex")}
537
537
  :host {
538
538
  flex: 1;
@@ -660,7 +660,7 @@
660
660
  </dialog>
661
661
  `,Io=l.html`
662
662
  ${e=>Mo(ne(e))}
663
- `,Po={mode:"open",delegatesFocus:!0},Ho={};class jo extends n.FoundationElement{constructor(){super(...arguments),this.position="centre",this.showCloseIcon=!0}notificationChanged(){this.notification&&(this.showCloseIcon=!1)}connectedCallback(){super.connectedCallback(),window.HTMLDialogElement||Ro.Z.registerDialog(this.mainElement),this.mainElement.addEventListener("close",(()=>{this.onCloseCallback&&this.onCloseCallback()}))}get open(){return this.mainElement.hasAttribute("open")}close(){this.mainElement.close()}dismiss(){var e,t,o,i;(null===(i=null===(o=null===(t=null===(e=this.notification)||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.notification.config.dialog.dismissingAction.action(),this.closeDialog()}closeDialog(){try{this.mainElement.close(),this.remove()}catch(e){te.error(e)}}}(0,w.__decorate)([l.observable],jo.prototype,"notification",void 0),(0,w.__decorate)([l.attr],jo.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"show-close-icon"})],jo.prototype,"showCloseIcon",void 0),(0,w.__decorate)([l.observable],jo.prototype,"onShowCallback",void 0),(0,w.__decorate)([l.observable],jo.prototype,"onCloseCallback",void 0),(0,w.__decorate)([l.volatile],jo.prototype,"open",null);class Bo extends jo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.show()}}const Go=Bo.compose(Object.assign({baseName:"dialog",styles:Eo,template:Io,shadowOptions:Po},Ho)),zo=(e,t)=>l.css`
663
+ `,Po={mode:"open",delegatesFocus:!0},Ho={};class Bo extends n.FoundationElement{constructor(){super(...arguments),this.position="centre",this.showCloseIcon=!0}notificationChanged(){this.notification&&(this.showCloseIcon=!1)}connectedCallback(){super.connectedCallback(),window.HTMLDialogElement||Ro.Z.registerDialog(this.mainElement),this.mainElement.addEventListener("close",(()=>{this.onCloseCallback&&this.onCloseCallback()}))}get open(){return this.mainElement.hasAttribute("open")}close(){this.mainElement.close()}dismiss(){var e,t,o,i;(null===(i=null===(o=null===(t=null===(e=this.notification)||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.notification.config.dialog.dismissingAction.action(),this.closeDialog()}closeDialog(){try{this.mainElement.close(),this.remove()}catch(e){te.error(e)}}}(0,w.__decorate)([l.observable],Bo.prototype,"notification",void 0),(0,w.__decorate)([l.attr],Bo.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"show-close-icon"})],Bo.prototype,"showCloseIcon",void 0),(0,w.__decorate)([l.observable],Bo.prototype,"onShowCallback",void 0),(0,w.__decorate)([l.observable],Bo.prototype,"onCloseCallback",void 0),(0,w.__decorate)([l.volatile],Bo.prototype,"open",null);class jo extends Bo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.show()}}const Go=jo.compose(Object.assign({baseName:"dialog",styles:Eo,template:Io,shadowOptions:Po},Ho)),zo=(e,t)=>l.css`
664
664
  ${(0,s.disclosureStyles)(e,t)}
665
665
  `,Vo=(e,t)=>(0,n.disclosureTemplate)(e,t);class Uo extends n.Disclosure{}const Yo=void 0,Wo={},qo=Uo.compose(Object.assign({baseName:"disclosure",template:Vo,styles:zo,shadowOptions:Yo},Wo)),Xo=(e,t)=>l.css`
666
666
  ${(0,s.dividerStyles)(e,t)}
@@ -800,11 +800,11 @@
800
800
  </${e}-banner>
801
801
  `,di=l.html`
802
802
  ${e=>ri(ne(e))}
803
- `,ci={mode:"open",delegatesFocus:!0};class ui extends n.FoundationElement{connectedCallback(){super.connectedCallback(),te.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){te.error(e)}}))}}(0,w.__decorate)([l.observable],ui.prototype,"error",void 0),(0,w.__decorate)([l.observable],ui.prototype,"notification",void 0);const pi=ui.compose({baseName:"error-banner",template:di,shadowOptions:ci});var hi,mi=o(6852);!function(e){e.ERROR_BOUNDARY_EVENT="error-boundary-event"}(hi||(hi={}));const vi=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"}`},gi=(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},fi=()=>{const e=document.createElement("div");return e.setAttribute("id","error-banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},bi=(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m;const v=t.split("-")[0],g=gi("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)},yi=(0,ee.createLogger)("foundation-error"),wi={alert:e=>{alert(vi(e))},notification:bi,dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-error-dialog`);gi("dialog-container",t).appendChild(i),i.error=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);gi("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 fi()})(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}},xi=(e,t,o)=>{var i,a;yi.log({message:vi(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)||ee.LogLevel.Error)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{wi[i]&&wi[i](e,t,o)}))};class Fi{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 ee.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 $i=()=>new Fi;class Si{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 Di=l.html`
803
+ `,ci={mode:"open",delegatesFocus:!0};class ui extends n.FoundationElement{connectedCallback(){super.connectedCallback(),te.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){te.error(e)}}))}}(0,w.__decorate)([l.observable],ui.prototype,"error",void 0),(0,w.__decorate)([l.observable],ui.prototype,"notification",void 0);const pi=ui.compose({baseName:"error-banner",template:di,shadowOptions:ci});var hi,mi=o(6852);!function(e){e.ERROR_BOUNDARY_EVENT="error-boundary-event"}(hi||(hi={}));const vi=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"}`},gi=(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},fi=()=>{const e=document.createElement("div");return e.setAttribute("id","error-banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},bi=(e,t)=>{var o,i,a,n,s,l,r,d,c,u,p,h,m;const v=t.split("-")[0],g=gi("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)},yi=(0,ee.createLogger)("foundation-error"),wi={alert:e=>{alert(vi(e))},notification:bi,dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-error-dialog`);gi("dialog-container",t).appendChild(i),i.error=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);gi("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 fi()})(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}},xi=(e,t,o)=>{var i,a;yi.log({message:vi(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)||ee.LogLevel.Error)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{wi[i]&&wi[i](e,t,o)}))};class $i{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 ee.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 Fi=()=>new $i;class Si{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 Di=l.html`
804
804
  <template ${(0,l.ref)("errorBoundary")}>
805
805
  <slot></slot>
806
806
  </template>
807
- `,Ci={mode:"open",delegatesFocus:!0};class _i extends n.FoundationElement{constructor(){super(...arguments),this.logger=(0,ee.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(hi.ERROR_BOUNDARY_EVENT,(e=>{e.stopImmediatePropagation(),xi(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;xi($i().withTitle(e).withErrorDetails(o).withNotification((new Si).withType(i).withAutoClose(!!this.closeTimeout).withCloseTimeout(this.closeTimeout).build()).build(),this.tagName,this.errorBoundary)}})))}))}}(0,w.__decorate)([l.observable],_i.prototype,"errorBoundary",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],_i.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],_i.prototype,"closeTimeout",void 0),(0,w.__decorate)([mi.Yh],_i.prototype,"datasource",void 0);const Oi=_i.compose({baseName:"error-boundary",template:Di,shadowOptions:Ci}),ki=l.css`
807
+ `,Ci={mode:"open",delegatesFocus:!0};class _i extends n.FoundationElement{constructor(){super(...arguments),this.logger=(0,ee.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(hi.ERROR_BOUNDARY_EVENT,(e=>{e.stopImmediatePropagation(),xi(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;xi(Fi().withTitle(e).withErrorDetails(o).withNotification((new Si).withType(i).withAutoClose(!!this.closeTimeout).withCloseTimeout(this.closeTimeout).build()).build(),this.tagName,this.errorBoundary)}})))}))}}(0,w.__decorate)([l.observable],_i.prototype,"errorBoundary",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],_i.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],_i.prototype,"closeTimeout",void 0),(0,w.__decorate)([mi.Yh],_i.prototype,"datasource",void 0);const Oi=_i.compose({baseName:"error-boundary",template:Di,shadowOptions:Ci}),ki=l.css`
808
808
  :host {
809
809
  --design-unit: 3;
810
810
  --dialog-max-width: 358px;
@@ -842,7 +842,7 @@
842
842
  </${e}-dialog>
843
843
  `,Li=l.html`
844
844
  ${e=>Ti(ne(e))}
845
- `,Ai={mode:"open",delegatesFocus:!0};class Ri extends n.FoundationElement{connectedCallback(){super.connectedCallback(),te.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){te.error(e)}}}(0,w.__decorate)([l.observable],Ri.prototype,"error",void 0),(0,w.__decorate)([l.observable],Ri.prototype,"notification",void 0);const Ei=Ri.compose({baseName:"error-dialog",template:Li,styles:ki,shadowOptions:Ai});var Ni=o(22296);const Mi=(0,ee.createLogger)("foundation-criteria");var Ii;!function(e){e.AND="&&",e.OR="||",e.NOT="!",e.GT=">",e.GE=">=",e.LT="<",e.LE="<=",e.NE="!=",e.EQ="=="}(Ii||(Ii={}));class Pi{constructor(e){this.$$operator=e}static And(){return new Pi(Ii.AND)}static Or(){return new Pi(Ii.OR)}static Not(){return new Pi(Ii.NOT)}static GreaterThan(){return new Pi(Ii.GT)}static GreaterThanOrEqual(){return new Pi(Ii.GE)}static LessThan(){return new Pi(Ii.LT)}static LessThanOrEqual(){return new Pi(Ii.LE)}static NotEqual(){return new Pi(Ii.NE)}static Equal(){return new Pi(Ii.EQ)}get operator(){return this.$$operator}}const Hi="default";class ji{constructor(){this.expressions={},this.And=(e,t={})=>this.withExpression(e,t,Pi.And()),this.Or=(e,t={})=>this.withExpression(e,t,Pi.Or()),this.Not=(e,t={})=>this.withExpression(e,t,Pi.Not())}withExpression(e,t={},o=Pi.And()){const{condition:i,join:a,groupName:n}=t,s=(e,t=Hi)=>{var n;const s=null!==(n=this.expressions[t])&&void 0!==n?n:[];this.expressions[t]=[...s,{join:o||a,condition:i,expression:e}]};if(Array.isArray(e))if(a){const t=e.filter((e=>{const t=e instanceof Pi;return t&&Mi.warn("Inline joins will be discarded when join is defined in ExpressionOptions"),!t}));if(n)t.forEach((e=>{s(e,n)}));else{const e=(l=a,t.flat().flatMap(((e,t,o)=>o.length-1!==t?[e,l]:e)));s(e,Hi)}}else s(e,Hi);else s(e,"string"==typeof e?Hi:e.group);var l;return this}build(e){const t=Object.entries(this.expressions).reduce(((e,[t,o])=>Object.assign(Object.assign({},e),{[t]:`(${o.filter((({condition:e})=>!e||e())).map((({expression:e,join:t},o,i)=>this.parseExpression(e,i[o-1],t))).join("")})`})),{});return e?e(t):`(${Object.values(t).join(" && ")})`}reset(){this.expressions={}}parseExpression(e,t,o){const i=[];return o&&t&&i.push(` ${o.operator} `),"string"==typeof e?i.push(e):Array.isArray(e)?(e.forEach(((e,t,o)=>{if(e instanceof Pi){if(o[t-1]instanceof Pi)throw new Error("Adjacent Join operations detected")}})),i.push(`(${e.map((e=>this.parseExpression(e,void 0))).join("")})`)):e instanceof Pi?i.push(` ${e.operator} `):e&&i.push(e.serialiser(e)),i.join("")}}const Bi=e=>{const{value:t}=e;return e.valueGetter?e.valueGetter(t):"function"==typeof t?t(e):Array.isArray(t)?t.join(","):"string"==typeof t?`"${t}"`:t},Gi=e=>t=>`${t.field} ${e} ${Bi(t)}`,zi=e=>Gi(Ii.EQ)(e),Vi=e=>`Expr.containsIgnoreCase(${e.field}, ${Bi(e)})`;class Ui{constructor(e){this.serialiser=zi,this.build=()=>{if(!this.field)throw new Error("Missing required param 'field'");if(void 0===this.value)throw new Error("Missing required param 'value'");if(!this.serialiser)throw new Error("Missing required param 'serialise'");return{field:this.field,value:this.value,serialiser:this.serialiser,params:this.params,valueGetter:this.valueGetter,group:this.group}},e&&(this.field=e.field,this.value=e.value,this.serialiser=e.serialiser,this.params=e.params,this.valueGetter=e.valueGetter,this.group=e.group)}withField(e){return this.field=e,this}withValue(e){return this.value=e,this}withSerialiser(e){return this.serialiser=e,this}withParams(e){return this.params=e,this}withValueGetter(e){return this.valueGetter=e,this}withGroup(e){return this.group=e,this}}var Yi=o(21607);const Wi=l.css`
845
+ `,Ai={mode:"open",delegatesFocus:!0};class Ri extends n.FoundationElement{connectedCallback(){super.connectedCallback(),te.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){te.error(e)}}}(0,w.__decorate)([l.observable],Ri.prototype,"error",void 0),(0,w.__decorate)([l.observable],Ri.prototype,"notification",void 0);const Ei=Ri.compose({baseName:"error-dialog",template:Li,styles:ki,shadowOptions:Ai});var Ni=o(22296);const Mi=(0,ee.createLogger)("foundation-criteria");var Ii;!function(e){e.AND="&&",e.OR="||",e.NOT="!",e.GT=">",e.GE=">=",e.LT="<",e.LE="<=",e.NE="!=",e.EQ="=="}(Ii||(Ii={}));class Pi{constructor(e){this.$$operator=e}static And(){return new Pi(Ii.AND)}static Or(){return new Pi(Ii.OR)}static Not(){return new Pi(Ii.NOT)}static GreaterThan(){return new Pi(Ii.GT)}static GreaterThanOrEqual(){return new Pi(Ii.GE)}static LessThan(){return new Pi(Ii.LT)}static LessThanOrEqual(){return new Pi(Ii.LE)}static NotEqual(){return new Pi(Ii.NE)}static Equal(){return new Pi(Ii.EQ)}get operator(){return this.$$operator}}const Hi="default";class Bi{constructor(){this.expressions={},this.And=(e,t={})=>this.withExpression(e,t,Pi.And()),this.Or=(e,t={})=>this.withExpression(e,t,Pi.Or()),this.Not=(e,t={})=>this.withExpression(e,t,Pi.Not())}withExpression(e,t={},o=Pi.And()){const{condition:i,join:a,groupName:n}=t,s=(e,t=Hi)=>{var n;const s=null!==(n=this.expressions[t])&&void 0!==n?n:[];this.expressions[t]=[...s,{join:o||a,condition:i,expression:e}]};if(Array.isArray(e))if(a){const t=e.filter((e=>{const t=e instanceof Pi;return t&&Mi.warn("Inline joins will be discarded when join is defined in ExpressionOptions"),!t}));if(n)t.forEach((e=>{s(e,n)}));else{const e=(l=a,t.flat().flatMap(((e,t,o)=>o.length-1!==t?[e,l]:e)));s(e,Hi)}}else s(e,Hi);else s(e,"string"==typeof e?Hi:e.group);var l;return this}build(e){const t=Object.entries(this.expressions).reduce(((e,[t,o])=>Object.assign(Object.assign({},e),{[t]:`(${o.filter((({condition:e})=>!e||e())).map((({expression:e,join:t},o,i)=>this.parseExpression(e,i[o-1],t))).join("")})`})),{});return e?e(t):`(${Object.values(t).join(" && ")})`}reset(){this.expressions={}}parseExpression(e,t,o){const i=[];return o&&t&&i.push(` ${o.operator} `),"string"==typeof e?i.push(e):Array.isArray(e)?(e.forEach(((e,t,o)=>{if(e instanceof Pi){if(o[t-1]instanceof Pi)throw new Error("Adjacent Join operations detected")}})),i.push(`(${e.map((e=>this.parseExpression(e,void 0))).join("")})`)):e instanceof Pi?i.push(` ${e.operator} `):e&&i.push(e.serialiser(e)),i.join("")}}const ji=e=>{const{value:t}=e;return e.valueGetter?e.valueGetter(t):"function"==typeof t?t(e):Array.isArray(t)?t.join(","):"string"==typeof t?`"${t}"`:t},Gi=e=>t=>`${t.field} ${e} ${ji(t)}`,zi=e=>Gi(Ii.EQ)(e),Vi=e=>`Expr.containsIgnoreCase(${e.field}, ${ji(e)})`;class Ui{constructor(e){this.serialiser=zi,this.build=()=>{if(!this.field)throw new Error("Missing required param 'field'");if(void 0===this.value)throw new Error("Missing required param 'value'");if(!this.serialiser)throw new Error("Missing required param 'serialise'");return{field:this.field,value:this.value,serialiser:this.serialiser,params:this.params,valueGetter:this.valueGetter,group:this.group}},e&&(this.field=e.field,this.value=e.value,this.serialiser=e.serialiser,this.params=e.params,this.valueGetter=e.valueGetter,this.group=e.group)}withField(e){return this.field=e,this}withValue(e){return this.value=e,this}withSerialiser(e){return this.serialiser=e,this}withParams(e){return this.params=e,this}withValueGetter(e){return this.valueGetter=e,this}withGroup(e){return this.group=e,this}}var Yi=o(21607);const Wi=l.css`
846
846
  /* Host */
847
847
  :host {
848
848
  display: flex;
@@ -918,11 +918,11 @@
918
918
  </template>
919
919
  `,Xi=l.html`
920
920
  ${e=>qi(ne(e))}
921
- `,Ki=e=>{const t=new FormData;return e.forEach((e=>{t.append(e.name,e)})),t},Zi=(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))))},Qi=(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&&bi($i().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"),te.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&&bi($i().withTitle("Success").withErrorDetails("File downloaded successfully").withNotification({autoClose:!0,closeTimeout:5e3,type:"success"}).build(),"zero"),te.info("File downloaded successfully")}})).catch((e=>{te.error(e)}))},Ji=["image/png","image/bmp","image/gif","image/jpeg","image/jpg"],ea=["text/plain","text/csv"],ta=["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"],oa=l.html`
921
+ `,Ki=e=>{const t=new FormData;return e.forEach((e=>{t.append(e.name,e)})),t},Zi=(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))))},Qi=(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&&bi(Fi().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"),te.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&&bi(Fi().withTitle("Success").withErrorDetails("File downloaded successfully").withNotification({autoClose:!0,closeTimeout:5e3,type:"success"}).build(),"zero"),te.info("File downloaded successfully")}})).catch((e=>{te.error(e)}))},Ji=["image/png","image/bmp","image/gif","image/jpeg","image/jpg"],ea=["text/plain","text/csv"],ta=["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"],oa=l.html`
922
922
  ${(0,l.when)((e=>e.rowData),l.html`
923
923
  ${e=>"DATETIME"===e.columnDefinition.type?(0,Yi.Lx)(e.rowData[e.columnDefinition.columnDataKey]):e.rowData[e.columnDefinition.columnDataKey]}
924
924
  `)}
925
- `;class ia 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,...Ji]:"office/*"===t?e=[...e,...ta]:"text/*"===t?e=[...e,...ea]: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 ji).withExpression((new Ui).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:Ni.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=>{Ni.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`
925
+ `;class ia 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,...Ji]:"office/*"===t?e=[...e,...ta]:"text/*"===t?e=[...e,...ea]: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 Bi).withExpression((new Ui).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:Ni.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=>{Ni.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`
926
926
  <template>
927
927
  <div class="download-button-container">
928
928
  <${e}-button
@@ -1104,36 +1104,37 @@
1104
1104
  }
1105
1105
  `,wa=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"}},xa=l.html`
1106
1106
  <p>Fetching metadata for ${e=>e.resource}...</p>
1107
- `,Fa=l.html`
1108
- ${(0,l.when)((e=>e.collapsed),l.html`
1109
- <foundation-icon name="arrow-up"></foundation-icon>
1110
- `)}
1111
- ${(0,l.when)((e=>!e.collapsed),l.html`
1112
- <foundation-icon name="arrow-down"></foundation-icon>
1113
- `)}
1114
- `,$a=l.html`
1107
+ `,$a=e=>l.html`
1115
1108
  <div
1116
1109
  class=${e=>(0,x.A)(["toggle",!0],["toggle-collapsed",e.collapsed])}
1117
1110
  @click="${e=>e.toggle()}"
1118
1111
  >
1119
- ${Fa}
1112
+ ${(e=>l.html`
1113
+ ${(0,l.when)((e=>e.collapsed),l.html`
1114
+ <${e}-icon name="chevron-up"></${e}-icon>
1115
+ `)}
1116
+ ${(0,l.when)((e=>!e.collapsed),l.html`
1117
+ <${e}-icon name="chevron-down"></${e}-icon>
1118
+ `)}
1119
+ `)(e)}
1120
1120
  </div>
1121
1121
  <div class=${e=>(0,x.A)(["filter-bar",!0],["collapsed",e.collapsed])}>
1122
1122
  <div class="filter-grid" ${(0,l.ref)("filterGrid")}>
1123
1123
  ${(0,l.repeat)((e=>e.fields),l.html`
1124
- <foundation-filter
1124
+ <${e}-filter
1125
1125
  label="${e=>e.UI_LABEL}"
1126
1126
  target="${(e,t)=>{var o;return null===(o=t.parent)||void 0===o?void 0:o.target}}"
1127
1127
  type="${e=>wa(e.TYPE)}"
1128
1128
  fieldName="${e=>e.NAME}"
1129
- ></foundation-filter>
1129
+ enumOptions="${e=>e.VALID_VALUES}"
1130
+ ></${e}-filter>
1130
1131
  `)}
1131
1132
  </div>
1132
1133
  </div>
1133
- `,Sa=l.html`
1134
- ${e=>e.ready?$a:xa}
1135
- `,Da=5;class Ca extends n.FoundationElement{constructor(){super(...arguments),this.columns=Da,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,ba.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=>te.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],Ca.prototype,"resource",void 0),(0,w.__decorate)([l.attr],Ca.prototype,"only",void 0),(0,w.__decorate)([l.attr],Ca.prototype,"labels",void 0),(0,w.__decorate)([l.attr],Ca.prototype,"target",void 0),(0,w.__decorate)([l.attr],Ca.prototype,"columns",void 0),(0,w.__decorate)([l.observable],Ca.prototype,"ready",void 0),(0,w.__decorate)([l.observable],Ca.prototype,"fields",void 0),(0,w.__decorate)([tt.lj],Ca.prototype,"connect",void 0),(0,w.__decorate)([l.observable],Ca.prototype,"collapsed",void 0);const _a=Ca.compose({baseName:"filter-bar",template:Sa,styles:ya});var Oa;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(Oa||(Oa={}));const ka=e=>{const t=e?`-${e}`:"";return l.css`
1136
- ${t&&`@media only screen and ${Oa[e]} {`}
1134
+ `,Fa=l.html`
1135
+ ${e=>e.ready?$a(ne(e)):xa}
1136
+ `,Sa=5;class Da extends n.FoundationElement{constructor(){super(...arguments),this.columns=Sa,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,ba.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=>te.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],Da.prototype,"resource",void 0),(0,w.__decorate)([l.attr],Da.prototype,"only",void 0),(0,w.__decorate)([l.attr],Da.prototype,"labels",void 0),(0,w.__decorate)([l.attr],Da.prototype,"target",void 0),(0,w.__decorate)([l.attr],Da.prototype,"columns",void 0),(0,w.__decorate)([l.observable],Da.prototype,"ready",void 0),(0,w.__decorate)([l.observable],Da.prototype,"fields",void 0),(0,w.__decorate)([tt.lj],Da.prototype,"connect",void 0),(0,w.__decorate)([l.observable],Da.prototype,"collapsed",void 0);const Ca=Da.compose({baseName:"filter-bar",template:Fa,styles:ya});var _a;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(_a||(_a={}));const Oa=e=>{const t=e?`-${e}`:"";return l.css`
1137
+ ${t&&`@media only screen and ${_a[e]} {`}
1137
1138
  :host(.spacing${t}-1x) slot {
1138
1139
  gap: calc(var(--design-unit) * 2px);
1139
1140
  }
@@ -1250,7 +1251,7 @@
1250
1251
  align-content: space-evenly;
1251
1252
  }
1252
1253
  ${t&&"}"}
1253
- `},Ta=l.css`
1254
+ `},ka=l.css`
1254
1255
  :host {
1255
1256
  width: 100%;
1256
1257
  height: 100%;
@@ -1262,17 +1263,17 @@
1262
1263
  display: flex;
1263
1264
  }
1264
1265
 
1265
- ${ka()}
1266
- ${ka("lg")}
1267
- ${ka("md")}
1268
- ${ka("sm")}
1269
- `,La=l.html`
1266
+ ${Oa()}
1267
+ ${Oa("lg")}
1268
+ ${Oa("md")}
1269
+ ${Oa("sm")}
1270
+ `,Ta=l.html`
1270
1271
  <template>
1271
1272
  <slot></slot>
1272
1273
  </template>
1273
- `,Aa=void 0,Ra={};class Ea extends n.FoundationElement{}const Na=Ea.compose(Object.assign({baseName:"flex-layout",styles:Ta,template:La,shadowOptions:Aa},Ra)),Ma=(e,t)=>l.css`
1274
+ `,La=void 0,Aa={};class Ra extends n.FoundationElement{}const Ea=Ra.compose(Object.assign({baseName:"flex-layout",styles:ka,template:Ta,shadowOptions:La},Aa)),Na=(e,t)=>l.css`
1274
1275
  ${(0,s.flipperStyles)(e,t)}
1275
- `,Ia=(e,t)=>(0,n.flipperTemplate)(e,t);class Pa extends s.Flipper{}const Ha=void 0,ja={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 '},Ba=Pa.compose(Object.assign({baseName:"flipper",template:Ia,styles:Ma,shadowOptions:Ha},ja)),Ga=225,za=l.css`
1276
+ `,Ma=(e,t)=>(0,n.flipperTemplate)(e,t);class Ia extends s.Flipper{}const Pa=void 0,Ha={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 '},Ba=Ia.compose(Object.assign({baseName:"flipper",template:Ma,styles:Na,shadowOptions:Pa},Ha)),ja=225,Ga=l.css`
1276
1277
  /* Host */
1277
1278
  :host {
1278
1279
  display: inline-block;
@@ -1297,7 +1298,7 @@
1297
1298
  height: 100%;
1298
1299
  position: absolute;
1299
1300
  /* stylelint-disable-next-line function-name-case */
1300
- transition: transform ${Ga.toString()}ms ease-in;
1301
+ transition: transform ${ja.toString()}ms ease-in;
1301
1302
  width: 20%;
1302
1303
  z-index: 2001;
1303
1304
  }
@@ -1345,7 +1346,7 @@
1345
1346
  opacity: 50%;
1346
1347
  position: absolute;
1347
1348
  /* stylelint-disable-next-line function-name-case */
1348
- transition: opacity ${Ga.toString()}ms linear;
1349
+ transition: opacity ${ja.toString()}ms linear;
1349
1350
  width: 100%;
1350
1351
  z-index: 2000;
1351
1352
  }
@@ -1353,7 +1354,7 @@
1353
1354
  :host([visuallyhidden]) div.background {
1354
1355
  opacity: 0%;
1355
1356
  }
1356
- `,Va=e=>l.html`
1357
+ `,za=e=>l.html`
1357
1358
  <div ?closed=${e=>e.closed} ?visuallyhidden=${e=>e.visuallyhidden}>
1358
1359
  <div class="container">
1359
1360
  <div class="background" part="background" @click=${e=>e.closeFlyout()}></div>
@@ -1377,10 +1378,10 @@
1377
1378
  </div>
1378
1379
  </div>
1379
1380
  </div>
1380
- `,Ua=l.html`
1381
- ${e=>Va(ne(e))}
1382
- `;class Ya 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],Ya.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ya.prototype,"displayHeader",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ya.prototype,"closed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ya.prototype,"visuallyhidden",void 0);const Wa=void 0,qa={},Xa=Ya.compose(Object.assign({baseName:"flyout",styles:za,template:Ua,shadowOptions:Wa},qa));var Ka;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(Ka||(Ka={}));const Za=e=>{const t=e?`-${e}`:"";return l.css`
1383
- ${t&&`@media only screen and ${Ka[e]} {`}
1381
+ `,Va=l.html`
1382
+ ${e=>za(ne(e))}
1383
+ `;class Ua 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],Ua.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ua.prototype,"displayHeader",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ua.prototype,"closed",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ua.prototype,"visuallyhidden",void 0);const Ya=void 0,Wa={},qa=Ua.compose(Object.assign({baseName:"flyout",styles:Ga,template:Va,shadowOptions:Ya},Wa));var Xa;!function(e){e.sm="(max-width: 640px)",e.md="(min-width: 641px) and (max-width: 1023px)",e.lg="(min-width: 1024px)"}(Xa||(Xa={}));const Ka=e=>{const t=e?`-${e}`:"";return l.css`
1384
+ ${t&&`@media only screen and ${Xa[e]} {`}
1384
1385
  :host(.spacing${t}-1x) slot {
1385
1386
  gap: calc(var(--design-unit) * 2px);
1386
1387
  }
@@ -1465,32 +1466,32 @@
1465
1466
  place-items: stretch;
1466
1467
  }
1467
1468
  ${t&&"}"}
1468
- `},Qa=l.css`
1469
+ `},Za=l.css`
1469
1470
  slot {
1470
1471
  width: 100%;
1471
1472
  height: 100%;
1472
1473
  display: grid;
1473
1474
  }
1474
1475
 
1475
- ${Za()}
1476
- ${Za("lg")}
1477
- ${Za("md")}
1478
- ${Za("sm")}
1479
- `,Ja=l.html`
1476
+ ${Ka()}
1477
+ ${Ka("lg")}
1478
+ ${Ka("md")}
1479
+ ${Ka("sm")}
1480
+ `,Qa=l.html`
1480
1481
  <template>
1481
1482
  <slot></slot>
1482
1483
  </template>
1483
- `,en=void 0,tn={};class on{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`
1484
+ `,Ja=void 0,en={};class tn{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`
1484
1485
  slot {
1485
1486
  ${s||""}
1486
1487
  ${n||""}
1487
1488
  }
1488
- `}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 an extends n.FoundationElement{constructor(){super(...arguments),this.behaviors=[]}connectedCallback(){super.connectedCallback(),this.behaviors=Object.keys(Ka).map((e=>{if(this[`col-${e}-count`]||this[`row-${e}-count`])return new on(Ka[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`
1489
+ `}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 on extends n.FoundationElement{constructor(){super(...arguments),this.behaviors=[]}connectedCallback(){super.connectedCallback(),this.behaviors=Object.keys(Xa).map((e=>{if(this[`col-${e}-count`]||this[`row-${e}-count`])return new tn(Xa[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`
1489
1490
  slot {
1490
1491
  ${e||""}
1491
1492
  ${t||""}
1492
1493
  }
1493
- `,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],an.prototype,"col-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-width",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-lg-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-lg-width",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-md-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-md-width",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-sm-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"col-sm-width",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-height",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-lg-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-lg-height",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-md-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-md-height",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-sm-count",void 0),(0,w.__decorate)([l.attr],an.prototype,"row-sm-height",void 0);const nn=an.compose(Object.assign({baseName:"grid-layout",styles:Qa,template:Ja,shadowOptions:en},tn)),sn=l.html`
1494
+ `,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],on.prototype,"col-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-width",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-lg-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-lg-width",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-md-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-md-width",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-sm-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"col-sm-width",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-height",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-lg-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-lg-height",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-md-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-md-height",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-sm-count",void 0),(0,w.__decorate)([l.attr],on.prototype,"row-sm-height",void 0);const an=on.compose(Object.assign({baseName:"grid-layout",styles:Za,template:Qa,shadowOptions:Ja},en)),nn=l.html`
1494
1495
  <template>
1495
1496
  <style>
1496
1497
  :host {
@@ -1519,9 +1520,9 @@
1519
1520
  </style>
1520
1521
  <slot></slot>
1521
1522
  </template>
1522
- `,ln=void 0,rn={};class dn 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"})],dn.prototype,"colNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-sm-number"})],dn.prototype,"colSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-md-number"})],dn.prototype,"colMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-lg-number"})],dn.prototype,"colLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-number"})],dn.prototype,"rowNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-sm-number"})],dn.prototype,"rowSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-md-number"})],dn.prototype,"rowMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-lg-number"})],dn.prototype,"rowLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width"})],dn.prototype,"width",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-sm"})],dn.prototype,"widthSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-md"})],dn.prototype,"widthMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-lg"})],dn.prototype,"widthLg",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height"})],dn.prototype,"height",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-sm"})],dn.prototype,"heightSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-md"})],dn.prototype,"heightMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-lg"})],dn.prototype,"heightLg",void 0);const cn=dn.compose(Object.assign({baseName:"grid-layout-item",template:sn,shadowOptions:ln},rn)),un=(e,t)=>l.css`
1523
+ `,sn=void 0,ln={};class rn 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"})],rn.prototype,"colNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-sm-number"})],rn.prototype,"colSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-md-number"})],rn.prototype,"colMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"col-lg-number"})],rn.prototype,"colLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-number"})],rn.prototype,"rowNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-sm-number"})],rn.prototype,"rowSmNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-md-number"})],rn.prototype,"rowMdNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"row-lg-number"})],rn.prototype,"rowLgNumber",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width"})],rn.prototype,"width",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-sm"})],rn.prototype,"widthSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-md"})],rn.prototype,"widthMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"width-lg"})],rn.prototype,"widthLg",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height"})],rn.prototype,"height",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-sm"})],rn.prototype,"heightSm",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-md"})],rn.prototype,"heightMd",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"height-lg"})],rn.prototype,"heightLg",void 0);const dn=rn.compose(Object.assign({baseName:"grid-layout-item",template:nn,shadowOptions:sn},ln)),cn=(e,t)=>l.css`
1523
1524
  ${(0,s.horizontalScrollStyles)(e,t)}
1524
- `,pn=(e,t)=>(0,n.horizontalScrollTemplate)(e,t);class hn extends s.HorizontalScroll{}const mn={delegatesFocus:!0,mode:"open"},vn={nextFlipper:l.html`
1525
+ `,un=(e,t)=>(0,n.horizontalScrollTemplate)(e,t);class pn extends s.HorizontalScroll{}const hn={delegatesFocus:!0,mode:"open"},mn={nextFlipper:l.html`
1525
1526
  <fast-flipper
1526
1527
  @click="${e=>e.scrollToNext()}"
1527
1528
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -1532,8 +1533,8 @@
1532
1533
  direction="previous"
1533
1534
  aria-hidden="${e=>e.flippersHiddenFromAT}"
1534
1535
  ></fast-flipper>
1535
- `},gn=hn.compose(Object.assign({baseName:"horizontal-scroll",template:pn,styles:un,shadowOptions:mn},vn));var fn=o(38938),bn=o(79840),yn=o(64739),wn=o(75030);const xn=()=>(fn.vI.add(wn.mRB,yn.NCV,bn.vnX),fn.vz.css()),Fn=(e,t)=>l.css`
1536
- ${xn()}
1536
+ `},vn=pn.compose(Object.assign({baseName:"horizontal-scroll",template:un,styles:cn,shadowOptions:hn},mn));var gn=o(38938),fn=o(79840),bn=o(64739),yn=o(75030);const wn=()=>(gn.vI.add(yn.mRB,bn.NCV,fn.vnX),gn.vz.css()),xn=(e,t)=>l.css`
1537
+ ${wn()}
1537
1538
  `,$n=l.html`
1538
1539
  <template>
1539
1540
  <i
@@ -1544,7 +1545,7 @@
1544
1545
  <slot></slot>
1545
1546
  </i>
1546
1547
  </template>
1547
- `,Sn={mode:"open",delegatesFocus:!0},Dn={};var Cn;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(Cn||(Cn={}));class _n 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,fn.N)({prefix:Cn[this.variant],iconName:this.name}),t=(0,fn.qv)(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map((e=>this.iElement.appendChild(e))))}}(0,w.__decorate)([l.observable],_n.prototype,"iElement",void 0),(0,w.__decorate)([l.attr],_n.prototype,"name",void 0),(0,w.__decorate)([l.attr],_n.prototype,"size",void 0),(0,w.__decorate)([l.attr],_n.prototype,"variant",void 0);const On=_n.compose(Object.assign({baseName:"icon",template:$n,styles:Fn,shadowOptions:Sn},Dn)),kn=(e,t)=>l.css`
1548
+ `,Fn={mode:"open",delegatesFocus:!0},Sn={};var Dn;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(Dn||(Dn={}));class Cn 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,gn.N)({prefix:Dn[this.variant],iconName:this.name}),t=(0,gn.qv)(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map((e=>this.iElement.appendChild(e))))}}(0,w.__decorate)([l.observable],Cn.prototype,"iElement",void 0),(0,w.__decorate)([l.attr],Cn.prototype,"name",void 0),(0,w.__decorate)([l.attr],Cn.prototype,"size",void 0),(0,w.__decorate)([l.attr],Cn.prototype,"variant",void 0);const _n=Cn.compose(Object.assign({baseName:"icon",template:$n,styles:xn,shadowOptions:Fn},Sn)),On=(e,t)=>l.css`
1548
1549
  ${(0,s.listboxStyles)(e,t)}
1549
1550
 
1550
1551
  :host {
@@ -1555,11 +1556,11 @@
1555
1556
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
1556
1557
  border-radius: calc(var(--control-corner-radius) * 1px);
1557
1558
  }
1558
- `,Tn=(e,t)=>(0,n.listboxTemplate)(e,t);class Ln extends s.Listbox{}const An=void 0,Rn={},En=Ln.compose(Object.assign({baseName:"listbox",template:Tn,styles:kn,shadowOptions:An},Rn)),Nn=(e,t)=>l.css`
1559
+ `,kn=(e,t)=>(0,n.listboxTemplate)(e,t);class Tn extends s.Listbox{}const Ln=void 0,An={},Rn=Tn.compose(Object.assign({baseName:"listbox",template:kn,styles:On,shadowOptions:Ln},An)),En=(e,t)=>l.css`
1559
1560
  ${(0,s.optionStyles)(e,t)}
1560
- `,Mn=(e,t)=>(0,n.listboxOptionTemplate)(e,t);class In extends s.ListboxOption{}const Pn=void 0,Hn={},jn=In.compose(Object.assign({baseName:"option",template:Mn,styles:Nn,shadowOptions:Pn},Hn)),Bn=(e,t)=>l.css`
1561
+ `,Nn=(e,t)=>(0,n.listboxOptionTemplate)(e,t);class Mn extends s.ListboxOption{}const In=void 0,Pn={},Hn=Mn.compose(Object.assign({baseName:"option",template:Nn,styles:En,shadowOptions:In},Pn)),Bn=(e,t)=>l.css`
1561
1562
  ${(0,s.menuStyles)(e,t)}
1562
- `,Gn=(e,t)=>(0,n.menuTemplate)(e,t);class zn extends s.Menu{}const Vn=void 0,Un={},Yn=zn.compose(Object.assign({baseName:"menu",template:Gn,styles:Bn,shadowOptions:Vn},Un)),Wn=(e,t)=>l.css`
1563
+ `,jn=(e,t)=>(0,n.menuTemplate)(e,t);class Gn extends s.Menu{}const zn=void 0,Vn={},Un=Gn.compose(Object.assign({baseName:"menu",template:jn,styles:Bn,shadowOptions:zn},Vn)),Yn=(e,t)=>l.css`
1563
1564
  ${(0,s.menuItemStyles)(e,t)}
1564
1565
 
1565
1566
  :host, :host(.indent-0[aria-haspopup='menu']) {
@@ -1573,11 +1574,11 @@
1573
1574
  height: auto;
1574
1575
  width: auto;
1575
1576
  }
1576
- `,qn=(e,t)=>(0,n.menuItemTemplate)(e,t);class Xn extends s.MenuItem{connectedCallback(){super.connectedCallback(),this.addEventListener("click",(()=>this.$emit("onMenuClick")))}}const Kn=void 0,Zn={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 '},Qn=Xn.compose(Object.assign({baseName:"menu-item",template:qn,styles:Wn,shadowOptions:Kn},Zn)),Jn=l.css`
1577
+ `,Wn=(e,t)=>(0,n.menuItemTemplate)(e,t);class qn extends s.MenuItem{connectedCallback(){super.connectedCallback(),this.addEventListener("click",(()=>this.$emit("onMenuClick")))}}const Xn=void 0,Kn={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 '},Zn=qn.compose(Object.assign({baseName:"menu-item",template:Wn,styles:Yn,shadowOptions:Xn},Kn)),Qn=l.css`
1577
1578
  ${Eo}
1578
- `,es=l.html`
1579
+ `,Jn=l.html`
1579
1580
  ${Io}
1580
- `,ts={mode:"open",delegatesFocus:!0},os={};class is extends jo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.showModal()}}const as=is.compose(Object.assign({baseName:"modal",styles:Jn,template:es,shadowOptions:ts},os));var ns,ss=o(82940),ls=o(40001),rs=o.n(ls);!function(e){e.BELOW="below",e.ABOVE="above",e.DYNAMIC="dynamic"}(ns||(ns={}));const ds=230,cs=l.css`
1581
+ `,es={mode:"open",delegatesFocus:!0},ts={};class os extends Bo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.showModal()}}const is=os.compose(Object.assign({baseName:"modal",styles:Qn,template:Jn,shadowOptions:es},ts));var as,ns=o(82940),ss=o(40001),ls=o.n(ss);!function(e){e.BELOW="below",e.ABOVE="above",e.DYNAMIC="dynamic"}(as||(as={}));const rs=230,ds=l.css`
1581
1582
  .root {
1582
1583
  position: relative;
1583
1584
  width: inherit;
@@ -1704,7 +1705,7 @@
1704
1705
 
1705
1706
  .visible {
1706
1707
  visibility: visible;
1707
- max-height: ${ds.toString()}px;
1708
+ max-height: ${rs.toString()}px;
1708
1709
  }
1709
1710
 
1710
1711
  ::slotted(foundation-checkbox),
@@ -1739,7 +1740,7 @@
1739
1740
  .label-hidden {
1740
1741
  display: none;
1741
1742
  }
1742
- `;var us=o(32449),ps=o(9162),hs=o(5127),ms=o(26714);class vs extends n.FoundationElement{constructor(){super(...arguments),this.withGridInit=!0,this.isSnapshot=!1,this.maxRows=ss.WJ.MAX_ROWS_250,this.maxView=ss.WJ.MAX_VIEW_1000,this.reverse=!1,this.rowId="ROW_REF",this.withTimestampFormatting=!0,this.requiresFullDataRefresh=!0,this.rowsSyncedWithStream=new Map,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new ms.X(new Map)}criteriaChanged(e,t){const o=e!==(0,us.p)(t,";");this.datasource.initialized&&o&&(this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.fetchGenesisData(null))}set datasourceConfig(e){e&&Object.keys(e).forEach((t=>{void 0!==e[t]&&(this[t]=e[t])}))}disconnectedCallback(){super.disconnectedCallback(),this.clearData()}reset(){this.requiresFullDataRefresh=!0,this.fetchGenesisData()}fetchGenesisData(e=!0){return(0,w.__awaiter)(this,void 0,void 0,(function*(){if(this.data)return void this.syncComponentData(this.data);const t=e||!this.datasource.initialized;t||(this.connect.dataLogoff(this.sourceRef),this.clearData());if(yield this.datasource.init(this.datasourceOptions(),t))if(this.isSnapshot){const e=yield this.datasource.snapshotFiltered();this.syncComponentData(e)}else te.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const t=e.MESSAGE_TYPE;if(t&&t===ps.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const t=(0,hs.$)(e);this.handleStreamUpdate(t)}else this.handleStreamUpdate(e)}));else te.debug(`Genesis Datasource init failed for ${this.resourceName}`)}))}initDatasource(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){yield this.datasource.init(this.datasourceOptions(),!0)}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView}}handleStreamUpdate(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var t,o;if(!Array.isArray(e.REPLY)||!(null===(t=e.MESSAGE_TYPE)||void 0===t?void 0:t.startsWith("REP_")))return void te.error("received invalid RequestServerResult",e);if(this.requiresFullDataRefresh){"ROW_REF"!==this.rowId&&(null===(o=e.REPLY)||void 0===o||o.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)})));const t=this.rowsSyncedWithStream.size>0?Array.from(this.rowsSyncedWithStream.values()):e.REPLY;return void this.syncComponentData(t)}this.handleStreamInserts(e.REPLY);const i=Array.from(this.rowsSyncedWithStream.values()).filter((t=>!e.REPLY.includes(t)));this.handleStreamDeletes(i)}applyDataserverData(e){var t,o,i,a;if(this.requiresFullDataRefresh){null===(t=e.inserts)||void 0===t||t.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)}));const o=Array.from(this.rowsSyncedWithStream.values());this.syncComponentData(o)}else(null===(o=e.inserts)||void 0===o?void 0:o.length)>0&&this.handleStreamInserts(e.inserts),(null===(i=e.deletes)||void 0===i?void 0:i.length)>0&&this.handleStreamDeletes(e.deletes),(null===(a=e.updates)||void 0===a?void 0:a.length)>0&&this.handleStreamUpdates(e.updates)}buildCriteria(){var e;const t=(null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[];return(0,us.p)(t.join(" && "),";")}setFilter(e,t){this.criteriaFromFilters.set(e,t),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}}(0,w.__decorate)([tt.lj],vs.prototype,"connect",void 0),(0,w.__decorate)([mi.Yh],vs.prototype,"datasource",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vs.prototype,"withGridInit",void 0),(0,w.__decorate)([l.attr],vs.prototype,"criteria",void 0),(0,w.__decorate)([l.attr],vs.prototype,"fields",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vs.prototype,"isSnapshot",void 0),(0,w.__decorate)([l.attr],vs.prototype,"maxRows",void 0),(0,w.__decorate)([l.attr],vs.prototype,"maxView",void 0),(0,w.__decorate)([l.attr],vs.prototype,"orderBy",void 0),(0,w.__decorate)([l.attr],vs.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],vs.prototype,"reverse",void 0),(0,w.__decorate)([l.attr],vs.prototype,"rowId",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"with-timestamp-formatting"})],vs.prototype,"withTimestampFormatting",void 0);let gs=class extends vs{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||te.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){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],gs.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],gs.prototype,"labelField",void 0),gs=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],gs);const fs=(e="foundation")=>l.html`
1743
+ `;var cs=o(32449),us=o(9162),ps=o(5127),hs=o(26714);class ms extends n.FoundationElement{constructor(){super(...arguments),this.withGridInit=!0,this.isSnapshot=!1,this.maxRows=ns.WJ.MAX_ROWS_250,this.maxView=ns.WJ.MAX_VIEW_1000,this.reverse=!1,this.rowId="ROW_REF",this.withTimestampFormatting=!0,this.requiresFullDataRefresh=!0,this.rowsSyncedWithStream=new Map,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new hs.X(new Map)}criteriaChanged(e,t){const o=e!==(0,cs.p)(t,";");this.datasource.initialized&&o&&(this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.fetchGenesisData(null))}set datasourceConfig(e){e&&Object.keys(e).forEach((t=>{void 0!==e[t]&&(this[t]=e[t])}))}disconnectedCallback(){super.disconnectedCallback(),this.clearData()}reset(){this.requiresFullDataRefresh=!0,this.fetchGenesisData()}fetchGenesisData(e=!0){return(0,w.__awaiter)(this,void 0,void 0,(function*(){if(this.data)return void this.syncComponentData(this.data);const t=e||!this.datasource.initialized;t||(this.connect.dataLogoff(this.sourceRef),this.clearData());if(yield this.datasource.init(this.datasourceOptions(),t))if(this.isSnapshot){const e=yield this.datasource.snapshotFiltered();this.syncComponentData(e)}else te.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const t=e.MESSAGE_TYPE;if(t&&t===us.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const t=(0,ps.$)(e);this.handleStreamUpdate(t)}else this.handleStreamUpdate(e)}));else te.debug(`Genesis Datasource init failed for ${this.resourceName}`)}))}initDatasource(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){yield this.datasource.init(this.datasourceOptions(),!0)}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView}}handleStreamUpdate(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var t,o;if(!Array.isArray(e.REPLY)||!(null===(t=e.MESSAGE_TYPE)||void 0===t?void 0:t.startsWith("REP_")))return void te.error("received invalid RequestServerResult",e);if(this.requiresFullDataRefresh){"ROW_REF"!==this.rowId&&(null===(o=e.REPLY)||void 0===o||o.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)})));const t=this.rowsSyncedWithStream.size>0?Array.from(this.rowsSyncedWithStream.values()):e.REPLY;return void this.syncComponentData(t)}this.handleStreamInserts(e.REPLY);const i=Array.from(this.rowsSyncedWithStream.values()).filter((t=>!e.REPLY.includes(t)));this.handleStreamDeletes(i)}applyDataserverData(e){var t,o,i,a;if(this.requiresFullDataRefresh){null===(t=e.inserts)||void 0===t||t.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)}));const o=Array.from(this.rowsSyncedWithStream.values());this.syncComponentData(o)}else(null===(o=e.inserts)||void 0===o?void 0:o.length)>0&&this.handleStreamInserts(e.inserts),(null===(i=e.deletes)||void 0===i?void 0:i.length)>0&&this.handleStreamDeletes(e.deletes),(null===(a=e.updates)||void 0===a?void 0:a.length)>0&&this.handleStreamUpdates(e.updates)}buildCriteria(){var e;const t=(null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[];return(0,cs.p)(t.join(" && "),";")}setFilter(e,t){this.criteriaFromFilters.set(e,t),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}}(0,w.__decorate)([tt.lj],ms.prototype,"connect",void 0),(0,w.__decorate)([mi.Yh],ms.prototype,"datasource",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ms.prototype,"withGridInit",void 0),(0,w.__decorate)([l.attr],ms.prototype,"criteria",void 0),(0,w.__decorate)([l.attr],ms.prototype,"fields",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ms.prototype,"isSnapshot",void 0),(0,w.__decorate)([l.attr],ms.prototype,"maxRows",void 0),(0,w.__decorate)([l.attr],ms.prototype,"maxView",void 0),(0,w.__decorate)([l.attr],ms.prototype,"orderBy",void 0),(0,w.__decorate)([l.attr],ms.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ms.prototype,"reverse",void 0),(0,w.__decorate)([l.attr],ms.prototype,"rowId",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"with-timestamp-formatting"})],ms.prototype,"withTimestampFormatting",void 0);let vs=class extends ms{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||te.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){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],vs.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],vs.prototype,"labelField",void 0),vs=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],vs);const gs=(e="foundation")=>l.html`
1743
1744
  <label
1744
1745
  part="label"
1745
1746
  for="control"
@@ -1814,11 +1815,11 @@
1814
1815
  </div>
1815
1816
  </div>
1816
1817
  <slot
1817
- ${(0,l.slotted)({property:"slottedDatasource",filter:e=>e instanceof gs})}
1818
+ ${(0,l.slotted)({property:"slottedDatasource",filter:e=>e instanceof vs})}
1818
1819
  ></slot>
1819
- `,bs=l.html`
1820
- ${fs()}
1821
- `,ys=void 0,ws={};class xs 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=ns.BELOW,this.initialisedOptions=!1}debounceChanged(e,t){this.debouncedInputHandler=rs()(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===ns.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!==ns.DYNAMIC||this.setDropdownPosition(),this.open=!this.open}setDropdownPosition(){var e,t;(this.scrollContainer||this.parentElement).clientHeight-(this.offsetTop-(this.scrollContainer||this.parentElement).scrollTop)<ds+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===ss._g.DATASERVER&&this.dataserverCriteriaBuilder(),e===ss._g.REQUEST_SERVER&&this.requestServerCriteriaBuilder()}else this.loading=!1,te.warn("Multiselect-datasource is not connected. Please add a datasource to use this functionality.")}dataserverCriteriaBuilder(){var e;const t=new ji;t.withExpression((new Ui).withField(null!==(e=this.slottedDatasource[0].labelField)&&void 0!==e?e:this.slottedDatasource[0].valueField).withValue(this.filterSearchValue).withSerialiser(Vi).build()),this.slottedDatasource[0].criteria=t.build()}requestServerCriteriaBuilder(){var e;const t=null!==(e=this.slottedDatasource[0].labelField)&&void 0!==e?e:this.slottedDatasource[0].valueField;this.slottedDatasource[0].request={[t]:`${this.filterSearchValue}*`},this.slottedDatasource[0].fetchGenesisData()}changeHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleClickOutside(e){ie(e,this)&&(this.open=!1)}}(0,w.__decorate)([l.attr],xs.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],xs.prototype,"all",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],xs.prototype,"allSelected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],xs.prototype,"search",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],xs.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],xs.prototype,"async",void 0),(0,w.__decorate)([l.attr],xs.prototype,"debounce",void 0),(0,w.__decorate)([l.observable],xs.prototype,"defaultSlottedNodes",void 0),(0,w.__decorate)([l.observable],xs.prototype,"slottedDatasource",void 0),(0,w.__decorate)([l.observable],xs.prototype,"valueFormatter",void 0),(0,w.__decorate)([l.observable],xs.prototype,"loading",void 0),(0,w.__decorate)([l.observable],xs.prototype,"filterSearchValue",void 0),(0,w.__decorate)([l.observable],xs.prototype,"open",void 0),(0,w.__decorate)([l.observable],xs.prototype,"options",void 0),(0,w.__decorate)([l.observable],xs.prototype,"selectedOptions",void 0),(0,w.__decorate)([l.observable],xs.prototype,"filteredAvailableOptions",void 0),(0,w.__decorate)([l.observable],xs.prototype,"scrollContainer",void 0),(0,w.__decorate)([l.observable],xs.prototype,"position",void 0),(0,w.__decorate)([l.observable],xs.prototype,"onAllSelectedCallback",void 0),(0,w.__decorate)([l.volatile],xs.prototype,"getDisplayValue",null),(0,w.__decorate)([l.volatile],xs.prototype,"getPlaceholder",null),(0,w.__decorate)([l.volatile],xs.prototype,"isAllSelected",null),(0,w.__decorate)([l.volatile],xs.prototype,"isAllOptionsDisabled",null);const Fs=xs.compose(Object.assign({baseName:"multiselect",template:bs,styles:cs,shadowOptions:ys},ws));class $s{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 Ss=(e,t)=>l.css`
1820
+ `,fs=l.html`
1821
+ ${gs()}
1822
+ `,bs=void 0,ys={};class ws 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=as.BELOW,this.initialisedOptions=!1}debounceChanged(e,t){this.debouncedInputHandler=ls()(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===as.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!==as.DYNAMIC||this.setDropdownPosition(),this.open=!this.open}setDropdownPosition(){var e,t;(this.scrollContainer||this.parentElement).clientHeight-(this.offsetTop-(this.scrollContainer||this.parentElement).scrollTop)<rs+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===ns._g.DATASERVER&&this.dataserverCriteriaBuilder(),e===ns._g.REQUEST_SERVER&&this.requestServerCriteriaBuilder()}else this.loading=!1,te.warn("Multiselect-datasource is not connected. Please add a datasource to use this functionality.")}dataserverCriteriaBuilder(){var e;const t=new Bi;t.withExpression((new Ui).withField(null!==(e=this.slottedDatasource[0].labelField)&&void 0!==e?e:this.slottedDatasource[0].valueField).withValue(this.filterSearchValue).withSerialiser(Vi).build()),this.slottedDatasource[0].criteria=t.build()}requestServerCriteriaBuilder(){var e;const t=null!==(e=this.slottedDatasource[0].labelField)&&void 0!==e?e:this.slottedDatasource[0].valueField;this.slottedDatasource[0].request={[t]:`${this.filterSearchValue}*`},this.slottedDatasource[0].fetchGenesisData()}changeHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleClickOutside(e){ie(e,this)&&(this.open=!1)}}(0,w.__decorate)([l.attr],ws.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ws.prototype,"all",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ws.prototype,"allSelected",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ws.prototype,"search",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ws.prototype,"disabled",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],ws.prototype,"async",void 0),(0,w.__decorate)([l.attr],ws.prototype,"debounce",void 0),(0,w.__decorate)([l.observable],ws.prototype,"defaultSlottedNodes",void 0),(0,w.__decorate)([l.observable],ws.prototype,"slottedDatasource",void 0),(0,w.__decorate)([l.observable],ws.prototype,"valueFormatter",void 0),(0,w.__decorate)([l.observable],ws.prototype,"loading",void 0),(0,w.__decorate)([l.observable],ws.prototype,"filterSearchValue",void 0),(0,w.__decorate)([l.observable],ws.prototype,"open",void 0),(0,w.__decorate)([l.observable],ws.prototype,"options",void 0),(0,w.__decorate)([l.observable],ws.prototype,"selectedOptions",void 0),(0,w.__decorate)([l.observable],ws.prototype,"filteredAvailableOptions",void 0),(0,w.__decorate)([l.observable],ws.prototype,"scrollContainer",void 0),(0,w.__decorate)([l.observable],ws.prototype,"position",void 0),(0,w.__decorate)([l.observable],ws.prototype,"onAllSelectedCallback",void 0),(0,w.__decorate)([l.volatile],ws.prototype,"getDisplayValue",null),(0,w.__decorate)([l.volatile],ws.prototype,"getPlaceholder",null),(0,w.__decorate)([l.volatile],ws.prototype,"isAllSelected",null),(0,w.__decorate)([l.volatile],ws.prototype,"isAllOptionsDisabled",null);const xs=ws.compose(Object.assign({baseName:"multiselect",template:fs,styles:ds,shadowOptions:bs},ys));class $s{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 Fs=(e,t)=>l.css`
1822
1823
  ${(0,s.numberFieldStyles)(e,t)}
1823
1824
  ::part(label) {
1824
1825
  color: var(--neutral-foreground-rest);
@@ -1848,7 +1849,7 @@
1848
1849
  ::part(end) {
1849
1850
  margin-inline-end: unset;
1850
1851
  }
1851
- `,Ds=(e,t)=>l.html`
1852
+ `,Ss=(e,t)=>l.html`
1852
1853
  <template class="${e=>e.readOnly?"readonly":""}">
1853
1854
  <label
1854
1855
  part="label"
@@ -1917,7 +1918,7 @@
1917
1918
  ${(0,n.endSlotTemplate)(e,t)}
1918
1919
  </div>
1919
1920
  </template>
1920
- `;class Cs 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 $s(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 $s(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(t&&null!==t||!this.control){if(t&&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.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}))}}else this.control.value=""}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],Cs.prototype,"autocomplete",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Cs.prototype,"hideStep",void 0),(0,w.__decorate)([l.attr],Cs.prototype,"value",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Cs.prototype,"withFormatting",void 0),(0,w.__decorate)([l.attr],Cs.prototype,"locale",void 0);const _s={delegatesFocus:!0,mode:"open"},Os={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 '},ks=Cs.compose(Object.assign({baseName:"number-field",template:Ds,styles:Ss,shadowOptions:_s},Os));var Ts=o(86975);const Ls={toView:e=>JSON.stringify(e),fromView:e=>null==e?e:JSON.parse(e)};class As 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,Ts.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],As.prototype,"selector",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],As.prototype,"show",void 0),(0,w.__decorate)([l.attr],As.prototype,"event",void 0),(0,w.__decorate)([l.attr],As.prototype,"placement",void 0),(0,w.__decorate)([(0,l.attr)({converter:Ls})],As.prototype,"offset",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],As.prototype,"flip",void 0);const Rs=l.css`
1921
+ `;class Ds 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 $s(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 $s(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(t&&null!==t||!this.control){if(t&&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.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}))}}else this.control.value=""}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],Ds.prototype,"autocomplete",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ds.prototype,"hideStep",void 0),(0,w.__decorate)([l.attr],Ds.prototype,"value",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ds.prototype,"withFormatting",void 0),(0,w.__decorate)([l.attr],Ds.prototype,"locale",void 0);const Cs={delegatesFocus:!0,mode:"open"},_s={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 '},Os=Ds.compose(Object.assign({baseName:"number-field",template:Ss,styles:Fs,shadowOptions:Cs},_s));var ks=o(86975);const Ts={toView:e=>JSON.stringify(e),fromView:e=>null==e?e:JSON.parse(e)};class Ls 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,ks.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],Ls.prototype,"selector",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ls.prototype,"show",void 0),(0,w.__decorate)([l.attr],Ls.prototype,"event",void 0),(0,w.__decorate)([l.attr],Ls.prototype,"placement",void 0),(0,w.__decorate)([(0,l.attr)({converter:Ts})],Ls.prototype,"offset",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],Ls.prototype,"flip",void 0);const As=l.css`
1921
1922
  :host {
1922
1923
  display: none;
1923
1924
  inset: unset !important;
@@ -1927,22 +1928,22 @@
1927
1928
  :host([show]) {
1928
1929
  display: block;
1929
1930
  }
1930
- `,Es=l.html`
1931
+ `,Rs=l.html`
1931
1932
  <template>
1932
1933
  <slot></slot>
1933
1934
  </template>
1934
- `,Ns=As.compose({baseName:"popper",styles:Rs,template:Es}),Ms=(e,t)=>l.css`
1935
+ `,Es=Ls.compose({baseName:"popper",styles:As,template:Rs}),Ns=(e,t)=>l.css`
1935
1936
  ${(0,s.progressStyles)(e,t)}
1936
1937
  :host {
1937
1938
  height: calc(var(--design-unit) * 2px);
1938
1939
  }
1939
- `,Is=(e,t)=>(0,n.progressTemplate)(e,t);class Ps extends s.Progress{}const Hs=void 0,js={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},Bs=Ps.compose(Object.assign({baseName:"progress",template:Is,styles:Ms,shadowOptions:Hs},js)),Gs=(e,t)=>l.css`
1940
+ `,Ms=(e,t)=>(0,n.progressTemplate)(e,t);class Is extends s.Progress{}const Ps=void 0,Hs={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},Bs=Is.compose(Object.assign({baseName:"progress",template:Ms,styles:Ns,shadowOptions:Ps},Hs)),js=(e,t)=>l.css`
1940
1941
  ${(0,s.progressRingStyles)(e,t)}
1941
- `,zs=(e,t)=>(0,n.progressRingTemplate)(e,t);class Vs extends s.Progress{}const Us=void 0,Ys={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 '},Ws=Vs.compose(Object.assign({baseName:"progress-ring",template:zs,styles:Gs,shadowOptions:Us},Ys)),qs=(e,t)=>l.css`
1942
+ `,Gs=(e,t)=>(0,n.progressRingTemplate)(e,t);class zs extends s.Progress{}const Vs=void 0,Us={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 '},Ys=zs.compose(Object.assign({baseName:"progress-ring",template:Gs,styles:js,shadowOptions:Vs},Us)),Ws=(e,t)=>l.css`
1942
1943
  ${(0,s.radioStyles)(e,t)}
1943
- `,Xs=(e,t)=>(0,n.radioTemplate)(e,t);class Ks extends s.Radio{}const Zs=void 0,Qs={checkedIndicator:'\n <div part="checked-indicator" class="checked-indicator"></div>\n '},Js=Ks.compose(Object.assign({baseName:"radio",template:Xs,styles:qs,shadowOptions:Zs},Qs)),el=(e,t)=>l.css`
1944
+ `,qs=(e,t)=>(0,n.radioTemplate)(e,t);class Xs extends s.Radio{}const Ks=void 0,Zs={checkedIndicator:'\n <div part="checked-indicator" class="checked-indicator"></div>\n '},Qs=Xs.compose(Object.assign({baseName:"radio",template:qs,styles:Ws,shadowOptions:Ks},Zs)),Js=(e,t)=>l.css`
1944
1945
  ${(0,s.radioGroupStyles)(e,t)}
1945
- `,tl=(e,t)=>(0,n.radioGroupTemplate)(e,t);class ol extends s.RadioGroup{}const il=void 0,al={},nl=ol.compose(Object.assign({baseName:"radio-group",template:tl,styles:el,shadowOptions:il},al)),sl=(e,t)=>l.css`
1946
+ `,el=(e,t)=>(0,n.radioGroupTemplate)(e,t);class tl extends s.RadioGroup{}const ol=void 0,il={},al=tl.compose(Object.assign({baseName:"radio-group",template:el,styles:Js,shadowOptions:ol},il)),nl=(e,t)=>l.css`
1946
1947
  ${(0,s.radioGroupStyles)(e,t)}
1947
1948
  ::slotted(foundation-segmented-item:first-of-type) {
1948
1949
  border-radius: calc(var(--control-corner-radius) * 1px) 0 0
@@ -1955,7 +1956,7 @@
1955
1956
  calc(var(--control-corner-radius) * 1px) 0;
1956
1957
  border-left-width: 0;
1957
1958
  }
1958
- `,ll=(e,t)=>(0,n.radioGroupTemplate)(e,t);class rl extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const dl=void 0,cl={},ul=rl.compose(Object.assign({baseName:"segmented-control",template:ll,styles:sl,shadowOptions:dl},cl)),pl=(e,t)=>l.css`
1959
+ `,sl=(e,t)=>(0,n.radioGroupTemplate)(e,t);class ll extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const rl=void 0,dl={},cl=ll.compose(Object.assign({baseName:"segmented-control",template:sl,styles:nl,shadowOptions:rl},dl)),ul=(e,t)=>l.css`
1959
1960
  ${(0,s.radioStyles)(e,t)}
1960
1961
  :host {
1961
1962
  padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px);
@@ -1966,7 +1967,7 @@
1966
1967
  :host([aria-checked='true']) {
1967
1968
  background: var(--accent-foreground-rest);
1968
1969
  }
1969
- `,hl=(e,t)=>l.html`
1970
+ `,pl=(e,t)=>l.html`
1970
1971
  <template
1971
1972
  role="radio"
1972
1973
  aria-checked="${e=>e.checked}"
@@ -1980,21 +1981,21 @@
1980
1981
  <slot></slot>
1981
1982
  </span>
1982
1983
  </template>
1983
- `;class ml extends s.Radio{}const vl=void 0,gl={},fl=ml.compose(Object.assign({baseName:"segmented-item",template:hl,styles:pl,shadowOptions:vl},gl)),bl=(e,t)=>l.css`
1984
+ `;class hl extends s.Radio{}const ml=void 0,vl={},gl=hl.compose(Object.assign({baseName:"segmented-item",template:pl,styles:ul,shadowOptions:ml},vl)),fl=(e,t)=>l.css`
1984
1985
  ${(0,s.selectStyles)(e,t)}
1985
- `,yl=(e,t)=>(0,n.selectTemplate)(e,t);class wl extends s.Select{}const xl=void 0,Fl={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 '},$l=wl.compose(Object.assign({baseName:"select",template:yl,styles:bl,shadowOptions:xl},Fl)),Sl=(e,t)=>l.css`
1986
+ `,bl=(e,t)=>(0,n.selectTemplate)(e,t);class yl extends s.Select{}const wl=void 0,xl={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 '},$l=yl.compose(Object.assign({baseName:"select",template:bl,styles:fl,shadowOptions:wl},xl)),Fl=(e,t)=>l.css`
1986
1987
  ${(0,s.skeletonStyles)(e,t)}
1987
- `,Dl=(e,t)=>(0,n.skeletonTemplate)(e,t);class Cl extends s.Skeleton{}const _l=void 0,Ol={},kl=Cl.compose(Object.assign({baseName:"skeleton",template:Dl,styles:Sl,shadowOptions:_l},Ol)),Tl=(e,t)=>l.css`
1988
+ `,Sl=(e,t)=>(0,n.skeletonTemplate)(e,t);class Dl extends s.Skeleton{}const Cl=void 0,_l={},Ol=Dl.compose(Object.assign({baseName:"skeleton",template:Sl,styles:Fl,shadowOptions:Cl},_l)),kl=(e,t)=>l.css`
1988
1989
  ${(0,s.sliderStyles)(e,t)}
1989
1990
  .track-progress {
1990
1991
  background-color: var(--accent-fill-rest);
1991
1992
  border-radius: calc(var(--control-corner-radius) * 1px);
1992
1993
  }
1993
- `;var Ll=o(75511),Al=o(62515);const Rl=(e,t)=>l.html`
1994
+ `;var Tl=o(75511),Ll=o(62515);const Al=(e,t)=>l.html`
1994
1995
  <template
1995
1996
  role="slider"
1996
1997
  class="${e=>e.readOnly?"readonly":""}
1997
- ${e=>e.orientation||Ll.i.horizontal}"
1998
+ ${e=>e.orientation||Tl.i.horizontal}"
1998
1999
  tabindex="${e=>e.disabled?null:0}"
1999
2000
  aria-valuetext="${e=>e.valueTextFormatter(e.value)}"
2000
2001
  aria-valuenow="${e=>e.value}"
@@ -2009,7 +2010,7 @@
2009
2010
  <div ${(0,l.ref)("track")} part="track-container" class="track">
2010
2011
  <div
2011
2012
  class="track-progress"
2012
- style="${e=>{const t=1-(0,Al.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;`}}"
2013
+ style="${e=>{const t=1-(0,Ll.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;`}}"
2013
2014
  ></div>
2014
2015
  </div>
2015
2016
  <slot></slot>
@@ -2023,9 +2024,9 @@
2023
2024
  </div>
2024
2025
  </div>
2025
2026
  </template>
2026
- `;class El extends s.Slider{}const Nl=void 0,Ml={thumb:'\n <div class="thumb-cursor"></div>\n '},Il=El.compose(Object.assign({baseName:"slider",template:Rl,styles:Tl,shadowOptions:Nl},Ml)),Pl=(e,t)=>l.css`
2027
+ `;class Rl extends s.Slider{}const El=void 0,Nl={thumb:'\n <div class="thumb-cursor"></div>\n '},Ml=Rl.compose(Object.assign({baseName:"slider",template:Al,styles:kl,shadowOptions:El},Nl)),Il=(e,t)=>l.css`
2027
2028
  ${(0,s.sliderLabelStyles)(e,t)}
2028
- `,Hl=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class jl extends s.SliderLabel{}const Bl=void 0,Gl={},zl=jl.compose(Object.assign({baseName:"slider-label",template:Hl,styles:Pl,shadowOptions:Bl},Gl)),Vl=l.css`
2029
+ `,Pl=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class Hl extends s.SliderLabel{}const Bl=void 0,jl={},Gl=Hl.compose(Object.assign({baseName:"slider-label",template:Pl,styles:Il,shadowOptions:Bl},jl)),zl=l.css`
2029
2030
  @keyframes append-animate {
2030
2031
  from {
2031
2032
  transform: translateX(100%);
@@ -2107,7 +2108,7 @@
2107
2108
  flex: 1;
2108
2109
  overflow: hidden;
2109
2110
  }
2110
- `,Ul=e=>l.html`
2111
+ `,Vl=e=>l.html`
2111
2112
  <div class="snackbar ${e=>e.deleteAnimation}" ${(0,l.ref)("snackbar")}>
2112
2113
  <div part="content" class="content">
2113
2114
  <div>
@@ -2126,9 +2127,9 @@
2126
2127
  `)}
2127
2128
  </div>
2128
2129
  </div>
2129
- `,Yl=l.html`
2130
- ${e=>Ul(ne(e))}
2131
- `,Wl={mode:"open",delegatesFocus:!0};class ql 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],ql.prototype,"error",void 0),(0,w.__decorate)([l.observable],ql.prototype,"notification",void 0),(0,w.__decorate)([l.observable],ql.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],ql.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],ql.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"type"})],ql.prototype,"type",void 0);const Xl=ql.compose({baseName:"snackbar",styles:Vl,template:Yl,shadowOptions:Wl}),Kl=(e,t)=>l.css`
2130
+ `,Ul=l.html`
2131
+ ${e=>Vl(ne(e))}
2132
+ `,Yl={mode:"open",delegatesFocus:!0};class Wl 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],Wl.prototype,"error",void 0),(0,w.__decorate)([l.observable],Wl.prototype,"notification",void 0),(0,w.__decorate)([l.observable],Wl.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],Wl.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],Wl.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"type"})],Wl.prototype,"type",void 0);const ql=Wl.compose({baseName:"snackbar",styles:zl,template:Ul,shadowOptions:Yl}),Xl=(e,t)=>l.css`
2132
2133
  ${(0,s.switchStyles)(e,t)}
2133
2134
  .checked-indicator {
2134
2135
  transform: scale(1.3);
@@ -2141,24 +2142,24 @@
2141
2142
  .checked-indicator {
2142
2143
  border-radius: calc(var(--control-corner-radius) * 2px);
2143
2144
  }
2144
- `,Zl=(e,t)=>(0,n.switchTemplate)(e,t);class Ql extends s.Switch{}const Jl=void 0,er={switch:'<div class="checked-indicator" part="checked-indicator"></div>'},tr=Ql.compose(Object.assign({baseName:"switch",template:Zl,styles:Kl,shadowOptions:Jl},er)),or=(e,t)=>l.css`
2145
+ `,Kl=(e,t)=>(0,n.switchTemplate)(e,t);class Zl extends s.Switch{}const Ql=void 0,Jl={switch:'<div class="checked-indicator" part="checked-indicator"></div>'},er=Zl.compose(Object.assign({baseName:"switch",template:Kl,styles:Xl,shadowOptions:Ql},Jl)),tr=(e,t)=>l.css`
2145
2146
  ${(0,s.tabStyles)(e,t)}
2146
- `,ir=(e,t)=>(0,n.tabTemplate)(e,t);class ar extends s.Tab{}const nr=void 0,sr={},lr=ar.compose(Object.assign({baseName:"tab",template:ir,styles:or,shadowOptions:nr},sr)),rr=(e,t)=>l.css`
2147
+ `,or=(e,t)=>(0,n.tabTemplate)(e,t);class ir extends s.Tab{}const ar=void 0,nr={},sr=ir.compose(Object.assign({baseName:"tab",template:or,styles:tr,shadowOptions:ar},nr)),lr=(e,t)=>l.css`
2147
2148
  ${(0,s.tabPanelStyles)(e,t)}
2148
- `,dr=(e,t)=>(0,n.tabPanelTemplate)(e,t);class cr extends s.TabPanel{}const ur=void 0,pr={},hr=cr.compose(Object.assign({baseName:"tab-panel",template:dr,styles:rr,shadowOptions:ur},pr)),mr=(e,t)=>l.css`
2149
+ `,rr=(e,t)=>(0,n.tabPanelTemplate)(e,t);class dr extends s.TabPanel{}const cr=void 0,ur={},pr=dr.compose(Object.assign({baseName:"tab-panel",template:rr,styles:lr,shadowOptions:cr},ur)),hr=(e,t)=>l.css`
2149
2150
  ${(0,s.tabsStyles)(e,t)}
2150
- `,vr=(e,t)=>(0,n.tabsTemplate)(e,t);class gr extends s.Tabs{}const fr=void 0,br={},yr=gr.compose(Object.assign({baseName:"tabs",template:vr,styles:mr,shadowOptions:fr},br)),wr=(e,t)=>l.css`
2151
+ `,mr=(e,t)=>(0,n.tabsTemplate)(e,t);class vr extends s.Tabs{}const gr=void 0,fr={},br=vr.compose(Object.assign({baseName:"tabs",template:mr,styles:hr,shadowOptions:gr},fr)),yr=(e,t)=>l.css`
2151
2152
  ${(0,s.textAreaStyles)(e,t)}
2152
2153
  :host .control {
2153
2154
  padding: calc(var(--design-unit) * 3px);
2154
2155
  }
2155
- `,xr=(e,t)=>(0,n.textAreaTemplate)(e,t);class Fr extends s.TextArea{}const $r=void 0,Sr={},Dr=Fr.compose(Object.assign({baseName:"text-area",template:xr,styles:wr,shadowOptions:$r},Sr)),{create:Cr}=n.DesignToken,_r=Cr("active-color-scheme").withDefault((e=>s.baseLayerLuminance.getValueFor(e)===s.StandardLuminance.LightMode?"light":"dark")),Or=(e,t)=>l.css`
2156
+ `,wr=(e,t)=>(0,n.textAreaTemplate)(e,t);class xr extends s.TextArea{}const $r=void 0,Fr={},Sr=xr.compose(Object.assign({baseName:"text-area",template:wr,styles:yr,shadowOptions:$r},Fr)),{create:Dr}=n.DesignToken,Cr=Dr("active-color-scheme").withDefault((e=>s.baseLayerLuminance.getValueFor(e)===s.StandardLuminance.LightMode?"light":"dark")),_r=(e,t)=>l.css`
2156
2157
  ${(0,s.textFieldStyles)(e,t)}
2157
2158
 
2158
2159
  input {
2159
- color-scheme: ${_r};
2160
+ color-scheme: ${Cr};
2160
2161
  }
2161
- `,kr=(e,t)=>l.html`
2162
+ `,Or=(e,t)=>l.html`
2162
2163
  <template
2163
2164
  class="
2164
2165
  ${e=>e.readOnly?"readonly":""}
@@ -2220,7 +2221,7 @@
2220
2221
  ${(0,n.endSlotTemplate)(e,t)}
2221
2222
  </div>
2222
2223
  </template>
2223
- `;class Tr 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],Tr.prototype,"autocomplete",void 0),(0,w.__decorate)([l.attr],Tr.prototype,"autocapitalize",void 0),(0,w.__decorate)([l.attr],Tr.prototype,"step",void 0);const Lr={mode:"open",delegatesFocus:!0},Ar={},Rr=Tr.compose(Object.assign({baseName:"text-field",template:kr,styles:Or,shadowOptions:Lr},Ar)),Er=l.css`
2224
+ `;class kr 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],kr.prototype,"autocomplete",void 0),(0,w.__decorate)([l.attr],kr.prototype,"autocapitalize",void 0),(0,w.__decorate)([l.attr],kr.prototype,"step",void 0);const Tr={mode:"open",delegatesFocus:!0},Lr={},Ar=kr.compose(Object.assign({baseName:"text-field",template:Or,styles:_r,shadowOptions:Tr},Lr)),Rr=l.css`
2224
2225
  @keyframes append-animate {
2225
2226
  from {
2226
2227
  transform: translateX(100%);
@@ -2321,7 +2322,7 @@
2321
2322
  .close-icon svg {
2322
2323
  cursor: pointer;
2323
2324
  }
2324
- `,Nr=l.html`
2325
+ `,Er=l.html`
2325
2326
  <div class="toast ${e=>e.deleteAnimation}" ${(0,l.ref)("toast")}>
2326
2327
  <div class="content-wrapper">
2327
2328
  <div part="top" class="top">
@@ -2339,11 +2340,11 @@
2339
2340
  </div>
2340
2341
  </div>
2341
2342
  </div>
2342
- `,Mr={mode:"open",delegatesFocus:!0},Ir={};class Pr 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],Pr.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],Pr.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],Pr.prototype,"autoClose",void 0);const Hr=Pr.compose(Object.assign({baseName:"toast",styles:Er,template:Nr,shadowOptions:Mr},Ir)),jr=(e,t)=>l.css`
2343
+ `,Nr={mode:"open",delegatesFocus:!0},Mr={};class Ir 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],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);const Pr=Ir.compose(Object.assign({baseName:"toast",styles:Rr,template:Er,shadowOptions:Nr},Mr)),Hr=(e,t)=>l.css`
2343
2344
  ${(0,s.toolbarStyles)(e,t)}
2344
- `,Br=(e,t)=>(0,n.toolbarTemplate)(e,t);class Gr extends s.Toolbar{}const zr=void 0,Vr={},Ur=Gr.compose(Object.assign({baseName:"toolbar",template:Br,styles:jr,shadowOptions:zr},Vr)),Yr=(e,t)=>l.css`
2345
+ `,Br=(e,t)=>(0,n.toolbarTemplate)(e,t);class jr extends s.Toolbar{}const Gr=void 0,zr={},Vr=jr.compose(Object.assign({baseName:"toolbar",template:Br,styles:Hr,shadowOptions:Gr},zr)),Ur=(e,t)=>l.css`
2345
2346
  ${(0,s.tooltipStyles)(e,t)}
2346
- `,Wr=(e,t)=>(0,n.tooltipTemplate)(e,t);class qr extends s.Tooltip{}const Xr=void 0,Kr={},Zr=qr.compose(Object.assign({baseName:"tooltip",template:Wr,styles:Yr,shadowOptions:Xr},Kr)),Qr=(e,t)=>l.css`
2347
+ `,Yr=(e,t)=>(0,n.tooltipTemplate)(e,t);class Wr extends s.Tooltip{}const qr=void 0,Xr={},Kr=Wr.compose(Object.assign({baseName:"tooltip",template:Yr,styles:Ur,shadowOptions:qr},Xr)),Zr=(e,t)=>l.css`
2347
2348
  ${(0,s.treeItemStyles)(e,t)}
2348
2349
  :host {
2349
2350
  --focus-stroke-width: 0;
@@ -2360,9 +2361,9 @@
2360
2361
  .positioning-region {
2361
2362
  height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) * 1px);
2362
2363
  }
2363
- `,Jr=(e,t)=>(0,n.treeItemTemplate)(e,t);class ed extends s.TreeItem{}const td=void 0,od={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>'},id=ed.compose(Object.assign({baseName:"tree-item",template:Jr,styles:Qr,shadowOptions:td},od)),ad=(e,t)=>l.css`
2364
+ `,Qr=(e,t)=>(0,n.treeItemTemplate)(e,t);class Jr extends s.TreeItem{}const ed=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>'},od=Jr.compose(Object.assign({baseName:"tree-item",template:Qr,styles:Zr,shadowOptions:ed},td)),id=(e,t)=>l.css`
2364
2365
  ${(0,s.treeViewStyles)(e,t)}
2365
- `,nd=(e,t)=>(0,n.treeViewTemplate)(e,t);class sd extends n.TreeView{}const ld=void 0,rd={},dd=sd.compose(Object.assign({baseName:"tree-view",template:nd,styles:ad,shadowOptions:ld},rd)),cd=(e,t)=>l.css`
2366
+ `,ad=(e,t)=>(0,n.treeViewTemplate)(e,t);class nd extends n.TreeView{}const sd=void 0,ld={},rd=nd.compose(Object.assign({baseName:"tree-view",template:ad,styles:id,shadowOptions:sd},ld)),dd=(e,t)=>l.css`
2366
2367
  .container {
2367
2368
  position: relative;
2368
2369
  width: 100%;
@@ -2382,7 +2383,7 @@
2382
2383
  overflow: hidden;
2383
2384
  text-overflow: ellipsis;
2384
2385
  }
2385
- `,ud=l.html`
2386
+ `,cd=l.html`
2386
2387
  <div class="container" value=${e=>e.value}>
2387
2388
  <fast-text-field
2388
2389
  class="url-input"
@@ -2398,9 +2399,9 @@
2398
2399
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
2399
2400
  `)}
2400
2401
  </div>
2401
- `,pd=void 0,hd={};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 vd=md.compose(Object.assign({baseName:"url-input",template:ud,styles:cd,shadowOptions:pd},hd)),gd={foundationAccordion:h,foundationAccordionItem:y,foundationActionsMenu:O,foundationAnchor:E,foundationAnchoredRegion:j,foundationAvatar:W,foundationBadge:J,foundationBanner:ce,foundationBreadcrumbItem:Fe,foundationBreadcrumb:ge,foundationButton:Oe,foundationCalendar:Ee,foundationCard:je,foundationCheckbox:Ye,foundationCombobox:et,foundationConnectionIndicator:st,foundationDataGrid:pt,foundationDataGridCell:ft,foundationDataGridRow:Ft,foundationDatePicker:Gt,foundationDesignSystemProvider:Ao,foundationDialog:Go,foundationDisclosure:qo,foundationDivider:ei,foundationDropdownMenu:li,foundationErrorBoundary:Oi,foundationErrorBanner:pi,foundationErrorDialog:Ei,foundationFileUpload:sa,foundationFilter:fa,foundationFilterBar:_a,foundationFlexLayout:Na,foundationFlipper:Ba,foundationFlyout:Xa,foundationGridLayout:nn,foundationGridLayoutItem:cn,foundationHorizontalScroll:gn,foundationIcon:On,foundationListbox:En,foundationListboxOption:jn,foundationMenu:Yn,foundationMenuItem:Qn,foundationModal:as,foundationMultiselect:Fs,foundationNumberField:ks,foundationProgress:Bs,foundationPopper:Ns,foundationProgressRing:Ws,foundationRadio:Js,foundationRadioGroup:nl,foundationSegmentedControl:ul,foundationSegmentedItem:fl,foundationSelect:$l,foundationSkeleton:kl,foundationSlider:Il,foundationSliderLabel:zl,foundationSnackbar:Xl,foundationSwitch:tr,foundationTab:lr,foundationTabPanel:hr,foundationTabs:yr,foundationTextArea:Dr,foundationTextField:Rr,foundationToast:Hr,foundationToolbar:Ur,foundationTooltip:Zr,foundationTreeItem:id,foundationTreeView:dd,foundationUrlInput:vd,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function fd(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&&uo(i,a,e);return fd(n.DesignSystem.getOrCreate(e).withPrefix(t))};class yd 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 wd=class extends vs{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(){te.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){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};wd=(0,w.__decorate)([(0,l.customElement)({name:"data-grid-datasource"})],wd);const xd=l.html`
2402
+ `,ud=void 0,pd={};class hd 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],hd.prototype,"value",void 0),(0,w.__decorate)([l.observable],hd.prototype,"focused",void 0);const md=hd.compose(Object.assign({baseName:"url-input",template:cd,styles:dd,shadowOptions:ud},pd)),vd={foundationAccordion:h,foundationAccordionItem:y,foundationActionsMenu:O,foundationAnchor:E,foundationAnchoredRegion:B,foundationAvatar:W,foundationBadge:J,foundationBanner:ce,foundationBreadcrumbItem:$e,foundationBreadcrumb:ge,foundationButton:Oe,foundationCalendar:Ee,foundationCard:Be,foundationCheckbox:Ye,foundationCombobox:et,foundationConnectionIndicator:st,foundationDataGrid:pt,foundationDataGridCell:ft,foundationDataGridRow:$t,foundationDatePicker:Gt,foundationDesignSystemProvider:Ao,foundationDialog:Go,foundationDisclosure:qo,foundationDivider:ei,foundationDropdownMenu:li,foundationErrorBoundary:Oi,foundationErrorBanner:pi,foundationErrorDialog:Ei,foundationFileUpload:sa,foundationFilter:fa,foundationFilterBar:Ca,foundationFlexLayout:Ea,foundationFlipper:Ba,foundationFlyout:qa,foundationGridLayout:an,foundationGridLayoutItem:dn,foundationHorizontalScroll:vn,foundationIcon:_n,foundationListbox:Rn,foundationListboxOption:Hn,foundationMenu:Un,foundationMenuItem:Zn,foundationModal:is,foundationMultiselect:xs,foundationNumberField:Os,foundationProgress:Bs,foundationPopper:Es,foundationProgressRing:Ys,foundationRadio:Qs,foundationRadioGroup:al,foundationSegmentedControl:cl,foundationSegmentedItem:gl,foundationSelect:$l,foundationSkeleton:Ol,foundationSlider:Ml,foundationSliderLabel:Gl,foundationSnackbar:ql,foundationSwitch:er,foundationTab:sr,foundationTabPanel:pr,foundationTabs:br,foundationTextArea:Sr,foundationTextField:Ar,foundationToast:Pr,foundationToolbar:Vr,foundationTooltip:Kr,foundationTreeItem:od,foundationTreeView:rd,foundationUrlInput:md,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function gd(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 fd=(e,t="foundation")=>{e&&uo(i,a,e);return gd(n.DesignSystem.getOrCreate(e).withPrefix(t))};class bd 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 yd=class extends ms{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(){te.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){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};yd=(0,w.__decorate)([(0,l.customElement)({name:"data-grid-datasource"})],yd);const wd=l.html`
2402
2403
  <template ${(0,l.ref)("notificationListener")}>
2403
2404
  <slot></slot>
2404
2405
  </template>
2405
- `;var Fd;!function(e){e.NOTIFICATION_EVENT="notification-event"}(Fd||(Fd={}));const $d=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"}`},Sd=(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},Dd=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},Cd=(0,ee.createLogger)("foundation-notifications"),_d={alert:e=>{alert($d(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=Sd("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 F=document.createElement(`${w}-toast`),$=document.createElement("div");$.setAttribute("slot","top"),$.textContent=e.title;const S=document.createElement("div");S.setAttribute("slot","content"),S.textContent=(null==e?void 0:e.body)||"";const D=document.createElement("div");let C;D.setAttribute("slot","date"),D.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:F})})),t.appearance&&o.setAttribute("appearance",t.appearance),C.appendChild(o)}))),F.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)&&F.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)&&F.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}`),F.appendChild($),F.appendChild(S),F.appendChild(D),C&&F.appendChild(C),x.appendChild(F)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-dialog`);Sd("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Sd("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 Dd()})(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}},Od=(e,t,o)=>{var i,a;Cd.log({message:$d(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)||ee.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{_d[i]&&_d[i](e,t,o)}))};class kd{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 ee.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 Td{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 Ld={mode:"open",delegatesFocus:!0};class Ad 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(Fd.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),Od(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,hs.$)(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})))),Od((new kd).withTitle(o).withBody(i).withCreatedAt(n).withToast((new Td).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],Ad.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Ad.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Ad.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],Ad.prototype,"toastButtons",void 0),(0,w.__decorate)([mi.Yh],Ad.prototype,"datasource",void 0);const Rd=Ad.compose({baseName:"notification-listener",template:xd,shadowOptions:Ld});var Ed;let Nd=Ed=class extends vs{constructor(){super(...arguments),this.optionElement="fast-option",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.addEventListener("change",(e=>{const t=this.options.find((t=>t.label===e.target.value));this.select.$emit("value-change",t)})),this.select&&this.valueField&&(this.resourceName&&this.connect.isConnected||this.data)&&this.fetchGenesisData(),this.valueField||te.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label (e.g label-field="NAME")')}))}clearData(){Array.from(this.select.children).forEach((e=>{e instanceof Ed||this.select.removeChild(e)})),this.select.value="",this.select.initialValue=""}syncComponentData(e){var t;const o=null!=e?e:Array.from(this.rowsSyncedWithStream.values());this.options=o.map((e=>({value:e[this.valueField],label:this.labelFormatter?this.labelFormatter(e[this.labelField]):e[this.labelField]})));this.options.map((({value:e,label:t})=>{const o=document.createElement(this.optionElement);return o.textContent=t||e,o.value=e,o})).forEach((e=>{this.select.appendChild(e)}));const i=this.initialSelectedValue||0===this.initialSelectedValue?null===(t=this.options.find((e=>e.value===this.initialSelectedValue)))||void 0===t?void 0:t.label:"";l.DOM.queueUpdate((()=>{this.select.value=i}))}handleStreamInserts(e){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Nd.prototype,"labelField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Nd.prototype,"valueField",void 0),(0,w.__decorate)([l.observable],Nd.prototype,"labelFormatter",void 0),Nd=Ed=(0,w.__decorate)([(0,l.customElement)({name:"options-datasource"})],Nd);const Md=(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 Id(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 Pd=o(1279);let Hd=class extends(Pd.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Hd=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],Hd);const jd=()=>bd().register(gd)}}]);
2406
- //# sourceMappingURL=701.9d6e15bf1ecd199d5629b7ae84336eb6.js.map
2406
+ `;var xd;!function(e){e.NOTIFICATION_EVENT="notification-event"}(xd||(xd={}));const $d=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"}`},Fd=(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},Sd=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},Dd=(0,ee.createLogger)("foundation-notifications"),Cd={alert:e=>{alert($d(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=Fd("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`),F=document.createElement("div");F.setAttribute("slot","top"),F.textContent=e.title;const S=document.createElement("div");S.setAttribute("slot","content"),S.textContent=(null==e?void 0:e.body)||"";const D=document.createElement("div");let C;D.setAttribute("slot","date"),D.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(F),$.appendChild(S),$.appendChild(D),C&&$.appendChild(C),x.appendChild($)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-dialog`);Fd("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Fd("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 Sd()})(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}},_d=(e,t,o)=>{var i,a;Dd.log({message:$d(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)||ee.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Cd[i]&&Cd[i](e,t,o)}))};class Od{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 ee.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 kd{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 Td={mode:"open",delegatesFocus:!0};class Ld 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(xd.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),_d(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,ps.$)(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})))),_d((new Od).withTitle(o).withBody(i).withCreatedAt(n).withToast((new kd).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],Ld.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Ld.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Ld.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],Ld.prototype,"toastButtons",void 0),(0,w.__decorate)([mi.Yh],Ld.prototype,"datasource",void 0);const Ad=Ld.compose({baseName:"notification-listener",template:wd,shadowOptions:Td});var Rd;let Ed=Rd=class extends ms{constructor(){super(...arguments),this.optionElement="fast-option",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.addEventListener("change",(e=>{const t=this.options.find((t=>t.label===e.target.value));this.select.$emit("value-change",t)})),this.select&&this.valueField&&(this.resourceName&&this.connect.isConnected||this.data)&&this.fetchGenesisData(),this.valueField||te.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label (e.g label-field="NAME")')}))}clearData(){Array.from(this.select.children).forEach((e=>{e instanceof Rd||this.select.removeChild(e)})),this.select.value="",this.select.initialValue=""}syncComponentData(e){var t;const o=null!=e?e:Array.from(this.rowsSyncedWithStream.values());this.options=o.map((e=>({value:e[this.valueField],label:this.labelFormatter?this.labelFormatter(e[this.labelField]):e[this.labelField]})));this.options.map((({value:e,label:t})=>{const o=document.createElement(this.optionElement);return o.textContent=t||e,o.value=e,o})).forEach((e=>{this.select.appendChild(e)}));const i=this.initialSelectedValue||0===this.initialSelectedValue?null===(t=this.options.find((e=>e.value===this.initialSelectedValue)))||void 0===t?void 0:t.label:"";l.DOM.queueUpdate((()=>{this.select.value=i}))}handleStreamInserts(e){te.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){te.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){te.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Ed.prototype,"labelField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Ed.prototype,"valueField",void 0),(0,w.__decorate)([l.observable],Ed.prototype,"labelFormatter",void 0),Ed=Rd=(0,w.__decorate)([(0,l.customElement)({name:"options-datasource"})],Ed);const Nd=(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 Md(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 Id=o(1279);let Pd=class extends(Id.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Pd=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],Pd);const Hd=()=>fd().register(vd)}}]);
2407
+ //# sourceMappingURL=701.7d7de264f3cdb3c7b555b972c519bf8e.js.map