@genesislcap/design-system-configurator 14.83.3-alpha-a2fb0a3.0 → 14.83.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{701.701.334574e2bb5c7c9e031b.js → 701.701.41e37e3fc52100a88441.js} +107 -40
- package/dist/701.9b8af9362dd1c33179114bfb0c8b4b68.js.map +1 -0
- package/dist/866.4ae79d52e2d5176d7e2557c08cc31933.js.map +1 -0
- package/dist/{866.866.429adb860cdb01a2b537.js → 866.866.4a639da238f593a73e07.js} +2 -2
- package/dist/{designSystemConfigurator.7974d436a4199601ee9045ea87165b43.js.map → designSystemConfigurator.31641e4dcfad9372e7d8668b53a86e95.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.aa32aad1e7039ab2bf0d.js → main.69231ac85bfc661e1953.js} +2 -2
- package/dist/{main.fe38692da2017e89bb08b44270029196.js.map → main.d193d08bebfc8e34f17b7104cbcd5ed9.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/701.8176f249821bab54e6d85efb92a19649.js.map +0 -1
- package/dist/866.1b0f6eade302e75f6460cd85fe46b80c.js.map +0 -1
|
@@ -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:()=>O,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>Z,Banner:()=>ie,BaseDatasource:()=>dd,Breadcrumb:()=>le,BreadcrumbItem:()=>he,Button:()=>ye,CSSVarsTokenMapper:()=>id,Calendar:()=>Ce,Card:()=>Le,Checkbox:()=>Ie,Combobox:()=>ze,ConnectionIndicator:()=>Ke,DEFUALT_FILTER_BAR_COLUMNS:()=>wa,DataGrid:()=>tt,DataGridCell:()=>st,DataGridDatasource:()=>cd,DataGridRow:()=>ut,DatePicker:()=>Rt,Dialog:()=>Ao,DialogElement:()=>Lo,Disclosure:()=>Mo,Divider:()=>Go,DropdownMenu:()=>Qo,ErrorBanner:()=>ai,ErrorBoundary:()=>wi,ErrorBoundaryEvent:()=>si,ErrorDialog:()=>Di,FaPrefixFromStyle:()=>wn,FileUpload:()=>Xi,Filter:()=>ua,FilterBar:()=>xa,FilterEvents:()=>ca,FlexLayout:()=>ka,FlexMediaQueriesEnum:()=>Sa,Flipper:()=>Ra,Flyout:()=>ja,FoundationDesignSystemProvider:()=>So,FoundationRouter:()=>Td,GridLayout:()=>Ka,GridLayoutItem:()=>on,GridMediaQueriesEnum:()=>Va,HorizontalScroll:()=>ln,Icon:()=>xn,Listbox:()=>Cn,ListboxOption:()=>Ln,Menu:()=>In,MenuItem:()=>zn,Modal:()=>Kn,Multiselect:()=>ss,MultiselectDatasource:()=>Dd,NotificationListener:()=>Fd,NumberField:()=>us,OptionsDatasource:()=>Cd,Popper:()=>fs,Progress:()=>Ss,ProgressRing:()=>ks,Radio:()=>Es,RadioGroup:()=>Bs,SegmentedControl:()=>Ws,SegmentedItem:()=>Js,Select:()=>nl,Skeleton:()=>ul,Slider:()=>yl,SliderLabel:()=>Cl,Snackbar:()=>Al,Switch:()=>Ml,Tab:()=>Gl,TabPanel:()=>ql,Tabs:()=>er,TextArea:()=>sr,TextField:()=>mr,Toast:()=>Fr,Toolbar:()=>Dr,Tooltip:()=>Ar,TreeItem:()=>Pr,TreeView:()=>Vr,UrlInput:()=>Qr,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:()=>po,actionsMenuBaseStyles:()=>F,baseComponents:()=>ed,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>mo,black:()=>It,bodyFont:()=>s.bodyFont,closeIcon:()=>Oo,configureDesignSystem:()=>uo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>go,createDesignSystemProxy:()=>td,createFormData:()=>Gi,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>R,defaultAnchoredRegionConfig:()=>H,defaultAvatarConfig:()=>Y,defaultBadgeConfig:()=>Q,defaultBreadcrumbConfig:()=>de,defaultBreadcrumbItemConfig:()=>ve,defaultButtonConfig:()=>xe,defaultCalendarConfig:()=>Oe,defaultCardConfig:()=>Re,defaultCheckboxConfig:()=>He,defaultComboboxConfig:()=>Ue,defaultDataGridCellConfig:()=>rt,defaultDataGridConfig:()=>it,defaultDataGridRowConfig:()=>ht,defaultDatePickerConfig:()=>At,defaultDialogConfig:()=>To,defaultDisclosureConfig:()=>Po,defaultDividerConfig:()=>Vo,defaultFileUploadConfig:()=>Ki,defaultFillColor:()=>Ht,defaultFlexLayoutConfig:()=>_a,defaultFlipperConfig:()=>Ea,defaultFlyoutConfig:()=>Ga,defaultGridLayoutConfig:()=>Xa,defaultGridLayoutItemConfig:()=>tn,defaultHorizontalScrollConfig:()=>dn,defaultIconConfig:()=>yn,defaultListboxConfig:()=>On,defaultListboxOptionConfig:()=>Rn,defaultMenuConfig:()=>Hn,defaultMenuItemConfig:()=>Un,defaultModalConfig:()=>Zn,defaultMultiselectConfig:()=>ns,defaultNeutralForegroundContrast:()=>Qt,defaultNumberFieldConfig:()=>hs,defaultProgressConfig:()=>Cs,defaultProgressRingConfig:()=>Ls,defaultRadioConfig:()=>Is,defaultRadioGroupConfig:()=>zs,defaultSegmentedControlConfig:()=>Xs,defaultSegmentedItemConfig:()=>tl,defaultSelectConfig:()=>ll,defaultSkeletonConfig:()=>hl,defaultSliderConfig:()=>xl,defaultSliderLabelConfig:()=>Ol,defaultSwitchConfig:()=>Pl,defaultTabConfig:()=>Vl,defaultTabPanelConfig:()=>Zl,defaultTabsConfig:()=>or,defaultTextAreaConfig:()=>rr,defaultTextFieldConfig:()=>gr,defaultToastConfig:()=>xr,defaultToolbarConfig:()=>_r,defaultTooltipConfig:()=>Nr,defaultTreeItemConfig:()=>jr,defaultTreeViewConfig:()=>Yr,defaultUrlInputConfig:()=>Kr,defineFactory:()=>Od,density:()=>s.density,designToken:()=>io,designUnit:()=>s.designUnit,designUnitValue:()=>fo,direction:()=>s.direction,directionValue:()=>vo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>Vi,dropdownMenuBaseStyles:()=>Wo,errorDialogTemplate:()=>$i,extractMenuItems:()=>Xo,fillColor:()=>s.fillColor,flyoutAnimationTime:()=>Ia,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:()=>_,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>D,foundationAnchor:()=>N,foundationAnchorShadowOptions:()=>A,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>j,foundationAnchoredRegionShadowOptions:()=>P,foundationAnchoredRegionStyles:()=>M,foundationAnchoredRegionTemplate:()=>E,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>U,foundationAvatarStyles:()=>B,foundationAvatarTemplate:()=>G,foundationBadge:()=>J,foundationBadgeShadowOptions:()=>K,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>X,foundationBanner:()=>ae,foundationBannerShadowOptions:()=>oe,foundationBannerStyles:()=>ee,foundationBannerTemplate:()=>te,foundationBreadcrumb:()=>ce,foundationBreadcrumbItem:()=>ge,foundationBreadcrumbItemShadowOptions:()=>me,foundationBreadcrumbItemStyles:()=>ue,foundationBreadcrumbItemTemplate:()=>pe,foundationBreadcrumbShadowOptions:()=>re,foundationBreadcrumbStyles:()=>ne,foundationBreadcrumbTemplate:()=>se,foundationButton:()=>Fe,foundationButtonShadowOptions:()=>we,foundationButtonStyles:()=>fe,foundationButtonTemplate:()=>be,foundationCalendar:()=>_e,foundationCalendarShadowOptions:()=>De,foundationCalendarStyles:()=>Se,foundationCalendarTemplate:()=>$e,foundationCard:()=>Ne,foundationCardShadowOptions:()=>Ae,foundationCardStyles:()=>ke,foundationCardTemplate:()=>Te,foundationCheckbox:()=>je,foundationCheckboxShadowOptions:()=>Pe,foundationCheckboxStyles:()=>Ee,foundationCheckboxTemplate:()=>Me,foundationCombobox:()=>Ye,foundationComboboxShadowOptions:()=>Ve,foundationComboboxStyles:()=>Be,foundationComboboxTemplate:()=>Ge,foundationConnectionIndicator:()=>Qe,foundationConnectionIndicatorStyles:()=>Xe,foundationConnectionIndicatorTemplate:()=>Ze,foundationDataGrid:()=>at,foundationDataGridCell:()=>dt,foundationDataGridCellShadowOptions:()=>lt,foundationDataGridCellStyles:()=>nt,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>mt,foundationDataGridRowShadowOptions:()=>pt,foundationDataGridRowStyles:()=>ct,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>ot,foundationDataGridStyles:()=>Je,foundationDataGridTemplate:()=>et,foundationDatePicker:()=>Nt,foundationDatePickerShadowOptions:()=>Lt,foundationDatePickerStyles:()=>_t,foundationDatePickerTemplate:()=>Tt,foundationDesignSystemProvider:()=>$o,foundationDialog:()=>Ro,foundationDialogShadowOptions:()=>ko,foundationDialogStyles:()=>Do,foundationDialogTemplate:()=>_o,foundationDisclosure:()=>Ho,foundationDisclosureShadowOptions:()=>Io,foundationDisclosureStyles:()=>No,foundationDisclosureTemplate:()=>Eo,foundationDivider:()=>Uo,foundationDividerShadowOptions:()=>zo,foundationDividerStyles:()=>jo,foundationDividerTemplate:()=>Bo,foundationDropdownMenu:()=>Jo,foundationDropdownMenuStyles:()=>qo,foundationDropdownMenuTemplate:()=>Ko,foundationErrorBanner:()=>ni,foundationErrorBannerShadowOptions:()=>ii,foundationErrorBannerTemplate:()=>oi,foundationErrorBoundary:()=>xi,foundationErrorBoundaryShadowOptions:()=>yi,foundationErrorBoundaryTemplate:()=>bi,foundationErrorDialog:()=>Oi,foundationErrorDialogShadowOptions:()=>Ci,foundationErrorDialogStyles:()=>Fi,foundationFileUpload:()=>Qi,foundationFileUploadShadowOptions:()=>Zi,foundationFileUploadStyles:()=>Hi,foundationFileUploadTemplate:()=>Bi,foundationFilter:()=>pa,foundationFilterBar:()=>Fa,foundationFilterBarStyles:()=>ma,foundationFilterBarTemplate:()=>ya,foundationFilterStyles:()=>Ji,foundationFilterTemplate:()=>da,foundationFlexLayout:()=>Ta,foundationFlexLayoutShadowOptions:()=>Oa,foundationFlexLayoutStyles:()=>Ca,foundationFlexLayoutTemplate:()=>Da,foundationFlipper:()=>Ma,foundationFlipperShadowOptions:()=>Na,foundationFlipperStyles:()=>La,foundationFlipperTemplate:()=>Aa,foundationFlyout:()=>za,foundationFlyoutShadowOptions:()=>Ba,foundationFlyoutStyles:()=>Pa,foundationFlyoutTemplate:()=>Ha,foundationGridLayout:()=>Qa,foundationGridLayoutItem:()=>an,foundationGridLayoutItemShadowOptions:()=>en,foundationGridLayoutItemTemplate:()=>Ja,foundationGridLayoutShadowOptions:()=>qa,foundationGridLayoutStyles:()=>Ya,foundationGridLayoutTemplate:()=>Wa,foundationHorizontalScroll:()=>cn,foundationHorizontalScrollShadowOptions:()=>rn,foundationHorizontalScrollStyles:()=>nn,foundationHorizontalScrollTemplate:()=>sn,foundationIcon:()=>Fn,foundationIconShadowOptions:()=>bn,foundationIconStyles:()=>gn,foundationIconTemplate:()=>fn,foundationListbox:()=>_n,foundationListboxOption:()=>Nn,foundationListboxOptionShadowOptions:()=>An,foundationListboxOptionStyles:()=>kn,foundationListboxOptionTemplate:()=>Tn,foundationListboxShadowOptions:()=>Dn,foundationListboxStyles:()=>Sn,foundationListboxTemplate:()=>$n,foundationMenu:()=>jn,foundationMenuItem:()=>Yn,foundationMenuItemShadowOptions:()=>Vn,foundationMenuItemStyles:()=>Bn,foundationMenuItemTemplate:()=>Gn,foundationMenuShadowOptions:()=>Pn,foundationMenuStyles:()=>En,foundationMenuTemplate:()=>Mn,foundationModal:()=>Qn,foundationModalShadowOptions:()=>Xn,foundationModalStyles:()=>Wn,foundationModalTemplate:()=>qn,foundationMultiselect:()=>ls,foundationMultiselectShadowOptions:()=>as,foundationNotificationListener:()=>Sd,foundationNotificationListenerShadowOptions:()=>xd,foundationNotificationListenerTemplate:()=>ud,foundationNumberField:()=>ms,foundationNumberFieldShadowOptions:()=>ps,foundationNumberFieldStyles:()=>ds,foundationNumberFieldTemplate:()=>cs,foundationPopper:()=>ws,foundationProgress:()=>Ds,foundationProgressRing:()=>As,foundationProgressRingShadowOptions:()=>Ts,foundationProgressRingStyles:()=>Os,foundationProgressRingTemplate:()=>_s,foundationProgressShadowOptions:()=>$s,foundationProgressStyles:()=>xs,foundationProgressTemplate:()=>Fs,foundationRadio:()=>Ps,foundationRadioGroup:()=>Vs,foundationRadioGroupShadowOptions:()=>Gs,foundationRadioGroupStyles:()=>Hs,foundationRadioGroupTemplate:()=>js,foundationRadioShadowOptions:()=>Ms,foundationRadioStyles:()=>Rs,foundationRadioTemplate:()=>Ns,foundationSegmentedControl:()=>Zs,foundationSegmentedControlShadowOptions:()=>qs,foundationSegmentedControlStyles:()=>Us,foundationSegmentedControlTemplate:()=>Ys,foundationSegmentedItem:()=>ol,foundationSegmentedItemShadowOptions:()=>el,foundationSegmentedItemStyles:()=>Ks,foundationSegmentedItemTemplate:()=>Qs,foundationSelect:()=>rl,foundationSelectShadowOptions:()=>sl,foundationSelectStyles:()=>il,foundationSelectTemplate:()=>al,foundationSkeleton:()=>ml,foundationSkeletonShadowOptions:()=>pl,foundationSkeletonStyles:()=>dl,foundationSkeletonTemplate:()=>cl,foundationSlider:()=>Fl,foundationSliderLabel:()=>_l,foundationSliderLabelShadowOptions:()=>Dl,foundationSliderLabelStyles:()=>Sl,foundationSliderLabelTemplate:()=>$l,foundationSliderShadowOptions:()=>wl,foundationSliderStyles:()=>vl,foundationSliderTemplate:()=>bl,foundationSnackbar:()=>Rl,foundationSnackbarShadowOptions:()=>Ll,foundationSnackbarStyles:()=>kl,foundationSnackbarTemplate:()=>Tl,foundationSwitch:()=>Hl,foundationSwitchShadowOptions:()=>Il,foundationSwitchStyles:()=>Nl,foundationSwitchTemplate:()=>El,foundationTab:()=>Ul,foundationTabPanel:()=>Kl,foundationTabPanelShadowOptions:()=>Xl,foundationTabPanelStyles:()=>Yl,foundationTabPanelTemplate:()=>Wl,foundationTabShadowOptions:()=>zl,foundationTabStyles:()=>jl,foundationTabTemplate:()=>Bl,foundationTabs:()=>ir,foundationTabsShadowOptions:()=>tr,foundationTabsStyles:()=>Ql,foundationTabsTemplate:()=>Jl,foundationTextArea:()=>dr,foundationTextAreaShadowOptions:()=>lr,foundationTextAreaStyles:()=>ar,foundationTextAreaTemplate:()=>nr,foundationTextField:()=>fr,foundationTextFieldShadowOptions:()=>vr,foundationTextFieldStyles:()=>pr,foundationTextFieldTemplate:()=>hr,foundationToast:()=>Sr,foundationToastShadowOptions:()=>wr,foundationToastStyles:()=>br,foundationToastTemplate:()=>yr,foundationToolbar:()=>kr,foundationToolbarShadowOptions:()=>Or,foundationToolbarStyles:()=>$r,foundationToolbarTemplate:()=>Cr,foundationTooltip:()=>Er,foundationTooltipShadowOptions:()=>Rr,foundationTooltipStyles:()=>Tr,foundationTooltipTemplate:()=>Lr,foundationTreeItem:()=>Br,foundationTreeItemShadowOptions:()=>Hr,foundationTreeItemStyles:()=>Mr,foundationTreeItemTemplate:()=>Ir,foundationTreeView:()=>Wr,foundationTreeViewShadowOptions:()=>Ur,foundationTreeViewStyles:()=>Gr,foundationTreeViewTemplate:()=>zr,foundationUrlInput:()=>Jr,foundationUrlInputShadowOptions:()=>Zr,foundationUrlInputStyles:()=>qr,fuiAccentPalette:()=>qt,fuiAccentSwatch:()=>Wt,fuiCardFillColor:()=>Kt,fuiCardForegroundColor:()=>eo,fuiDefaultCardFillColor:()=>Bt,fuiDefaultCardPalette:()=>Gt,fuiFillColor:()=>Zt,fuiNeutralPalette:()=>Ut,fuiNeutralSwatch:()=>Vt,getDefaultConfig:()=>lo,getDropdownMenuTemplate:()=>Zo,getErrorDialogTemplate:()=>Si,getExports:()=>ro,getFontawesomeIconsCss:()=>vn,getPrefixedDatePicker:()=>kt,getPrefixedFileUpload:()=>ji,getPrefixedMultiselect:()=>os,getTypeRampValue:()=>co,jsonConverter:()=>gs,mapType:()=>va,maxheight:()=>es,media:()=>z,menuTemplate:()=>$,mixinFoundationFontFamily:()=>yo,multiselectStyles:()=>ts,multiselectTemplate:()=>is,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:()=>Jt,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:()=>ho,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:()=>no,provideDesignSystem:()=>od,provideTokens:()=>oo,registerFoundationDesignSystem:()=>Ld,singleOptionTemplate:()=>C,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>ao,tagFor:()=>_d,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:()=>Xr,white:()=>Mt});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:()=>Qt,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:()=>Kt,fuiCardForegroundColor:()=>eo,fuiFillColor:()=>Zt,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:()=>Jt,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:()=>po,baseLayerLuminanceValue:()=>mo,controlCornerRadiusValue:()=>go,designUnitValue:()=>fo,directionValue:()=>vo,neutralPaletteValue:()=>ho});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:()=>O,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>K,Banner:()=>ie,BaseDatasource:()=>dd,Breadcrumb:()=>le,BreadcrumbItem:()=>he,Button:()=>ye,CSSVarsTokenMapper:()=>id,Calendar:()=>De,Card:()=>Le,Checkbox:()=>Ie,Combobox:()=>ze,ConnectionIndicator:()=>Ze,DEFUALT_FILTER_BAR_COLUMNS:()=>wa,DataGrid:()=>tt,DataGridCell:()=>st,DataGridDatasource:()=>cd,DataGridRow:()=>ut,DatePicker:()=>Rt,Dialog:()=>Ao,DialogElement:()=>Lo,Disclosure:()=>Mo,Divider:()=>Go,DropdownMenu:()=>Qo,ErrorBanner:()=>ai,ErrorBoundary:()=>wi,ErrorBoundaryEvent:()=>si,ErrorDialog:()=>Ci,FaPrefixFromStyle:()=>wn,FileUpload:()=>Xi,Filter:()=>ua,FilterBar:()=>xa,FilterEvents:()=>ca,FlexLayout:()=>ka,FlexMediaQueriesEnum:()=>Sa,Flipper:()=>Ra,Flyout:()=>ja,FoundationDesignSystemProvider:()=>So,FoundationRouter:()=>Td,GridLayout:()=>Za,GridLayoutItem:()=>on,GridMediaQueriesEnum:()=>Va,HorizontalScroll:()=>ln,Icon:()=>xn,Listbox:()=>Dn,ListboxOption:()=>Ln,Menu:()=>In,MenuItem:()=>zn,Modal:()=>Zn,Multiselect:()=>ss,MultiselectDatasource:()=>Cd,NotificationListener:()=>Fd,NumberField:()=>us,OptionsDatasource:()=>Dd,Popper:()=>fs,Progress:()=>Ss,ProgressRing:()=>ks,Radio:()=>Es,RadioGroup:()=>Bs,SegmentedControl:()=>Ws,SegmentedItem:()=>Js,Select:()=>nl,Skeleton:()=>ul,Slider:()=>yl,SliderLabel:()=>Dl,Snackbar:()=>Al,Switch:()=>Ml,Tab:()=>Gl,TabPanel:()=>ql,Tabs:()=>er,TextArea:()=>sr,TextField:()=>mr,Toast:()=>Fr,Toolbar:()=>Cr,Tooltip:()=>Ar,TreeItem:()=>Pr,TreeView:()=>Vr,UrlInput:()=>Qr,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:()=>po,actionsMenuBaseStyles:()=>F,baseComponents:()=>ed,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>mo,black:()=>It,bodyFont:()=>s.bodyFont,closeIcon:()=>Oo,configureDesignSystem:()=>uo,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>go,createDesignSystemProxy:()=>td,createFormData:()=>Gi,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>R,defaultAnchoredRegionConfig:()=>H,defaultAvatarConfig:()=>Y,defaultBadgeConfig:()=>Q,defaultBreadcrumbConfig:()=>de,defaultBreadcrumbItemConfig:()=>ve,defaultButtonConfig:()=>xe,defaultCalendarConfig:()=>Oe,defaultCardConfig:()=>Re,defaultCheckboxConfig:()=>He,defaultComboboxConfig:()=>Ue,defaultDataGridCellConfig:()=>rt,defaultDataGridConfig:()=>it,defaultDataGridRowConfig:()=>ht,defaultDatePickerConfig:()=>At,defaultDialogConfig:()=>To,defaultDisclosureConfig:()=>Po,defaultDividerConfig:()=>Vo,defaultFileUploadConfig:()=>Zi,defaultFillColor:()=>Ht,defaultFlexLayoutConfig:()=>_a,defaultFlipperConfig:()=>Ea,defaultFlyoutConfig:()=>Ga,defaultGridLayoutConfig:()=>Xa,defaultGridLayoutItemConfig:()=>tn,defaultHorizontalScrollConfig:()=>dn,defaultIconConfig:()=>yn,defaultListboxConfig:()=>On,defaultListboxOptionConfig:()=>Rn,defaultMenuConfig:()=>Hn,defaultMenuItemConfig:()=>Un,defaultModalConfig:()=>Kn,defaultMultiselectConfig:()=>ns,defaultNeutralForegroundContrast:()=>Qt,defaultNumberFieldConfig:()=>hs,defaultProgressConfig:()=>Ds,defaultProgressRingConfig:()=>Ls,defaultRadioConfig:()=>Is,defaultRadioGroupConfig:()=>zs,defaultSegmentedControlConfig:()=>Xs,defaultSegmentedItemConfig:()=>tl,defaultSelectConfig:()=>ll,defaultSkeletonConfig:()=>hl,defaultSliderConfig:()=>xl,defaultSliderLabelConfig:()=>Ol,defaultSwitchConfig:()=>Pl,defaultTabConfig:()=>Vl,defaultTabPanelConfig:()=>Kl,defaultTabsConfig:()=>or,defaultTextAreaConfig:()=>rr,defaultTextFieldConfig:()=>gr,defaultToastConfig:()=>xr,defaultToolbarConfig:()=>_r,defaultTooltipConfig:()=>Nr,defaultTreeItemConfig:()=>jr,defaultTreeViewConfig:()=>Yr,defaultUrlInputConfig:()=>Zr,defineFactory:()=>Od,density:()=>s.density,designToken:()=>io,designUnit:()=>s.designUnit,designUnitValue:()=>fo,direction:()=>s.direction,directionValue:()=>vo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>Vi,dropdownMenuBaseStyles:()=>Wo,errorDialogTemplate:()=>$i,extractMenuItems:()=>Xo,fillColor:()=>s.fillColor,flyoutAnimationTime:()=>Ia,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:()=>_,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>C,foundationAnchor:()=>N,foundationAnchorShadowOptions:()=>A,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>j,foundationAnchoredRegionShadowOptions:()=>P,foundationAnchoredRegionStyles:()=>M,foundationAnchoredRegionTemplate:()=>E,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>U,foundationAvatarStyles:()=>B,foundationAvatarTemplate:()=>G,foundationBadge:()=>J,foundationBadgeShadowOptions:()=>Z,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>X,foundationBanner:()=>ae,foundationBannerShadowOptions:()=>oe,foundationBannerStyles:()=>ee,foundationBannerTemplate:()=>te,foundationBreadcrumb:()=>ce,foundationBreadcrumbItem:()=>ge,foundationBreadcrumbItemShadowOptions:()=>me,foundationBreadcrumbItemStyles:()=>ue,foundationBreadcrumbItemTemplate:()=>pe,foundationBreadcrumbShadowOptions:()=>re,foundationBreadcrumbStyles:()=>ne,foundationBreadcrumbTemplate:()=>se,foundationButton:()=>Fe,foundationButtonShadowOptions:()=>we,foundationButtonStyles:()=>fe,foundationButtonTemplate:()=>be,foundationCalendar:()=>_e,foundationCalendarShadowOptions:()=>Ce,foundationCalendarStyles:()=>Se,foundationCalendarTemplate:()=>$e,foundationCard:()=>Ne,foundationCardShadowOptions:()=>Ae,foundationCardStyles:()=>ke,foundationCardTemplate:()=>Te,foundationCheckbox:()=>je,foundationCheckboxShadowOptions:()=>Pe,foundationCheckboxStyles:()=>Ee,foundationCheckboxTemplate:()=>Me,foundationCombobox:()=>Ye,foundationComboboxShadowOptions:()=>Ve,foundationComboboxStyles:()=>Be,foundationComboboxTemplate:()=>Ge,foundationConnectionIndicator:()=>Qe,foundationConnectionIndicatorStyles:()=>Xe,foundationConnectionIndicatorTemplate:()=>Ke,foundationDataGrid:()=>at,foundationDataGridCell:()=>dt,foundationDataGridCellShadowOptions:()=>lt,foundationDataGridCellStyles:()=>nt,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>mt,foundationDataGridRowShadowOptions:()=>pt,foundationDataGridRowStyles:()=>ct,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>ot,foundationDataGridStyles:()=>Je,foundationDataGridTemplate:()=>et,foundationDatePicker:()=>Nt,foundationDatePickerShadowOptions:()=>Lt,foundationDatePickerStyles:()=>_t,foundationDatePickerTemplate:()=>Tt,foundationDesignSystemProvider:()=>$o,foundationDialog:()=>Ro,foundationDialogShadowOptions:()=>ko,foundationDialogStyles:()=>Co,foundationDialogTemplate:()=>_o,foundationDisclosure:()=>Ho,foundationDisclosureShadowOptions:()=>Io,foundationDisclosureStyles:()=>No,foundationDisclosureTemplate:()=>Eo,foundationDivider:()=>Uo,foundationDividerShadowOptions:()=>zo,foundationDividerStyles:()=>jo,foundationDividerTemplate:()=>Bo,foundationDropdownMenu:()=>Jo,foundationDropdownMenuStyles:()=>qo,foundationDropdownMenuTemplate:()=>Zo,foundationErrorBanner:()=>ni,foundationErrorBannerShadowOptions:()=>ii,foundationErrorBannerTemplate:()=>oi,foundationErrorBoundary:()=>xi,foundationErrorBoundaryShadowOptions:()=>yi,foundationErrorBoundaryTemplate:()=>bi,foundationErrorDialog:()=>Oi,foundationErrorDialogShadowOptions:()=>Di,foundationErrorDialogStyles:()=>Fi,foundationFileUpload:()=>Qi,foundationFileUploadShadowOptions:()=>Ki,foundationFileUploadStyles:()=>Hi,foundationFileUploadTemplate:()=>Bi,foundationFilter:()=>pa,foundationFilterBar:()=>Fa,foundationFilterBarStyles:()=>ma,foundationFilterBarTemplate:()=>ya,foundationFilterStyles:()=>Ji,foundationFilterTemplate:()=>da,foundationFlexLayout:()=>Ta,foundationFlexLayoutShadowOptions:()=>Oa,foundationFlexLayoutStyles:()=>Da,foundationFlexLayoutTemplate:()=>Ca,foundationFlipper:()=>Ma,foundationFlipperShadowOptions:()=>Na,foundationFlipperStyles:()=>La,foundationFlipperTemplate:()=>Aa,foundationFlyout:()=>za,foundationFlyoutShadowOptions:()=>Ba,foundationFlyoutStyles:()=>Pa,foundationFlyoutTemplate:()=>Ha,foundationGridLayout:()=>Qa,foundationGridLayoutItem:()=>an,foundationGridLayoutItemShadowOptions:()=>en,foundationGridLayoutItemTemplate:()=>Ja,foundationGridLayoutShadowOptions:()=>qa,foundationGridLayoutStyles:()=>Ya,foundationGridLayoutTemplate:()=>Wa,foundationHorizontalScroll:()=>cn,foundationHorizontalScrollShadowOptions:()=>rn,foundationHorizontalScrollStyles:()=>nn,foundationHorizontalScrollTemplate:()=>sn,foundationIcon:()=>Fn,foundationIconShadowOptions:()=>bn,foundationIconStyles:()=>gn,foundationIconTemplate:()=>fn,foundationListbox:()=>_n,foundationListboxOption:()=>Nn,foundationListboxOptionShadowOptions:()=>An,foundationListboxOptionStyles:()=>kn,foundationListboxOptionTemplate:()=>Tn,foundationListboxShadowOptions:()=>Cn,foundationListboxStyles:()=>Sn,foundationListboxTemplate:()=>$n,foundationMenu:()=>jn,foundationMenuItem:()=>Yn,foundationMenuItemShadowOptions:()=>Vn,foundationMenuItemStyles:()=>Bn,foundationMenuItemTemplate:()=>Gn,foundationMenuShadowOptions:()=>Pn,foundationMenuStyles:()=>En,foundationMenuTemplate:()=>Mn,foundationModal:()=>Qn,foundationModalShadowOptions:()=>Xn,foundationModalStyles:()=>Wn,foundationModalTemplate:()=>qn,foundationMultiselect:()=>ls,foundationMultiselectShadowOptions:()=>as,foundationNotificationListener:()=>Sd,foundationNotificationListenerShadowOptions:()=>xd,foundationNotificationListenerTemplate:()=>ud,foundationNumberField:()=>ms,foundationNumberFieldShadowOptions:()=>ps,foundationNumberFieldStyles:()=>ds,foundationNumberFieldTemplate:()=>cs,foundationPopper:()=>ws,foundationProgress:()=>Cs,foundationProgressRing:()=>As,foundationProgressRingShadowOptions:()=>Ts,foundationProgressRingStyles:()=>Os,foundationProgressRingTemplate:()=>_s,foundationProgressShadowOptions:()=>$s,foundationProgressStyles:()=>xs,foundationProgressTemplate:()=>Fs,foundationRadio:()=>Ps,foundationRadioGroup:()=>Vs,foundationRadioGroupShadowOptions:()=>Gs,foundationRadioGroupStyles:()=>Hs,foundationRadioGroupTemplate:()=>js,foundationRadioShadowOptions:()=>Ms,foundationRadioStyles:()=>Rs,foundationRadioTemplate:()=>Ns,foundationSegmentedControl:()=>Ks,foundationSegmentedControlShadowOptions:()=>qs,foundationSegmentedControlStyles:()=>Us,foundationSegmentedControlTemplate:()=>Ys,foundationSegmentedItem:()=>ol,foundationSegmentedItemShadowOptions:()=>el,foundationSegmentedItemStyles:()=>Zs,foundationSegmentedItemTemplate:()=>Qs,foundationSelect:()=>rl,foundationSelectShadowOptions:()=>sl,foundationSelectStyles:()=>il,foundationSelectTemplate:()=>al,foundationSkeleton:()=>ml,foundationSkeletonShadowOptions:()=>pl,foundationSkeletonStyles:()=>dl,foundationSkeletonTemplate:()=>cl,foundationSlider:()=>Fl,foundationSliderLabel:()=>_l,foundationSliderLabelShadowOptions:()=>Cl,foundationSliderLabelStyles:()=>Sl,foundationSliderLabelTemplate:()=>$l,foundationSliderShadowOptions:()=>wl,foundationSliderStyles:()=>vl,foundationSliderTemplate:()=>bl,foundationSnackbar:()=>Rl,foundationSnackbarShadowOptions:()=>Ll,foundationSnackbarStyles:()=>kl,foundationSnackbarTemplate:()=>Tl,foundationSwitch:()=>Hl,foundationSwitchShadowOptions:()=>Il,foundationSwitchStyles:()=>Nl,foundationSwitchTemplate:()=>El,foundationTab:()=>Ul,foundationTabPanel:()=>Zl,foundationTabPanelShadowOptions:()=>Xl,foundationTabPanelStyles:()=>Yl,foundationTabPanelTemplate:()=>Wl,foundationTabShadowOptions:()=>zl,foundationTabStyles:()=>jl,foundationTabTemplate:()=>Bl,foundationTabs:()=>ir,foundationTabsShadowOptions:()=>tr,foundationTabsStyles:()=>Ql,foundationTabsTemplate:()=>Jl,foundationTextArea:()=>dr,foundationTextAreaShadowOptions:()=>lr,foundationTextAreaStyles:()=>ar,foundationTextAreaTemplate:()=>nr,foundationTextField:()=>fr,foundationTextFieldShadowOptions:()=>vr,foundationTextFieldStyles:()=>pr,foundationTextFieldTemplate:()=>hr,foundationToast:()=>Sr,foundationToastShadowOptions:()=>wr,foundationToastStyles:()=>br,foundationToastTemplate:()=>yr,foundationToolbar:()=>kr,foundationToolbarShadowOptions:()=>Or,foundationToolbarStyles:()=>$r,foundationToolbarTemplate:()=>Dr,foundationTooltip:()=>Er,foundationTooltipShadowOptions:()=>Rr,foundationTooltipStyles:()=>Tr,foundationTooltipTemplate:()=>Lr,foundationTreeItem:()=>Br,foundationTreeItemShadowOptions:()=>Hr,foundationTreeItemStyles:()=>Mr,foundationTreeItemTemplate:()=>Ir,foundationTreeView:()=>Wr,foundationTreeViewShadowOptions:()=>Ur,foundationTreeViewStyles:()=>Gr,foundationTreeViewTemplate:()=>zr,foundationUrlInput:()=>Jr,foundationUrlInputShadowOptions:()=>Kr,foundationUrlInputStyles:()=>qr,fuiAccentPalette:()=>qt,fuiAccentSwatch:()=>Wt,fuiCardFillColor:()=>Zt,fuiCardForegroundColor:()=>eo,fuiDefaultCardFillColor:()=>Bt,fuiDefaultCardPalette:()=>Gt,fuiFillColor:()=>Kt,fuiNeutralPalette:()=>Ut,fuiNeutralSwatch:()=>Vt,getDefaultConfig:()=>lo,getDropdownMenuTemplate:()=>Ko,getErrorDialogTemplate:()=>Si,getExports:()=>ro,getFontawesomeIconsCss:()=>vn,getPrefixedDatePicker:()=>kt,getPrefixedFileUpload:()=>ji,getPrefixedMultiselect:()=>os,getTypeRampValue:()=>co,jsonConverter:()=>gs,mapType:()=>va,maxheight:()=>es,media:()=>z,menuTemplate:()=>$,mixinFoundationFontFamily:()=>yo,multiselectStyles:()=>ts,multiselectTemplate:()=>is,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:()=>Jt,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:()=>ho,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:()=>no,provideDesignSystem:()=>od,provideTokens:()=>oo,registerFoundationDesignSystem:()=>Ld,singleOptionTemplate:()=>D,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>ao,tagFor:()=>_d,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:()=>Xr,white:()=>Mt});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:()=>Qt,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:()=>Zt,fuiCardForegroundColor:()=>eo,fuiFillColor:()=>Kt,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:()=>Jt,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:()=>po,baseLayerLuminanceValue:()=>mo,controlCornerRadiusValue:()=>go,designUnitValue:()=>fo,directionValue:()=>vo,neutralPaletteValue:()=>ho});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)}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
`)}
|
|
141
141
|
`,{positioning:!0})}
|
|
142
142
|
</fast-menu>
|
|
143
|
-
`,
|
|
143
|
+
`,D=l.html`
|
|
144
144
|
<fast-button
|
|
145
145
|
appearance="${e=>e.buttonAppearance}"
|
|
146
146
|
part="actions-opener"
|
|
@@ -150,14 +150,14 @@
|
|
|
150
150
|
>
|
|
151
151
|
${e=>e.getLabel(null==e?void 0:e.singleOption.name)}
|
|
152
152
|
</fast-button>
|
|
153
|
-
`,
|
|
153
|
+
`,C=l.html`
|
|
154
154
|
<div
|
|
155
155
|
class="actions-container${e=>e.isVertical?" actions-vertical":""}"
|
|
156
156
|
part="actions-container"
|
|
157
157
|
>
|
|
158
158
|
${e=>e.getTemplate()}
|
|
159
159
|
</div>
|
|
160
|
-
`;class O 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 $;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],
|
|
160
|
+
`;class O 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 $;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):$:void 0}}(0,w.__decorate)([l.observable],O.prototype,"actions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"is-vertical",mode:"boolean"})],O.prototype,"isVertical",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"add-default-actions",mode:"boolean"})],O.prototype,"addDefaultActions",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close-on-action",mode:"boolean"})],O.prototype,"autoCloseOnAction",void 0),(0,w.__decorate)([l.observable],O.prototype,"classNames",void 0),(0,w.__decorate)([l.observable],O.prototype,"definition",void 0),(0,w.__decorate)([l.attr],O.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"open",mode:"boolean"})],O.prototype,"open",void 0),(0,w.__decorate)([l.attr],O.prototype,"buttonAppearance",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-disabled",mode:"boolean"})],O.prototype,"hideDisabled",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"hide-menu-single-option",mode:"boolean"})],O.prototype,"hideMenuSingleOption",void 0),(0,w.__decorate)([l.observable],O.prototype,"singleOption",void 0);const _=O.compose({baseName:"actions-menu",styles:S,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={},N=L.compose(Object.assign({baseName:"anchor",template:T,styles:k,shadowOptions:A},R)),E=(e,t)=>(0,n.anchoredRegionTemplate)(e,t),M=(e,t)=>l.css`
|
|
163
163
|
${(0,s.anchoredRegionStyles)(e,t)}
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
`)}
|
|
170
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`
|
|
171
171
|
${(0,s.badgeStyles)(e,t)}
|
|
172
|
-
`,X=(e,t)=>(0,n.badgeTemplate)(e,t);class
|
|
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)),ee=l.css`
|
|
173
173
|
@keyframes delete-animate {
|
|
174
174
|
from {
|
|
175
175
|
height: 100px;
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
${(0,s.buttonStyles)(e,t)}
|
|
258
258
|
`,be=(e,t)=>(0,n.buttonTemplate)(e,t);class ye extends s.Button{}const we={delegatesFocus:!0,mode:"open"},xe={},Fe=ye.compose(Object.assign({baseName:"button",template:be,styles:fe,shadowOptions:we},xe)),Se=()=>l.css`
|
|
259
259
|
${s.CalendarStyles}
|
|
260
|
-
`,$e=(e,t)=>(0,n.calendarTemplate)(e,t);class
|
|
260
|
+
`,$e=(e,t)=>(0,n.calendarTemplate)(e,t);class De extends s.Calendar{}const Ce={delegatesFocus:!0,mode:"open"},Oe={},_e=De.compose(Object.assign({baseName:"calendar",template:$e,styles:Se,shadowOptions:Ce},Oe)),ke=(e,t)=>l.css`
|
|
261
261
|
${(0,s.cardStyles)(e,t)}
|
|
262
262
|
:host {
|
|
263
263
|
background-color: var(--fui-card-fill-color);
|
|
@@ -318,18 +318,18 @@
|
|
|
318
318
|
text-overflow: ellipsis;
|
|
319
319
|
white-space: nowrap;
|
|
320
320
|
}
|
|
321
|
-
`,
|
|
321
|
+
`,Ke=l.html`
|
|
322
322
|
<div class=${e=>(0,x.A)(["light",!0],[e.colour,!0])}></div>
|
|
323
323
|
${(0,l.when)((e=>e.showLabel),l.html`
|
|
324
324
|
<div class="label">${e=>e.label}</div>
|
|
325
325
|
`)}
|
|
326
|
-
`;class
|
|
326
|
+
`;class Ze extends n.FoundationElement{constructor(){super(...arguments),this.showLabel=!1,this.label="disconnected",this.colour="red"}connectedCallback(){super.connectedCallback(),this.subscription=this.connect.isConnectedSubject.subscribe((e=>{this.label=this.getLabel(e),this.colour=e?"green":"red"}))}disconnectedCallback(){var e;null===(e=this.subscription)||void 0===e||e.unsubscribe()}getLabel(e){if(!e)return"disconnected";return`${this.session.getSessionStorageItem("hostUrl")} ✔`}}(0,w.__decorate)([We.lj],Ze.prototype,"connect",void 0),(0,w.__decorate)([qe.z],Ze.prototype,"session",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"show-label"})],Ze.prototype,"showLabel",void 0),(0,w.__decorate)([l.observable],Ze.prototype,"label",void 0),(0,w.__decorate)([l.observable],Ze.prototype,"colour",void 0);const Qe=Ze.compose({baseName:"connection-indicator",template:Ke,styles:Xe}),Je=(e,t)=>l.css`
|
|
327
327
|
${(0,s.dataGridStyles)(e,t)}
|
|
328
328
|
`,et=(e,t)=>(0,n.dataGridTemplate)(e,t);class tt extends s.DataGrid{}const ot=void 0,it={},at=tt.compose(Object.assign({baseName:"data-grid",template:et,styles:Je,shadowOptions:ot},it)),nt=(e,t)=>l.css`
|
|
329
329
|
${(0,s.dataGridCellStyles)(e,t)}
|
|
330
330
|
`;class st extends s.DataGridCell{}const lt=void 0,rt={},dt=st.compose(Object.assign({baseName:"data-grid-cell",template:n.dataGridCellTemplate,styles:nt,shadowOptions:lt},rt)),ct=(e,t)=>l.css`
|
|
331
331
|
${(0,s.dataGridRowStyles)(e,t)}
|
|
332
|
-
`;class ut extends s.DataGridRow{}const pt=void 0,ht={},mt=ut.compose(Object.assign({baseName:"data-grid-row",template:n.dataGridRowTemplate,styles:ct,shadowOptions:pt},ht));var vt=o(87530),gt=o.n(vt),ft=o(55466),bt=o.n(ft),yt=o(82839),wt=o.n(yt),xt=o(55477),Ft=o.n(xt),St=o(78113),$t=o.n(St);class
|
|
332
|
+
`;class ut extends s.DataGridRow{}const pt=void 0,ht={},mt=ut.compose(Object.assign({baseName:"data-grid-row",template:n.dataGridRowTemplate,styles:ct,shadowOptions:pt},ht));var vt=o(87530),gt=o.n(vt),ft=o(55466),bt=o.n(ft),yt=o(82839),wt=o.n(yt),xt=o(55477),Ft=o.n(xt),St=o(78113),$t=o.n(St);class Dt{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()}}gt().extend($t());class Ct{constructor(e=null,t="default"){const o=new Dt(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+=gt()(o.date).isLeapYear()?1:0)}getDay(e){return new Dt(new Date(this.year,this.number-1,e),this.lang)}}gt().extend($t());class Ot{constructor(e=null,t=null,o="default"){this.weekDays=Array.from({length:7}),this.today=new Dt(null,o),this.year=null!=e?e:this.today.year,this.month=new Ct(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 Ct(new Date(this.year,e-1),this.lang)}getPreviousMonth(){return 1===this.month.number?new Ct(new Date(this.year-1,11),this.lang):new Ct(new Date(this.year,this.month.number-2),this.lang)}getNextMonth(){return 1===this.month.number?new Ct(new Date(this.year+1,0),this.lang):new Ct(new Date(this.year,this.month.number+2),this.lang)}goToDate(e,t){this.month=new Ct(new Date(t,e-1),this.lang),this.year=t}goToNextYear(){this.year+=1,this.month=new Ct(new Date(this.year,0),this.lang)}goToPreviousYear(){this.year-=1,this.month=new Ct(new Date(this.year,11),this.lang)}goToNextMonth(){if(12===this.month.number)return this.goToNextYear();this.month=new Ct(new Date(this.year,this.month.number+1-1),this.lang)}goToPreviousMonth(){if(1===this.month.number)return this.goToPreviousYear();this.month=new Ct(new Date(this.year,this.month.number-1-1),this.lang)}}const _t=l.css`
|
|
333
333
|
:host {
|
|
334
334
|
position: relative;
|
|
335
335
|
}
|
|
@@ -500,14 +500,14 @@
|
|
|
500
500
|
</div>
|
|
501
501
|
`,Tt=l.html`
|
|
502
502
|
${e=>kt(e.tagName.toLowerCase().split("-")[0])}
|
|
503
|
-
`,Lt=void 0,At={};class Rt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=gt()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=gt()().localeData().longDateFormat("L");this.currentDate=new
|
|
503
|
+
`,Lt=void 0,At={};class Rt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=gt()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=gt()().localeData().longDateFormat("L");this.currentDate=new Dt(gt()(t,e).toDate(),this.lang),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=gt()(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",gt().extend(bt()),gt().extend(Ft()),gt().extend(wt()),this.substringNumber=3;const e=this.getAttribute("value"),t=e?gt()(e,"MM-DD-YYYY"):gt()();this.currentDate=new Dt(t.toDate(),this.lang),this.calendar=new Ot(this.currentDate.year,this.currentDate.monthNumber,this.lang),this.value=gt()(this.currentDate.Date).format("MM-DD-YYYY")}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=gt()(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 gt()(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){gt()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=gt()(this.currentDate.Date).format(this.format),this.value=gt()(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],Rt.prototype,"format",void 0),(0,w.__decorate)([l.attr],Rt.prototype,"lang",void 0),(0,w.__decorate)([l.attr],Rt.prototype,"visible",void 0),(0,w.__decorate)([l.attr],Rt.prototype,"position",void 0),(0,w.__decorate)([l.attr],Rt.prototype,"value",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"currentDate",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"currentMonth",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"currentYear",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"calendarDropdownClasses",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"formatDate",void 0),(0,w.__decorate)([l.observable],Rt.prototype,"monthList",void 0);const Nt=Rt.compose(Object.assign({baseName:"date-picker",styles:_t,template:Tt,shadowOptions:Lt},At));var Et=o(82694);const Mt=s.SwatchRGB.create(1,1,1),It=s.SwatchRGB.create(0,0,0),Pt=(0,Et.parseColorHexRGB)("#585858"),Ht=s.SwatchRGB.create(Pt.r,Pt.g,Pt.b),jt=(0,Et.parseColorHexRGB)("#ffffff"),Bt=s.SwatchRGB.create(jt.r,jt.g,jt.b),Gt=s.PaletteRGB.from(Bt),zt=(0,Et.parseColorHexRGB)("#eeeeee"),Vt=s.SwatchRGB.create(zt.r,zt.g,zt.b),Ut=s.PaletteRGB.from(Vt),Yt=(0,Et.parseColorHexRGB)("#08c3a5"),Wt=s.SwatchRGB.create(Yt.r,Yt.g,Yt.b),qt=s.PaletteRGB.from(Wt),{create:Xt}=n.DesignToken,Kt=Xt("fui-fill-color").withDefault(Ht),Zt=Xt({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(Bt),Qt=14;function Jt(e,t){return e.colorContrast(t,Qt)}const eo=Xt({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>Jt(Xt("fui-card-palette").withDefault(Gt).getValueFor(e),Zt.getValueFor(e))));var to=o(47823);const oo=(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 io(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const ao={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,Et.parseColorHexRGB)(e);return t?s.SwatchRGB.create(t.r,t.g,t.b):null}},no=e=>s.PaletteRGB.from(s.SwatchRGB.from((0,Et.parseColorHexRGB)(e))),so=["baseClass","baseName","shadowOptions","styles","template"],lo=(e,t=so)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),ro=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:lo(t)}},co=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},uo=(e,t)=>{const o=t.design_tokens;s.accentPalette.setValueFor(e,no(o.color.accent.$value)),s.neutralPalette.setValueFor(e,no(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,co(i,to.Yd.minusOne)),s.typeRampMinus1LineHeight.setValueFor(e,co(a,to.Yd.minusOne)),s.typeRampMinus2FontSize.setValueFor(e,co(i,to.Yd.minusTwo)),s.typeRampMinus2LineHeight.setValueFor(e,co(a,to.Yd.minusTwo)),s.typeRampPlus1FontSize.setValueFor(e,co(i,to.Yd.plusOne)),s.typeRampPlus1LineHeight.setValueFor(e,co(a,to.Yd.plusOne)),s.typeRampPlus2FontSize.setValueFor(e,co(i,to.Yd.plusTwo)),s.typeRampPlus2LineHeight.setValueFor(e,co(a,to.Yd.plusTwo)),s.typeRampPlus3FontSize.setValueFor(e,co(i,to.Yd.plusThree)),s.typeRampPlus3LineHeight.setValueFor(e,co(a,to.Yd.plusThree)),s.typeRampPlus4FontSize.setValueFor(e,co(i,to.Yd.plusFour)),s.typeRampPlus4LineHeight.setValueFor(e,co(a,to.Yd.plusFour)),s.typeRampPlus5FontSize.setValueFor(e,co(i,to.Yd.plusFive)),s.typeRampPlus5LineHeight.setValueFor(e,co(a,to.Yd.plusFive)),s.typeRampPlus6FontSize.setValueFor(e,co(i,to.Yd.plusSix)),s.typeRampPlus6LineHeight.setValueFor(e,co(a,to.Yd.plusSix))},po=no("#08c3a5"),ho=no("#eeeeee"),mo=s.StandardLuminance.DarkMode;const vo=o(5598).N.ltr,go=4,fo=4;var bo=o(67973);const yo=(e="normal",t="normal")=>`\n font-family: ${s.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,wo=l.css`
|
|
504
504
|
${(0,n.display)("flex")}
|
|
505
505
|
:host {
|
|
506
506
|
flex: 1;
|
|
507
507
|
}
|
|
508
508
|
`,xo=l.css`
|
|
509
509
|
:host {
|
|
510
|
-
background-color: ${
|
|
510
|
+
background-color: ${Kt};
|
|
511
511
|
}
|
|
512
512
|
`.withBehaviors((0,n.forcedColorsStylesheetBehavior)(l.css`
|
|
513
513
|
:host {
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
${e.name} ${"h"+t} {
|
|
520
520
|
margin: 0;
|
|
521
521
|
}
|
|
522
|
-
`;class So extends s.DesignSystemProvider{constructor(){super(),oo(i,a,this)}}(0,w.__decorate)([(0,l.attr)({attribute:"card-fill-color",converter:ao}),io(
|
|
522
|
+
`;class So extends s.DesignSystemProvider{constructor(){super(),oo(i,a,this)}}(0,w.__decorate)([(0,l.attr)({attribute:"card-fill-color",converter:ao}),io(Zt)],So.prototype,"cardFillColor",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"card-foreground-color",converter:ao}),io(eo)],So.prototype,"cardForegroundColor",void 0);const $o=So.compose({baseName:"design-system-provider",template:l.html`
|
|
523
523
|
<slot></slot>
|
|
524
524
|
`,styles:e=>{const t=(e=>l.css`
|
|
525
525
|
${Fo(e,"1")}
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
:host * {
|
|
536
536
|
${yo()}
|
|
537
537
|
}
|
|
538
|
-
`}});var
|
|
538
|
+
`}});var Do=o(15098);const Co=l.css`
|
|
539
539
|
.close-icon {
|
|
540
540
|
position: absolute;
|
|
541
541
|
right: calc(var(--design-unit) * 2px);
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
</div>
|
|
589
589
|
</div>
|
|
590
590
|
</dialog>
|
|
591
|
-
`,ko={mode:"open",delegatesFocus:!0},To={};class Lo extends n.FoundationElement{constructor(){super(...arguments),this.position="centre",this.showCloseIcon=!0}connectedCallback(){super.connectedCallback(),window.HTMLDialogElement||
|
|
591
|
+
`,ko={mode:"open",delegatesFocus:!0},To={};class Lo extends n.FoundationElement{constructor(){super(...arguments),this.position="centre",this.showCloseIcon=!0}connectedCallback(){super.connectedCallback(),window.HTMLDialogElement||Do.Z.registerDialog(this.mainElement),this.mainElement.addEventListener("close",(()=>{this.onCloseCallback&&this.onCloseCallback()}))}get open(){return this.mainElement.hasAttribute("open")}close(){this.mainElement.close()}}(0,w.__decorate)([l.attr],Lo.prototype,"position",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"show-close-icon"})],Lo.prototype,"showCloseIcon",void 0),(0,w.__decorate)([l.observable],Lo.prototype,"onShowCallback",void 0),(0,w.__decorate)([l.observable],Lo.prototype,"onCloseCallback",void 0),(0,w.__decorate)([l.volatile],Lo.prototype,"open",null);class Ao extends Lo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.show()}}const Ro=Ao.compose(Object.assign({baseName:"dialog",styles:Co,template:_o,shadowOptions:ko},To)),No=(e,t)=>l.css`
|
|
592
592
|
${(0,s.disclosureStyles)(e,t)}
|
|
593
593
|
`,Eo=(e,t)=>(0,n.disclosureTemplate)(e,t);class Mo extends n.Disclosure{}const Io=void 0,Po={},Ho=Mo.compose(Object.assign({baseName:"disclosure",template:Eo,styles:No,shadowOptions:Io},Po)),jo=(e,t)=>l.css`
|
|
594
594
|
${(0,s.dividerStyles)(e,t)}
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
</${t}-menu-item>
|
|
684
684
|
`)}
|
|
685
685
|
`)}
|
|
686
|
-
`,
|
|
686
|
+
`,Ko=e=>l.html`
|
|
687
687
|
<div class="actions-container" part="actions-container">
|
|
688
688
|
<${e}-button
|
|
689
689
|
id="actiosnMenuTrigger"
|
|
@@ -703,9 +703,9 @@
|
|
|
703
703
|
${t=>Xo(t.allItems,e)}
|
|
704
704
|
</${e}-menu>
|
|
705
705
|
</div>
|
|
706
|
-
`,
|
|
707
|
-
${e=>
|
|
708
|
-
`;class Qo extends n.FoundationElement{constructor(){super(...arguments),this.autoClose=!0,this.disabled=!1,this.name="Dropdown Menu",this.open=!1,this.clickOutside=e=>this.handleClickOutside(e)}connectedCallback(){super.connectedCallback(),this.addEventListener("onMenuClick",this.onDropdownMenuItemClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}handleClickOutside(e){Yo(e,this)&&(this.open=!1)}openChanged(){this.classNames=(0,x.A)(["hidden",!this.open]),this.open?document.addEventListener("mousedown",this.clickOutside):document.removeEventListener("mousedown",this.clickOutside)}toggleDropdownMenuVisibility(){this.open=!this.open}onDropdownMenuItemClick(){this.autoClose&&(this.open=!1)}get allItems(){return this.items}}(0,w.__decorate)([l.observable],Qo.prototype,"items",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close",mode:"boolean"})],Qo.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"disable-button",mode:"boolean"})],Qo.prototype,"disabled",void 0),(0,w.__decorate)([l.observable],Qo.prototype,"classNames",void 0),(0,w.__decorate)([l.attr],Qo.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"open",mode:"boolean"})],Qo.prototype,"open",void 0),(0,w.__decorate)([l.attr],Qo.prototype,"buttonAppearance",void 0);const Jo=Qo.compose({baseName:"dropdown-menu",styles:qo,template:
|
|
706
|
+
`,Zo=l.html`
|
|
707
|
+
${e=>Ko(e.tagName.toLowerCase().split("-")[0])}
|
|
708
|
+
`;class Qo extends n.FoundationElement{constructor(){super(...arguments),this.autoClose=!0,this.disabled=!1,this.name="Dropdown Menu",this.open=!1,this.clickOutside=e=>this.handleClickOutside(e)}connectedCallback(){super.connectedCallback(),this.addEventListener("onMenuClick",this.onDropdownMenuItemClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}handleClickOutside(e){Yo(e,this)&&(this.open=!1)}openChanged(){this.classNames=(0,x.A)(["hidden",!this.open]),this.open?document.addEventListener("mousedown",this.clickOutside):document.removeEventListener("mousedown",this.clickOutside)}toggleDropdownMenuVisibility(){this.open=!this.open}onDropdownMenuItemClick(){this.autoClose&&(this.open=!1)}get allItems(){return this.items}}(0,w.__decorate)([l.observable],Qo.prototype,"items",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close",mode:"boolean"})],Qo.prototype,"autoClose",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"disable-button",mode:"boolean"})],Qo.prototype,"disabled",void 0),(0,w.__decorate)([l.observable],Qo.prototype,"classNames",void 0),(0,w.__decorate)([l.attr],Qo.prototype,"name",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"open",mode:"boolean"})],Qo.prototype,"open",void 0),(0,w.__decorate)([l.attr],Qo.prototype,"buttonAppearance",void 0);const Jo=Qo.compose({baseName:"dropdown-menu",styles:qo,template:Zo});var ei=o(77552);const ti=(0,ei.createLogger)("foundation-ui"),oi=l.html`
|
|
709
709
|
<foundation-banner ${(0,l.ref)("banner")}>
|
|
710
710
|
<div slot="content">
|
|
711
711
|
<div>${e=>{var t;return(null===(t=e.error)||void 0===t?void 0:t.errorDetails)||"Place holder for error message"}}</div>
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
</${e}-dialog>
|
|
767
767
|
`,$i=l.html`
|
|
768
768
|
${e=>Si(e.tagName.toLowerCase().split("-")[0])}
|
|
769
|
-
`,
|
|
769
|
+
`,Di={mode:"open",delegatesFocus:!0};class Ci extends n.FoundationElement{connectedCallback(){super.connectedCallback()}show(){this.dialog.show()}dismiss(){var e,t,o,i;(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(),this.closeDialog()}closeDialog(){try{this.dialog.close(),this.remove()}catch(e){ti.error(e)}}}(0,w.__decorate)([l.observable],Ci.prototype,"error",void 0);const Oi=Ci.compose({baseName:"error-dialog",template:$i,styles:Fi,shadowOptions:Di});var _i=o(22296);const ki=(0,ei.createLogger)("foundation-criteria");var Ti;!function(e){e.AND="&&",e.OR="||",e.NOT="!",e.GT=">",e.GE=">=",e.LT="<",e.LE="<=",e.NE="!=",e.EQ="=="}(Ti||(Ti={}));class Li{constructor(e){this.$$operator=e}static And(){return new Li(Ti.AND)}static Or(){return new Li(Ti.OR)}static Not(){return new Li(Ti.NOT)}static GreaterThan(){return new Li(Ti.GT)}static GreaterThanOrEqual(){return new Li(Ti.GE)}static LessThan(){return new Li(Ti.LT)}static LessThanOrEqual(){return new Li(Ti.LE)}static NotEqual(){return new Li(Ti.NE)}static Equal(){return new Li(Ti.EQ)}get operator(){return this.$$operator}}const Ai="default";class Ri{constructor(){this.expressions={},this.And=(e,t={})=>this.withExpression(e,t,Li.And()),this.Or=(e,t={})=>this.withExpression(e,t,Li.Or()),this.Not=(e,t={})=>this.withExpression(e,t,Li.Not())}withExpression(e,t={},o=Li.And()){const{condition:i,join:a,groupName:n}=t,s=(e,t=Ai)=>{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 Li;return t&&ki.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,Ai)}}else s(e,Ai);else s(e,"string"==typeof e?Ai: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 Li){if(o[t-1]instanceof Li)throw new Error("Adjacent Join operations detected")}})),i.push(`(${e.map((e=>this.parseExpression(e,void 0))).join("")})`)):e instanceof Li?i.push(` ${e.operator} `):e&&i.push(e.serialiser(e)),i.join("")}}const Ni=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},Ei=e=>t=>`${t.field} ${e} ${Ni(t)}`,Mi=e=>Ei(Ti.EQ)(e);class Ii{constructor(e){this.serialiser=Mi,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 Pi=o(21607);const Hi=l.css`
|
|
770
770
|
/* Host */
|
|
771
771
|
:host {
|
|
772
772
|
display: flex;
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
</${e}-button>
|
|
858
858
|
</div>
|
|
859
859
|
</template>
|
|
860
|
-
`}}getColumnObject(e){return{columnDataKey:e.NAME,title:e.NAME.toLowerCase().split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),type:e.TYPE,cellTemplate:qi}}handleClick(){this.fileInput.value=null,this.fileInput.click()}onInputChange(e){var t,o;const i=Array.from(null!==(o=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.files)&&void 0!==o?o:[]);this.onFilesSelected(i)}onFilesSelected(e){if(e.length>0&&this.acceptedFormats.length>0){for(const t of e){if(!(this.accept.split(",").includes(".msg")&&t.name&&t.name.endsWith("msg")||this.acceptedFormats.includes(t.type)))return void alert(`Not a valid file type. Accepted Formats are ${this.accept}`);if(t.size>this.fileSizeLimitBytes)return void alert(`File size exceeds the file size limit of ${this.fileSizeLimitBytes} bytes`)}this.selectedFiles=e,this.fileName=this.selectedFiles.map((e=>e.name.trim())).join()}}handleFileUpload(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{const e=Gi(this.selectedFiles);e.append(this.uploadKey,this.entityId);const t=yield zi(this.uploadEventName,e,this.session.getItem("authToken","session"));if(t.ERROR)return _i.k.error(t.ERROR),void this.$emit("errorOut",t.ERROR);_i.k.info(t),this.clearSelection()}catch(e){_i.k.error(e)}}))}handleFileDownload(e){Vi(this.downloadEventName(e),e.FILE_NAME,this.session.getItem("authToken","session"))}clearSelection(){this.fileName="",this.selectedFiles=[]}}(0,w.__decorate)([l.observable],Xi.prototype,"gridCriteria",void 0),(0,w.__decorate)([We.lj],Xi.prototype,"connect",void 0),(0,w.__decorate)([qe.z],Xi.prototype,"session",void 0),(0,w.__decorate)([l.attr],Xi.prototype,"label",void 0),(0,w.__decorate)([l.attr],Xi.prototype,"accept",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"file-size-limit-bytes"})],Xi.prototype,"fileSizeLimitBytes",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"uploaded-files-resource-name"})],Xi.prototype,"uploadedFilesResourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-event-name"})],Xi.prototype,"uploadEventName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"field-name"})],Xi.prototype,"fieldName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"entity-id"})],Xi.prototype,"entityId",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-key"})],Xi.prototype,"uploadKey",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"grid-fields"})],Xi.prototype,"gridFields",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"fileName",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"uploadedFilesList",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"filesGridColumnDefinitions",void 0);const
|
|
860
|
+
`}}getColumnObject(e){return{columnDataKey:e.NAME,title:e.NAME.toLowerCase().split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),type:e.TYPE,cellTemplate:qi}}handleClick(){this.fileInput.value=null,this.fileInput.click()}onInputChange(e){var t,o;const i=Array.from(null!==(o=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.files)&&void 0!==o?o:[]);this.onFilesSelected(i)}onFilesSelected(e){if(e.length>0&&this.acceptedFormats.length>0){for(const t of e){if(!(this.accept.split(",").includes(".msg")&&t.name&&t.name.endsWith("msg")||this.acceptedFormats.includes(t.type)))return void alert(`Not a valid file type. Accepted Formats are ${this.accept}`);if(t.size>this.fileSizeLimitBytes)return void alert(`File size exceeds the file size limit of ${this.fileSizeLimitBytes} bytes`)}this.selectedFiles=e,this.fileName=this.selectedFiles.map((e=>e.name.trim())).join()}}handleFileUpload(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{const e=Gi(this.selectedFiles);e.append(this.uploadKey,this.entityId);const t=yield zi(this.uploadEventName,e,this.session.getItem("authToken","session"));if(t.ERROR)return _i.k.error(t.ERROR),void this.$emit("errorOut",t.ERROR);_i.k.info(t),this.clearSelection()}catch(e){_i.k.error(e)}}))}handleFileDownload(e){Vi(this.downloadEventName(e),e.FILE_NAME,this.session.getItem("authToken","session"))}clearSelection(){this.fileName="",this.selectedFiles=[]}}(0,w.__decorate)([l.observable],Xi.prototype,"gridCriteria",void 0),(0,w.__decorate)([We.lj],Xi.prototype,"connect",void 0),(0,w.__decorate)([qe.z],Xi.prototype,"session",void 0),(0,w.__decorate)([l.attr],Xi.prototype,"label",void 0),(0,w.__decorate)([l.attr],Xi.prototype,"accept",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"file-size-limit-bytes"})],Xi.prototype,"fileSizeLimitBytes",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"uploaded-files-resource-name"})],Xi.prototype,"uploadedFilesResourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-event-name"})],Xi.prototype,"uploadEventName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"field-name"})],Xi.prototype,"fieldName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"entity-id"})],Xi.prototype,"entityId",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"upload-key"})],Xi.prototype,"uploadKey",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"grid-fields"})],Xi.prototype,"gridFields",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"fileName",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"uploadedFilesList",void 0),(0,w.__decorate)([l.observable],Xi.prototype,"filesGridColumnDefinitions",void 0);const Ki=void 0,Zi={},Qi=Xi.compose(Object.assign({baseName:"file-upload",styles:Hi,template:Bi,shadowOptions:Ki},Zi)),Ji=l.css`
|
|
861
861
|
.filter-wrapper {
|
|
862
862
|
border: 1px solid gray;
|
|
863
863
|
border-radius: calc(var(--design-unit) * 2px);
|
|
@@ -1172,7 +1172,7 @@
|
|
|
1172
1172
|
align-content: space-evenly;
|
|
1173
1173
|
}
|
|
1174
1174
|
${t&&"}"}
|
|
1175
|
-
`},
|
|
1175
|
+
`},Da=l.css`
|
|
1176
1176
|
:host {
|
|
1177
1177
|
width: 100%;
|
|
1178
1178
|
height: 100%;
|
|
@@ -1188,11 +1188,11 @@
|
|
|
1188
1188
|
${$a("lg")}
|
|
1189
1189
|
${$a("md")}
|
|
1190
1190
|
${$a("sm")}
|
|
1191
|
-
`,
|
|
1191
|
+
`,Ca=l.html`
|
|
1192
1192
|
<template>
|
|
1193
1193
|
<slot></slot>
|
|
1194
1194
|
</template>
|
|
1195
|
-
`,Oa=void 0,_a={};class ka extends n.FoundationElement{}const Ta=ka.compose(Object.assign({baseName:"flex-layout",styles:
|
|
1195
|
+
`,Oa=void 0,_a={};class ka extends n.FoundationElement{}const Ta=ka.compose(Object.assign({baseName:"flex-layout",styles:Da,template:Ca,shadowOptions:Oa},_a)),La=(e,t)=>l.css`
|
|
1196
1196
|
${(0,s.flipperStyles)(e,t)}
|
|
1197
1197
|
`,Aa=(e,t)=>(0,n.flipperTemplate)(e,t);class Ra extends s.Flipper{}const Na=void 0,Ea={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 '},Ma=Ra.compose(Object.assign({baseName:"flipper",template:Aa,styles:La,shadowOptions:Na},Ea)),Ia=225,Pa=l.css`
|
|
1198
1198
|
/* Host */
|
|
@@ -1404,17 +1404,17 @@
|
|
|
1404
1404
|
<template>
|
|
1405
1405
|
<slot></slot>
|
|
1406
1406
|
</template>
|
|
1407
|
-
`,qa=void 0,Xa={};class
|
|
1407
|
+
`,qa=void 0,Xa={};class Ka{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`
|
|
1408
1408
|
slot {
|
|
1409
1409
|
${s||""}
|
|
1410
1410
|
${n||""}
|
|
1411
1411
|
}
|
|
1412
|
-
`}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
|
|
1412
|
+
`}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 Za extends n.FoundationElement{constructor(){super(...arguments),this.behaviors=[]}connectedCallback(){super.connectedCallback(),this.behaviors=Object.keys(Va).map((e=>{if(this[`col-${e}-count`]||this[`row-${e}-count`])return new Ka(Va[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`
|
|
1413
1413
|
slot {
|
|
1414
1414
|
${e||""}
|
|
1415
1415
|
${t||""}
|
|
1416
1416
|
}
|
|
1417
|
-
`,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],
|
|
1417
|
+
`,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],Za.prototype,"col-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-width",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-lg-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-lg-width",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-md-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-md-width",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-sm-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"col-sm-width",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-height",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-lg-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-lg-height",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-md-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-md-height",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-sm-count",void 0),(0,w.__decorate)([l.attr],Za.prototype,"row-sm-height",void 0);const Qa=Za.compose(Object.assign({baseName:"grid-layout",styles:Ya,template:Wa,shadowOptions:qa},Xa)),Ja=l.html`
|
|
1418
1418
|
<template>
|
|
1419
1419
|
<style>
|
|
1420
1420
|
:host {
|
|
@@ -1479,7 +1479,7 @@
|
|
|
1479
1479
|
border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
|
|
1480
1480
|
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
1481
1481
|
}
|
|
1482
|
-
`,$n=(e,t)=>(0,n.listboxTemplate)(e,t);class
|
|
1482
|
+
`,$n=(e,t)=>(0,n.listboxTemplate)(e,t);class Dn extends s.Listbox{}const Cn=void 0,On={},_n=Dn.compose(Object.assign({baseName:"listbox",template:$n,styles:Sn,shadowOptions:Cn},On)),kn=(e,t)=>l.css`
|
|
1483
1483
|
${(0,s.optionStyles)(e,t)}
|
|
1484
1484
|
`,Tn=(e,t)=>(0,n.listboxOptionTemplate)(e,t);class Ln extends s.ListboxOption{}const An=void 0,Rn={},Nn=Ln.compose(Object.assign({baseName:"option",template:Tn,styles:kn,shadowOptions:An},Rn)),En=(e,t)=>l.css`
|
|
1485
1485
|
${(0,s.menuStyles)(e,t)}
|
|
@@ -1498,10 +1498,10 @@
|
|
|
1498
1498
|
width: auto;
|
|
1499
1499
|
}
|
|
1500
1500
|
`,Gn=(e,t)=>(0,n.menuItemTemplate)(e,t);class zn extends s.MenuItem{connectedCallback(){super.connectedCallback(),this.addEventListener("click",(()=>this.$emit("onMenuClick")))}}const Vn=void 0,Un={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 '},Yn=zn.compose(Object.assign({baseName:"menu-item",template:Gn,styles:Bn,shadowOptions:Vn},Un)),Wn=l.css`
|
|
1501
|
-
${
|
|
1501
|
+
${Co}
|
|
1502
1502
|
`,qn=l.html`
|
|
1503
1503
|
${_o}
|
|
1504
|
-
`,Xn={mode:"open",delegatesFocus:!0},
|
|
1504
|
+
`,Xn={mode:"open",delegatesFocus:!0},Kn={};class Zn extends Lo{show(){this.onShowCallback&&this.onShowCallback(),this.mainElement.showModal()}}const Qn=Zn.compose(Object.assign({baseName:"modal",styles:Wn,template:qn,shadowOptions:Xn},Kn));var Jn;!function(e){e.BELOW="below",e.ABOVE="above",e.DYNAMIC="dynamic"}(Jn||(Jn={}));const es=230,ts=l.css`
|
|
1505
1505
|
.root {
|
|
1506
1506
|
position: relative;
|
|
1507
1507
|
width: inherit;
|
|
@@ -1766,8 +1766,75 @@
|
|
|
1766
1766
|
margin-inline-end: unset;
|
|
1767
1767
|
}
|
|
1768
1768
|
`,cs=(e,t)=>l.html`
|
|
1769
|
-
${
|
|
1770
|
-
|
|
1769
|
+
<template class="${e=>e.readOnly?"readonly":""}">
|
|
1770
|
+
<label
|
|
1771
|
+
part="label"
|
|
1772
|
+
for="${e=>e.id?e.id:"control"}"
|
|
1773
|
+
class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
|
|
1774
|
+
>
|
|
1775
|
+
<slot ${(0,l.slotted)("defaultSlottedNodes")}></slot>
|
|
1776
|
+
</label>
|
|
1777
|
+
<div class="root" part="root">
|
|
1778
|
+
${(0,n.startSlotTemplate)(e,t)}
|
|
1779
|
+
<input
|
|
1780
|
+
class="control"
|
|
1781
|
+
part="control"
|
|
1782
|
+
name="${e=>e.name}"
|
|
1783
|
+
autocomplete="${e=>e.autocomplete}"
|
|
1784
|
+
id="${e=>e.id?e.id:"control"}"
|
|
1785
|
+
@input="${e=>e.handleTextInput()}"
|
|
1786
|
+
@change="${e=>e.handleChange()}"
|
|
1787
|
+
@keydown="${(e,t)=>e.handleKeyDown(t.event)}"
|
|
1788
|
+
@blur="${(e,t)=>e.handleBlur()}"
|
|
1789
|
+
?autofocus="${e=>e.autofocus}"
|
|
1790
|
+
?disabled="${e=>e.disabled}"
|
|
1791
|
+
list="${e=>e.list}"
|
|
1792
|
+
maxlength="${e=>e.maxlength}"
|
|
1793
|
+
minlength="${e=>e.minlength}"
|
|
1794
|
+
placeholder="${e=>e.placeholder}"
|
|
1795
|
+
?readonly="${e=>e.readOnly}"
|
|
1796
|
+
?required="${e=>e.required}"
|
|
1797
|
+
size="${e=>e.size}"
|
|
1798
|
+
type="text"
|
|
1799
|
+
inputmode="numeric"
|
|
1800
|
+
min="${e=>e.min}"
|
|
1801
|
+
max="${e=>e.max}"
|
|
1802
|
+
step="${e=>e.step}"
|
|
1803
|
+
aria-atomic="${e=>e.ariaAtomic}"
|
|
1804
|
+
aria-busy="${e=>e.ariaBusy}"
|
|
1805
|
+
aria-controls="${e=>e.ariaControls}"
|
|
1806
|
+
aria-current="${e=>e.ariaCurrent}"
|
|
1807
|
+
aria-describedby="${e=>e.ariaDescribedby}"
|
|
1808
|
+
aria-details="${e=>e.ariaDetails}"
|
|
1809
|
+
aria-disabled="${e=>e.ariaDisabled}"
|
|
1810
|
+
aria-errormessage="${e=>e.ariaErrormessage}"
|
|
1811
|
+
aria-flowto="${e=>e.ariaFlowto}"
|
|
1812
|
+
aria-haspopup="${e=>e.ariaHaspopup}"
|
|
1813
|
+
aria-hidden="${e=>e.ariaHidden}"
|
|
1814
|
+
aria-invalid="${e=>e.ariaInvalid}"
|
|
1815
|
+
aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
|
|
1816
|
+
aria-label="${e=>e.ariaLabel}"
|
|
1817
|
+
aria-labelledby="${e=>e.ariaLabelledby}"
|
|
1818
|
+
aria-live="${e=>e.ariaLive}"
|
|
1819
|
+
aria-owns="${e=>e.ariaOwns}"
|
|
1820
|
+
aria-relevant="${e=>e.ariaRelevant}"
|
|
1821
|
+
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
1822
|
+
${(0,l.ref)("control")}
|
|
1823
|
+
/>
|
|
1824
|
+
${(0,l.when)((e=>!e.hideStep&&!e.readOnly&&!e.disabled),l.html`
|
|
1825
|
+
<div class="controls" part="controls">
|
|
1826
|
+
<div class="step-up" part="step-up" @click="${e=>e.stepUp()}">
|
|
1827
|
+
<slot name="step-up-glyph">${t.stepUpGlyph||""}</slot>
|
|
1828
|
+
</div>
|
|
1829
|
+
<div class="step-down" part="step-down" @click="${e=>e.stepDown()}">
|
|
1830
|
+
<slot name="step-down-glyph">${t.stepDownGlyph||""}</slot>
|
|
1831
|
+
</div>
|
|
1832
|
+
</div>
|
|
1833
|
+
`)}
|
|
1834
|
+
${(0,n.endSlotTemplate)(e,t)}
|
|
1835
|
+
</div>
|
|
1836
|
+
</template>
|
|
1837
|
+
`;class us 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 rs(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.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.control.value=this.validateMinMax(t.toString(),this.withFormatting),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}handleTextInput(){this.isUserInput=!0,this.withFormatting&&!new rs(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.value,this.withFormatting),this.control.value=this.withFormatting&&this.value?this.toIntlNumberFormat(this.value):this.value,this.$emit("input"),this.$emit("change")}}(0,w.__decorate)([l.attr],us.prototype,"autocomplete",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],us.prototype,"hideStep",void 0),(0,w.__decorate)([l.attr],us.prototype,"value",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],us.prototype,"withFormatting",void 0),(0,w.__decorate)([l.attr],us.prototype,"locale",void 0);const ps={delegatesFocus:!0,mode:"open"},hs={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 '},ms=us.compose(Object.assign({baseName:"number-field",template:cs,styles:ds,shadowOptions:ps},hs));var vs=o(86975);const gs={toView:e=>JSON.stringify(e),fromView:e=>null==e?e:JSON.parse(e)};class fs 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,vs.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],fs.prototype,"selector",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],fs.prototype,"show",void 0),(0,w.__decorate)([l.attr],fs.prototype,"event",void 0),(0,w.__decorate)([l.attr],fs.prototype,"placement",void 0),(0,w.__decorate)([(0,l.attr)({converter:gs})],fs.prototype,"offset",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],fs.prototype,"flip",void 0);const bs=l.css`
|
|
1771
1838
|
:host {
|
|
1772
1839
|
display: none;
|
|
1773
1840
|
inset: unset !important;
|
|
@@ -1786,7 +1853,7 @@
|
|
|
1786
1853
|
:host {
|
|
1787
1854
|
height: calc(var(--design-unit) * 2px);
|
|
1788
1855
|
}
|
|
1789
|
-
`,Fs=(e,t)=>(0,n.progressTemplate)(e,t);class Ss extends s.Progress{}const $s=void 0,
|
|
1856
|
+
`,Fs=(e,t)=>(0,n.progressTemplate)(e,t);class Ss extends s.Progress{}const $s=void 0,Ds={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},Cs=Ss.compose(Object.assign({baseName:"progress",template:Fs,styles:xs,shadowOptions:$s},Ds)),Os=(e,t)=>l.css`
|
|
1790
1857
|
${(0,s.progressRingStyles)(e,t)}
|
|
1791
1858
|
`,_s=(e,t)=>(0,n.progressRingTemplate)(e,t);class ks extends s.Progress{}const Ts=void 0,Ls={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 '},As=ks.compose(Object.assign({baseName:"progress-ring",template:_s,styles:Os,shadowOptions:Ts},Ls)),Rs=(e,t)=>l.css`
|
|
1792
1859
|
${(0,s.radioStyles)(e,t)}
|
|
@@ -1805,7 +1872,7 @@
|
|
|
1805
1872
|
calc(var(--control-corner-radius) * 1px) 0;
|
|
1806
1873
|
border-left-width: 0;
|
|
1807
1874
|
}
|
|
1808
|
-
`,Ys=(e,t)=>(0,n.radioGroupTemplate)(e,t);class Ws extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const qs=void 0,Xs={},
|
|
1875
|
+
`,Ys=(e,t)=>(0,n.radioGroupTemplate)(e,t);class Ws extends n.RadioGroup{valueChanged(){void 0===this.value&&this.slottedRadioButtons&&this.slottedRadioButtons.forEach((e=>{e.checked=!1})),super.valueChanged()}}const qs=void 0,Xs={},Ks=Ws.compose(Object.assign({baseName:"segmented-control",template:Ys,styles:Us,shadowOptions:qs},Xs)),Zs=(e,t)=>l.css`
|
|
1809
1876
|
${(0,s.radioStyles)(e,t)}
|
|
1810
1877
|
:host {
|
|
1811
1878
|
padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px);
|
|
@@ -1830,7 +1897,7 @@
|
|
|
1830
1897
|
<slot></slot>
|
|
1831
1898
|
</span>
|
|
1832
1899
|
</template>
|
|
1833
|
-
`;class Js extends s.Radio{}const el=void 0,tl={},ol=Js.compose(Object.assign({baseName:"segmented-item",template:Qs,styles:
|
|
1900
|
+
`;class Js extends s.Radio{}const el=void 0,tl={},ol=Js.compose(Object.assign({baseName:"segmented-item",template:Qs,styles:Zs,shadowOptions:el},tl)),il=(e,t)=>l.css`
|
|
1834
1901
|
${(0,s.selectStyles)(e,t)}
|
|
1835
1902
|
`,al=(e,t)=>(0,n.selectTemplate)(e,t);class nl extends s.Select{}const sl=void 0,ll={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 '},rl=nl.compose(Object.assign({baseName:"select",template:al,styles:il,shadowOptions:sl},ll)),dl=(e,t)=>l.css`
|
|
1836
1903
|
${(0,s.skeletonStyles)(e,t)}
|
|
@@ -1875,7 +1942,7 @@
|
|
|
1875
1942
|
</template>
|
|
1876
1943
|
`;class yl extends s.Slider{}const wl=void 0,xl={thumb:'\n <div class="thumb-cursor"></div>\n '},Fl=yl.compose(Object.assign({baseName:"slider",template:bl,styles:vl,shadowOptions:wl},xl)),Sl=(e,t)=>l.css`
|
|
1877
1944
|
${(0,s.sliderLabelStyles)(e,t)}
|
|
1878
|
-
`,$l=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class
|
|
1945
|
+
`,$l=(e,t)=>(0,n.sliderLabelTemplate)(e,t);class Dl extends s.SliderLabel{}const Cl=void 0,Ol={},_l=Dl.compose(Object.assign({baseName:"slider-label",template:$l,styles:Sl,shadowOptions:Cl},Ol)),kl=l.css`
|
|
1879
1946
|
@keyframes append-animate {
|
|
1880
1947
|
from {
|
|
1881
1948
|
transform: translateX(100%);
|
|
@@ -1991,7 +2058,7 @@
|
|
|
1991
2058
|
${(0,s.tabStyles)(e,t)}
|
|
1992
2059
|
`,Bl=(e,t)=>(0,n.tabTemplate)(e,t);class Gl extends s.Tab{}const zl=void 0,Vl={},Ul=Gl.compose(Object.assign({baseName:"tab",template:Bl,styles:jl,shadowOptions:zl},Vl)),Yl=(e,t)=>l.css`
|
|
1993
2060
|
${(0,s.tabPanelStyles)(e,t)}
|
|
1994
|
-
`,Wl=(e,t)=>(0,n.tabPanelTemplate)(e,t);class ql extends s.TabPanel{}const Xl=void 0,
|
|
2061
|
+
`,Wl=(e,t)=>(0,n.tabPanelTemplate)(e,t);class ql extends s.TabPanel{}const Xl=void 0,Kl={},Zl=ql.compose(Object.assign({baseName:"tab-panel",template:Wl,styles:Yl,shadowOptions:Xl},Kl)),Ql=(e,t)=>l.css`
|
|
1995
2062
|
${(0,s.tabsStyles)(e,t)}
|
|
1996
2063
|
`,Jl=(e,t)=>(0,n.tabsTemplate)(e,t);class er extends s.Tabs{}const tr=void 0,or={},ir=er.compose(Object.assign({baseName:"tabs",template:Jl,styles:Ql,shadowOptions:tr},or)),ar=(e,t)=>l.css`
|
|
1997
2064
|
${(0,s.textAreaStyles)(e,t)}
|
|
@@ -2187,7 +2254,7 @@
|
|
|
2187
2254
|
</div>
|
|
2188
2255
|
`,wr={mode:"open",delegatesFocus:!0},xr={};class Fr 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],Fr.prototype,"deleteAnimation",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout"})],Fr.prototype,"closeTimeout",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"auto-close"})],Fr.prototype,"autoClose",void 0);const Sr=Fr.compose(Object.assign({baseName:"toast",styles:br,template:yr,shadowOptions:wr},xr)),$r=(e,t)=>l.css`
|
|
2189
2256
|
${(0,s.toolbarStyles)(e,t)}
|
|
2190
|
-
`,
|
|
2257
|
+
`,Dr=(e,t)=>(0,n.toolbarTemplate)(e,t);class Cr extends s.Toolbar{}const Or=void 0,_r={},kr=Cr.compose(Object.assign({baseName:"toolbar",template:Dr,styles:$r,shadowOptions:Or},_r)),Tr=(e,t)=>l.css`
|
|
2191
2258
|
${(0,s.tooltipStyles)(e,t)}
|
|
2192
2259
|
`,Lr=(e,t)=>(0,n.tooltipTemplate)(e,t);class Ar extends s.Tooltip{}const Rr=void 0,Nr={},Er=Ar.compose(Object.assign({baseName:"tooltip",template:Lr,styles:Tr,shadowOptions:Rr},Nr)),Mr=(e,t)=>l.css`
|
|
2193
2260
|
${(0,s.treeItemStyles)(e,t)}
|
|
@@ -2244,9 +2311,9 @@
|
|
|
2244
2311
|
<a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
|
|
2245
2312
|
`)}
|
|
2246
2313
|
</div>
|
|
2247
|
-
`,
|
|
2314
|
+
`,Kr=void 0,Zr={};class Qr 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],Qr.prototype,"value",void 0),(0,w.__decorate)([l.observable],Qr.prototype,"focused",void 0);const Jr=Qr.compose(Object.assign({baseName:"url-input",template:Xr,styles:qr,shadowOptions:Kr},Zr)),ed={foundationAccordion:h,foundationAccordionItem:y,foundationActionsMenu:_,foundationAnchor:N,foundationAnchoredRegion:j,foundationAvatar:W,foundationBadge:J,foundationBanner:ae,foundationBreadcrumbItem:ge,foundationBreadcrumb:ce,foundationButton:Fe,foundationCalendar:_e,foundationCard:Ne,foundationCheckbox:je,foundationCombobox:Ye,foundationConnectionIndicator:Qe,foundationDataGrid:at,foundationDataGridCell:dt,foundationDataGridRow:mt,foundationDatePicker:Nt,foundationDesignSystemProvider:$o,foundationDialog:Ro,foundationDisclosure:Ho,foundationDivider:Uo,foundationDropdownMenu:Jo,foundationErrorBoundary:xi,foundationErrorBanner:ni,foundationErrorDialog:Oi,foundationFileUpload:Qi,foundationFilter:pa,foundationFilterBar:Fa,foundationFlexLayout:Ta,foundationFlipper:Ma,foundationFlyout:za,foundationGridLayout:Qa,foundationGridLayoutItem:an,foundationHorizontalScroll:cn,foundationIcon:Fn,foundationListbox:_n,foundationListboxOption:Nn,foundationMenu:jn,foundationMenuItem:Yn,foundationModal:Qn,foundationMultiselect:ls,foundationNumberField:ms,foundationProgress:Cs,foundationPopper:ws,foundationProgressRing:As,foundationRadio:Ps,foundationRadioGroup:Vs,foundationSegmentedControl:Ks,foundationSegmentedItem:ol,foundationSelect:rl,foundationSkeleton:ml,foundationSlider:Fl,foundationSliderLabel:_l,foundationSnackbar:Rl,foundationSwitch:Hl,foundationTab:Ul,foundationTabPanel:Zl,foundationTabs:ir,foundationTextArea:dr,foundationTextField:fr,foundationToast:Sr,foundationToolbar:kr,foundationTooltip:Er,foundationTreeItem:Br,foundationTreeView:Wr,foundationUrlInput:Jr,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function td(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 od=(e,t="foundation")=>{e&&oo(i,a,e);return td(n.DesignSystem.getOrCreate(e).withPrefix(t))};class id 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(";")}}var ad=o(82940),nd=o(32449),sd=o(9162),ld=o(5127),rd=o(26714);class dd extends n.FoundationElement{constructor(){super(...arguments),this.withGridInit=!0,this.isSnapshot=!1,this.maxRows=ad.WJ.MAX_ROWS_250,this.maxView=ad.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 rd.X(new Map)}criteriaChanged(e,t){const o=e!==(0,nd.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 ti.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===sd.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const t=(0,ld.$)(e);this.handleStreamUpdate(t)}else this.handleStreamUpdate(e)}));else ti.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 ti.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,nd.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)([We.lj],dd.prototype,"connect",void 0),(0,w.__decorate)([li.Yh],dd.prototype,"datasource",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dd.prototype,"withGridInit",void 0),(0,w.__decorate)([l.attr],dd.prototype,"criteria",void 0),(0,w.__decorate)([l.attr],dd.prototype,"fields",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dd.prototype,"isSnapshot",void 0),(0,w.__decorate)([l.attr],dd.prototype,"maxRows",void 0),(0,w.__decorate)([l.attr],dd.prototype,"maxView",void 0),(0,w.__decorate)([l.attr],dd.prototype,"orderBy",void 0),(0,w.__decorate)([l.attr],dd.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean"})],dd.prototype,"reverse",void 0),(0,w.__decorate)([l.attr],dd.prototype,"rowId",void 0),(0,w.__decorate)([(0,l.attr)({mode:"boolean",attribute:"with-timestamp-formatting"})],dd.prototype,"withTimestampFormatting",void 0);let cd=class extends dd{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(){ti.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){ti.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ti.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ti.debug("handleStreamUpdates - Method not implemented.")}};cd=(0,w.__decorate)([(0,l.customElement)({name:"data-grid-datasource"})],cd);const ud=l.html`
|
|
2248
2315
|
<template ${(0,l.ref)("notificationListener")}>
|
|
2249
2316
|
<slot></slot>
|
|
2250
2317
|
</template>
|
|
2251
|
-
`;var pd;!function(e){e.NOTIFICATION_EVENT="notification-event"}(pd||(pd={}));const hd=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"}`},md=(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},vd=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},gd=(0,ei.createLogger)("foundation-notifications"),fd={alert:e=>{alert(hd(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=md("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`),S=document.createElement("div");S.setAttribute("slot","top"),S.textContent=e.title;const $=document.createElement("div");$.setAttribute("slot","content"),$.textContent=(null==e?void 0:e.body)||"";const C=document.createElement("div");let D;C.setAttribute("slot","date"),C.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)&&(D=document.createElement("div"),D.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),D.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(S),F.appendChild($),F.appendChild(C),D&&F.appendChild(D),x.appendChild(F)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-notification-dialog`);md("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);md("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 vd()})(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}},bd=(e,t,o)=>{var i,a;gd.log({message:hd(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)||ei.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{fd[i]&&fd[i](e,t,o)}))};class yd{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 ei.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 wd{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 xd={mode:"open",delegatesFocus:!0};class Fd 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(pd.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),bd(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,ld.$)(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})))),bd((new yd).withTitle(o).withBody(i).withCreatedAt(n).withToast((new wd).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],Fd.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Fd.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Fd.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],Fd.prototype,"toastButtons",void 0),(0,w.__decorate)([li.Yh],Fd.prototype,"datasource",void 0);const Sd=Fd.compose({baseName:"notification-listener",template:ud,shadowOptions:xd});var $d;let Cd=$d=class extends dd{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||ti.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 $d||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){ti.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ti.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ti.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Cd.prototype,"labelField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Cd.prototype,"valueField",void 0),(0,w.__decorate)([l.observable],Cd.prototype,"labelFormatter",void 0),Cd=$d=(0,w.__decorate)([(0,l.customElement)({name:"options-datasource"})],Cd);let Dd=class extends dd{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||ti.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){const t=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField],label:e[this.labelField]})));this.select.options=t}handleStreamInserts(e){ti.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ti.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ti.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Dd.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Dd.prototype,"labelField",void 0),Dd=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],Dd);const Od=(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 _d(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 kd=o(1279);let Td=class extends(kd.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Td=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],Td);const Ld=()=>od().register(ed)}}]);
|
|
2252
|
-
//# sourceMappingURL=701.
|
|
2318
|
+
`;var pd;!function(e){e.NOTIFICATION_EVENT="notification-event"}(pd||(pd={}));const hd=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"}`},md=(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},vd=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},gd=(0,ei.createLogger)("foundation-notifications"),fd={alert:e=>{alert(hd(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=md("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`),S=document.createElement("div");S.setAttribute("slot","top"),S.textContent=e.title;const $=document.createElement("div");$.setAttribute("slot","content"),$.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(S),F.appendChild($),F.appendChild(D),C&&F.appendChild(C),x.appendChild(F)},dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-notification-dialog`);md("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);md("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 vd()})(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}},bd=(e,t,o)=>{var i,a;gd.log({message:hd(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)||ei.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{fd[i]&&fd[i](e,t,o)}))};class yd{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 ei.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 wd{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 xd={mode:"open",delegatesFocus:!0};class Fd 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(pd.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),bd(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,ld.$)(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})))),bd((new yd).withTitle(o).withBody(i).withCreatedAt(n).withToast((new wd).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],Fd.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"resource-name"})],Fd.prototype,"resourceName",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"close-timeout",converter:l.nullableNumberConverter})],Fd.prototype,"closeTimeout",void 0),(0,w.__decorate)([l.observable],Fd.prototype,"toastButtons",void 0),(0,w.__decorate)([li.Yh],Fd.prototype,"datasource",void 0);const Sd=Fd.compose({baseName:"notification-listener",template:ud,shadowOptions:xd});var $d;let Dd=$d=class extends dd{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||ti.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 $d||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){ti.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ti.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ti.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Dd.prototype,"labelField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Dd.prototype,"valueField",void 0),(0,w.__decorate)([l.observable],Dd.prototype,"labelFormatter",void 0),Dd=$d=(0,w.__decorate)([(0,l.customElement)({name:"options-datasource"})],Dd);let Cd=class extends dd{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||ti.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){const t=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField],label:e[this.labelField]})));this.select.options=t}handleStreamInserts(e){ti.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){ti.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){ti.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,l.attr)({attribute:"value-field"})],Cd.prototype,"valueField",void 0),(0,w.__decorate)([(0,l.attr)({attribute:"label-field"})],Cd.prototype,"labelField",void 0),Cd=(0,w.__decorate)([(0,l.customElement)({name:"multiselect-datasource"})],Cd);const Od=(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 _d(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 kd=o(1279);let Td=class extends(kd.F0.from(l.FASTElement)){connectedCallback(){super.connectedCallback(),l.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Td=(0,w.__decorate)([(0,l.customElement)({name:"foundation-router"})],Td);const Ld=()=>od().register(ed)}}]);
|
|
2319
|
+
//# sourceMappingURL=701.9b8af9362dd1c33179114bfb0c8b4b68.js.map
|