@genesislcap/design-system-configurator 14.64.2 → 14.64.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/{521.521.6b0f866acd2ed207e741.js → 521.521.046485b54c402a7fb2de.js} +3 -3
- package/dist/521.e78a43865288390301bbba5b096e7754.js.map +1 -0
- package/dist/{567.567.82f918d0f8a216c0db90.js → 567.567.92221de4dc54ea7dee55.js} +53 -53
- package/dist/567.9ed1198f9ecf4d4430a63ee8c04bf01f.js.map +1 -0
- package/dist/{430.430.81f9ab96e5371599fcf7.js → 659.659.4694105f898e6d4b8235.js} +2 -2
- package/dist/659.cbd2755ff6cd83832534582fdb478bb3.js.map +1 -0
- package/dist/{designSystemConfigurator.41be5555997a0512f28cad395326530d.js.map → designSystemConfigurator.e9f9ce27b4721872bc456dcc5767c0e6.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.1627bba2dae97b8328b3.js → main.06059dc816dadc0d6ceb.js} +2 -2
- package/dist/{main.55e3491a5051589a6ff44165cfd22b3d.js.map → main.6a1a9de55edde016c8d91ea78f4424e1.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/430.4d21da5bd24fda819edead8ac55bc771.js.map +0 -1
- package/dist/521.5b4b98acddf5e4f74b5a36a73a2ca0a0.js.map +0 -1
- package/dist/567.7853a2fe7567a2437136f2c55d9a1a00.js.map +0 -1
- /package/dist/{521.521.6b0f866acd2ed207e741.js.LICENSE.txt → 521.521.046485b54c402a7fb2de.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! For license information please see 521.521.
|
|
1
|
+
/*! For license information please see 521.521.046485b54c402a7fb2de.js.LICENSE.txt */
|
|
2
2
|
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[521],{87530:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,i="millisecond",a="second",n="minute",s="hour",r="day",l="week",d="month",c="quarter",u="year",p="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}},g=function(e,t,o){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(o)+e},b={s:g,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),i=Math.floor(o/60),a=o%60;return(t<=0?"+":"-")+g(i,2,"0")+":"+g(a,2,"0")},m:function e(t,o){if(t.date()<o.date())return-e(o,t);var i=12*(o.year()-t.year())+(o.month()-t.month()),a=t.clone().add(i,d),n=o-a<0,s=t.clone().add(i+(n?-1:1),d);return+(-(i+(o-a)/(n?a-s:s-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:d,y:u,w:l,d:r,D:p,h:s,m:n,s:a,ms:i,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=v;var x=function(e){return e instanceof D},F=function e(t,o,i){var a;if(!t)return y;if("string"==typeof t){var n=t.toLowerCase();w[n]&&(a=n),o&&(w[n]=o,a=n);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var r=t.name;w[r]=t,a=r}return!i&&a&&(y=a),a||!i&&y},S=function(e,t){if(x(e))return e.clone();var o="object"==typeof t?t:{};return o.date=e,o.args=arguments,new D(o)},$=b;$.l=F,$.i=x,$.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function v(e){this.$L=F(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(m);if(i){var a=i[2]-1||0,n=(i[7]||"0").substring(0,3);return o?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return $},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var o=S(e);return this.startOf(t)<=o&&o<=this.endOf(t)},g.isAfter=function(e,t){return S(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<S(e)},g.$g=function(e,t,o){return $.u(e)?this[t]:this.set(o,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var o=this,i=!!$.u(t)||t,c=$.p(e),h=function(e,t){var a=$.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return i?a:a.endOf(r)},m=function(e,t){return $.w(o.toDate()[e].apply(o.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},f=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case u:return i?h(1,0):h(31,11);case d:return i?h(1,v):h(0,v+1);case l:var y=this.$locale().weekStart||0,w=(f<y?f+7:f)-y;return h(i?g-w:g+(6-w),v);case r:case p:return m(b+"Hours",0);case s:return m(b+"Minutes",1);case n:return m(b+"Seconds",2);case a:return m(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var o,l=$.p(e),c="set"+(this.$u?"UTC":""),h=(o={},o[r]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[s]=c+"Hours",o[n]=c+"Minutes",o[a]=c+"Seconds",o[i]=c+"Milliseconds",o)[l],m=l===r?this.$D+(t-this.$W):t;if(l===d||l===u){var f=this.clone().set(p,1);f.$d[h](m),f.init(),this.$d=f.set(p,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[$.p(e)]()},g.add=function(i,c){var p,h=this;i=Number(i);var m=$.p(c),f=function(e){var t=S(h);return $.w(t.date(t.date()+Math.round(e*i)),h)};if(m===d)return this.set(d,this.$M+i);if(m===u)return this.set(u,this.$y+i);if(m===r)return f(1);if(m===l)return f(7);var v=(p={},p[n]=t,p[s]=o,p[a]=e,p)[m]||1,g=this.$d.getTime()+i*v;return $.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,o=this.$locale();if(!this.isValid())return o.invalidDate||h;var i=e||"YYYY-MM-DDTHH:mm:ssZ",a=$.z(this),n=this.$H,s=this.$m,r=this.$M,l=o.weekdays,d=o.months,c=function(e,o,a,n){return e&&(e[o]||e(t,i))||a[o].slice(0,n)},u=function(e){return $.s(n%12||12,e,"0")},p=o.meridiem||function(e,t,o){var i=e<12?"AM":"PM";return o?i.toLowerCase():i},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:r+1,MM:$.s(r+1,2,"0"),MMM:c(o.monthsShort,r,d,3),MMMM:c(d,r),D:this.$D,DD:$.s(this.$D,2,"0"),d:String(this.$W),dd:c(o.weekdaysMin,this.$W,l,2),ddd:c(o.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(n),HH:$.s(n,2,"0"),h:u(1),hh:u(2),a:p(n,s,!0),A:p(n,s,!1),m:String(s),mm:$.s(s,2,"0"),s:String(this.$s),ss:$.s(this.$s,2,"0"),SSS:$.s(this.$ms,3,"0"),Z:a};return i.replace(f,(function(e,t){return t||m[e]||a.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,p,h){var m,f=$.p(p),v=S(i),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=$.m(this,v);return y=(m={},m[u]=y/12,m[d]=y,m[c]=y/3,m[l]=(b-g)/6048e5,m[r]=(b-g)/864e5,m[s]=b/o,m[n]=b/t,m[a]=b/e,m)[f]||b,h?y:$.a(y)},g.daysInMonth=function(){return this.endOf(d).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var o=this.clone(),i=F(e,t,!0);return i&&(o.$L=i),o},g.clone=function(){return $.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),C=D.prototype;return S.prototype=C,[["$ms",i],["$s",a],["$m",n],["$H",s],["$W",r],["$M",d],["$y",u],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,D,S),e.$i=!0),S},S.locale=F,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=w[y],S.Ls=w,S.p={},S}()},78113:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}()},42720:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>v,ActionsMenu:()=>O,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>Z,Banner:()=>ie,BaseDatasource:()=>Vl,Breadcrumb:()=>re,BreadcrumbItem:()=>he,Button:()=>ye,CSSVarsTokenMapper:()=>Hl,Card:()=>De,Checkbox:()=>Le,Combobox:()=>Ie,ConnectionIndicator:()=>Ue,DEFUALT_FILTER_BAR_COLUMNS:()=>aa,DataGrid:()=>Xe,DataGridCell:()=>et,DataGridDatasource:()=>Ul,DataGridRow:()=>nt,DatePicker:()=>wt,Dialog:()=>yo,DialogElement:()=>bo,Disclosure:()=>So,Divider:()=>ko,DropdownMenu:()=>Po,ErrorBanner:()=>Vo,ErrorBoundary:()=>si,ErrorBoundaryEvent:()=>Yo,ErrorDialog:()=>pi,FaPrefixFromStyle:()=>an,FileUpload:()=>Ni,Filter:()=>Xi,FilterBar:()=>na,FilterEvents:()=>qi,FlexLayout:()=>ha,FlexMediaQueriesEnum:()=>ra,Flipper:()=>ga,Flyout:()=>$a,FoundationDesignSystemProvider:()=>co,FoundationRouter:()=>ud,GridLayout:()=>Ea,GridLayoutItem:()=>ja,GridMediaQueriesEnum:()=>_a,HorizontalScroll:()=>Va,Icon:()=>nn,Listbox:()=>dn,ListboxOption:()=>fn,Menu:()=>xn,MenuItem:()=>On,Modal:()=>En,Multiselect:()=>Vn,MultiselectDatasource:()=>rd,NotificationListener:()=>id,NumberField:()=>qn,OptionsDatasource:()=>sd,Popper:()=>es,Progress:()=>ss,ProgressRing:()=>ps,Radio:()=>bs,RadioGroup:()=>$s,SegmentedControl:()=>Ts,SegmentedItem:()=>Ms,Select:()=>zs,Skeleton:()=>qs,Slider:()=>or,SliderLabel:()=>lr,Snackbar:()=>fr,Switch:()=>yr,Tab:()=>Dr,TabPanel:()=>Lr,Tabs:()=>Ir,TextArea:()=>Gr,TextField:()=>Xr,Toast:()=>il,Toolbar:()=>rl,Tooltip:()=>hl,TreeItem:()=>yl,TreeView:()=>Dl,UrlInput:()=>Rl,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:()=>Jt,actionsMenuBaseStyles:()=>F,baseComponents:()=>El,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>eo,black:()=>$t,bodyFont:()=>s.bodyFont,closeIcon:()=>mo,configureDesignSystem:()=>Kt,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>oo,createDesignSystemProxy:()=>Ml,createFormData:()=>Oi,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>R,defaultAnchoredRegionConfig:()=>P,defaultAvatarConfig:()=>Y,defaultBadgeConfig:()=>J,defaultBreadcrumbConfig:()=>de,defaultBreadcrumbItemConfig:()=>fe,defaultButtonConfig:()=>xe,defaultCardConfig:()=>Oe,defaultCheckboxConfig:()=>Re,defaultComboboxConfig:()=>Pe,defaultDataGridCellConfig:()=>ot,defaultDataGridConfig:()=>Ke,defaultDataGridRowConfig:()=>rt,defaultDatePickerConfig:()=>yt,defaultDialogConfig:()=>go,defaultDisclosureConfig:()=>Do,defaultDividerConfig:()=>Lo,defaultFileUploadConfig:()=>Mi,defaultFillColor:()=>Ct,defaultFlexLayoutConfig:()=>pa,defaultFlipperConfig:()=>ya,defaultFlyoutConfig:()=>Ca,defaultGridLayoutConfig:()=>Ra,defaultGridLayoutItemConfig:()=>Pa,defaultHorizontalScrollConfig:()=>Ya,defaultIconConfig:()=>on,defaultListboxConfig:()=>un,defaultListboxOptionConfig:()=>gn,defaultMenuConfig:()=>Sn,defaultMenuItemConfig:()=>kn,defaultModalConfig:()=>Nn,defaultMultiselectConfig:()=>Gn,defaultNeutralForegroundContrast:()=>Pt,defaultNumberFieldConfig:()=>Zn,defaultProgressConfig:()=>ls,defaultProgressRingConfig:()=>ms,defaultRadioConfig:()=>ws,defaultRadioGroupConfig:()=>Cs,defaultSegmentedControlConfig:()=>As,defaultSegmentedItemConfig:()=>Hs,defaultSelectConfig:()=>Vs,defaultSkeletonConfig:()=>Zs,defaultSliderConfig:()=>ar,defaultSliderLabelConfig:()=>cr,defaultSwitchConfig:()=>xr,defaultTabConfig:()=>Or,defaultTabPanelConfig:()=>Rr,defaultTabsConfig:()=>Pr,defaultTextAreaConfig:()=>Ur,defaultTextFieldConfig:()=>Kr,defaultToastConfig:()=>ol,defaultToolbarConfig:()=>dl,defaultTooltipConfig:()=>fl,defaultTreeItemConfig:()=>xl,defaultTreeViewConfig:()=>Ol,defaultUrlInputConfig:()=>Al,defineFactory:()=>ld,density:()=>s.density,designToken:()=>Vt,designUnit:()=>s.designUnit,designUnitValue:()=>io,direction:()=>s.direction,directionValue:()=>to,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>ki,dropdownMenuBaseStyles:()=>No,errorDialogTemplate:()=>ci,extractMenuItems:()=>Mo,fillColor:()=>s.fillColor,flyoutAnimationTime:()=>xa,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:()=>g,foundationAccordionItemStyles:()=>m,foundationAccordionItemTemplate:()=>f,foundationAccordionShadowOptions:()=>u,foundationAccordionStyles:()=>l,foundationAccordionTemplate:()=>d,foundationActionsMenu:()=>_,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>C,foundationAnchor:()=>N,foundationAnchorShadowOptions:()=>A,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>j,foundationAnchoredRegionShadowOptions:()=>H,foundationAnchoredRegionStyles:()=>M,foundationAnchoredRegionTemplate:()=>E,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>U,foundationAvatarStyles:()=>B,foundationAvatarTemplate:()=>z,foundationBadge:()=>Q,foundationBadgeShadowOptions:()=>K,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>X,foundationBanner:()=>ae,foundationBannerShadowOptions:()=>oe,foundationBannerStyles:()=>ee,foundationBannerTemplate:()=>te,foundationBreadcrumb:()=>ce,foundationBreadcrumbItem:()=>ve,foundationBreadcrumbItemShadowOptions:()=>me,foundationBreadcrumbItemStyles:()=>ue,foundationBreadcrumbItemTemplate:()=>pe,foundationBreadcrumbShadowOptions:()=>le,foundationBreadcrumbStyles:()=>ne,foundationBreadcrumbTemplate:()=>se,foundationButton:()=>Fe,foundationButtonShadowOptions:()=>we,foundationButtonStyles:()=>ge,foundationButtonTemplate:()=>be,foundationCard:()=>_e,foundationCardShadowOptions:()=>Ce,foundationCardStyles:()=>Se,foundationCardTemplate:()=>$e,foundationCheckbox:()=>Ne,foundationCheckboxShadowOptions:()=>Ae,foundationCheckboxStyles:()=>ke,foundationCheckboxTemplate:()=>Te,foundationCombobox:()=>je,foundationComboboxShadowOptions:()=>He,foundationComboboxStyles:()=>Ee,foundationComboboxTemplate:()=>Me,foundationConnectionIndicator:()=>Ye,foundationConnectionIndicatorStyles:()=>Ge,foundationConnectionIndicatorTemplate:()=>Ve,foundationDataGrid:()=>Je,foundationDataGridCell:()=>it,foundationDataGridCellShadowOptions:()=>tt,foundationDataGridCellStyles:()=>Qe,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>lt,foundationDataGridRowShadowOptions:()=>st,foundationDataGridRowStyles:()=>at,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>Ze,foundationDataGridStyles:()=>We,foundationDataGridTemplate:()=>qe,foundationDatePicker:()=>xt,foundationDatePickerShadowOptions:()=>bt,foundationDatePickerStyles:()=>vt,foundationDatePickerTemplate:()=>gt,foundationDesignSystemProvider:()=>uo,foundationDialog:()=>wo,foundationDialogShadowOptions:()=>vo,foundationDialogStyles:()=>ho,foundationDialogTemplate:()=>fo,foundationDisclosure:()=>Co,foundationDisclosureShadowOptions:()=>$o,foundationDisclosureStyles:()=>xo,foundationDisclosureTemplate:()=>Fo,foundationDivider:()=>Ao,foundationDividerShadowOptions:()=>To,foundationDividerStyles:()=>Oo,foundationDividerTemplate:()=>_o,foundationDropdownMenu:()=>jo,foundationDropdownMenuStyles:()=>Eo,foundationDropdownMenuTemplate:()=>Ho,foundationErrorBanner:()=>Uo,foundationErrorBannerShadowOptions:()=>Go,foundationErrorBannerTemplate:()=>zo,foundationErrorBoundary:()=>ri,foundationErrorBoundaryShadowOptions:()=>ni,foundationErrorBoundaryTemplate:()=>ai,foundationErrorDialog:()=>hi,foundationErrorDialogShadowOptions:()=>ui,foundationErrorDialogStyles:()=>li,foundationFileUpload:()=>Ii,foundationFileUploadShadowOptions:()=>Ei,foundationFileUploadStyles:()=>$i,foundationFileUploadTemplate:()=>Ci,foundationFilter:()=>Zi,foundationFilterBar:()=>sa,foundationFilterBarStyles:()=>Ji,foundationFilterBarTemplate:()=>ia,foundationFilterStyles:()=>Hi,foundationFilterTemplate:()=>Wi,foundationFlexLayout:()=>ma,foundationFlexLayoutShadowOptions:()=>ua,foundationFlexLayoutStyles:()=>da,foundationFlexLayoutTemplate:()=>ca,foundationFlipper:()=>wa,foundationFlipperShadowOptions:()=>ba,foundationFlipperStyles:()=>fa,foundationFlipperTemplate:()=>va,foundationFlyout:()=>Oa,foundationFlyoutShadowOptions:()=>Da,foundationFlyoutStyles:()=>Fa,foundationFlyoutTemplate:()=>Sa,foundationGridLayout:()=>Ma,foundationGridLayoutItem:()=>Ba,foundationGridLayoutItemShadowOptions:()=>Ha,foundationGridLayoutItemTemplate:()=>Ia,foundationGridLayoutShadowOptions:()=>Aa,foundationGridLayoutStyles:()=>Ta,foundationGridLayoutTemplate:()=>La,foundationHorizontalScroll:()=>Wa,foundationHorizontalScrollShadowOptions:()=>Ua,foundationHorizontalScrollStyles:()=>za,foundationHorizontalScrollTemplate:()=>Ga,foundationIcon:()=>sn,foundationIconShadowOptions:()=>tn,foundationIconStyles:()=>Qa,foundationIconTemplate:()=>en,foundationListbox:()=>pn,foundationListboxOption:()=>bn,foundationListboxOptionShadowOptions:()=>vn,foundationListboxOptionStyles:()=>hn,foundationListboxOptionTemplate:()=>mn,foundationListboxShadowOptions:()=>cn,foundationListboxStyles:()=>rn,foundationListboxTemplate:()=>ln,foundationMenu:()=>$n,foundationMenuItem:()=>Tn,foundationMenuItemShadowOptions:()=>_n,foundationMenuItemStyles:()=>Dn,foundationMenuItemTemplate:()=>Cn,foundationMenuShadowOptions:()=>Fn,foundationMenuStyles:()=>yn,foundationMenuTemplate:()=>wn,foundationModal:()=>Mn,foundationModalShadowOptions:()=>Rn,foundationModalStyles:()=>Ln,foundationModalTemplate:()=>An,foundationMultiselect:()=>Un,foundationMultiselectShadowOptions:()=>zn,foundationNotificationListener:()=>ad,foundationNotificationListenerShadowOptions:()=>od,foundationNotificationListenerTemplate:()=>Yl,foundationNumberField:()=>Kn,foundationNumberFieldShadowOptions:()=>Xn,foundationNumberFieldStyles:()=>Yn,foundationNumberFieldTemplate:()=>Wn,foundationPopper:()=>is,foundationProgress:()=>ds,foundationProgressRing:()=>fs,foundationProgressRingShadowOptions:()=>hs,foundationProgressRingStyles:()=>cs,foundationProgressRingTemplate:()=>us,foundationProgressShadowOptions:()=>rs,foundationProgressStyles:()=>as,foundationProgressTemplate:()=>ns,foundationRadio:()=>xs,foundationRadioGroup:()=>Os,foundationRadioGroupShadowOptions:()=>Ds,foundationRadioGroupStyles:()=>Fs,foundationRadioGroupTemplate:()=>Ss,foundationRadioShadowOptions:()=>ys,foundationRadioStyles:()=>vs,foundationRadioTemplate:()=>gs,foundationSegmentedControl:()=>Rs,foundationSegmentedControlShadowOptions:()=>Ls,foundationSegmentedControlStyles:()=>_s,foundationSegmentedControlTemplate:()=>ks,foundationSegmentedItem:()=>Ps,foundationSegmentedItemShadowOptions:()=>Is,foundationSegmentedItemStyles:()=>Ns,foundationSegmentedItemTemplate:()=>Es,foundationSelect:()=>Us,foundationSelectShadowOptions:()=>Gs,foundationSelectStyles:()=>js,foundationSelectTemplate:()=>Bs,foundationSkeleton:()=>Ks,foundationSkeletonShadowOptions:()=>Xs,foundationSkeletonStyles:()=>Ys,foundationSkeletonTemplate:()=>Ws,foundationSlider:()=>nr,foundationSliderLabel:()=>ur,foundationSliderLabelShadowOptions:()=>dr,foundationSliderLabelStyles:()=>sr,foundationSliderLabelTemplate:()=>rr,foundationSliderShadowOptions:()=>ir,foundationSliderStyles:()=>Js,foundationSliderTemplate:()=>tr,foundationSnackbar:()=>vr,foundationSnackbarShadowOptions:()=>mr,foundationSnackbarStyles:()=>pr,foundationSnackbarTemplate:()=>hr,foundationSwitch:()=>Fr,foundationSwitchShadowOptions:()=>wr,foundationSwitchStyles:()=>gr,foundationSwitchTemplate:()=>br,foundationTab:()=>_r,foundationTabPanel:()=>Nr,foundationTabPanelShadowOptions:()=>Ar,foundationTabPanelStyles:()=>kr,foundationTabPanelTemplate:()=>Tr,foundationTabShadowOptions:()=>Cr,foundationTabStyles:()=>Sr,foundationTabTemplate:()=>$r,foundationTabs:()=>jr,foundationTabsShadowOptions:()=>Hr,foundationTabsStyles:()=>Er,foundationTabsTemplate:()=>Mr,foundationTextArea:()=>Yr,foundationTextAreaShadowOptions:()=>Vr,foundationTextAreaStyles:()=>Br,foundationTextAreaTemplate:()=>zr,foundationTextField:()=>Jr,foundationTextFieldShadowOptions:()=>Zr,foundationTextFieldStyles:()=>Wr,foundationTextFieldTemplate:()=>qr,foundationToast:()=>al,foundationToastShadowOptions:()=>tl,foundationToastStyles:()=>Qr,foundationToastTemplate:()=>el,foundationToolbar:()=>cl,foundationToolbarShadowOptions:()=>ll,foundationToolbarStyles:()=>nl,foundationToolbarTemplate:()=>sl,foundationTooltip:()=>vl,foundationTooltipShadowOptions:()=>ml,foundationTooltipStyles:()=>ul,foundationTooltipTemplate:()=>pl,foundationTreeItem:()=>Fl,foundationTreeItemShadowOptions:()=>wl,foundationTreeItemStyles:()=>gl,foundationTreeItemTemplate:()=>bl,foundationTreeView:()=>_l,foundationTreeViewShadowOptions:()=>Cl,foundationTreeViewStyles:()=>Sl,foundationTreeViewTemplate:()=>$l,foundationUrlInput:()=>Nl,foundationUrlInputShadowOptions:()=>Ll,foundationUrlInputStyles:()=>kl,fuiAccentPalette:()=>Et,fuiAccentSwatch:()=>Nt,fuiCardFillColor:()=>Ht,fuiCardForegroundColor:()=>Bt,fuiDefaultCardFillColor:()=>_t,fuiDefaultCardPalette:()=>kt,fuiFillColor:()=>It,fuiNeutralPalette:()=>At,fuiNeutralSwatch:()=>Lt,getDefaultConfig:()=>qt,getDropdownMenuTemplate:()=>Io,getErrorDialogTemplate:()=>di,getExports:()=>Xt,getFontawesomeIconsCss:()=>Ja,getPrefixedFileUpload:()=>Di,getPrefixedMultiselect:()=>jn,getTypeRampValue:()=>Zt,jsonConverter:()=>Qn,mapType:()=>Qi,maxheight:()=>Hn,media:()=>G,menuTemplate:()=>$,mixinFoundationFontFamily:()=>no,multiselectStyles:()=>Pn,multiselectTemplate:()=>Bn,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:()=>Qt,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:()=>Yt,provideDesignSystem:()=>Il,provideTokens:()=>Gt,registerFoundationDesignSystem:()=>pd,singleOptionTemplate:()=>D,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>Ut,tagFor:()=>dd,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:()=>_i,urlinputTemplate:()=>Tl,white:()=>St});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:()=>Pt,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:()=>Ht,fuiCardForegroundColor:()=>Bt,fuiFillColor:()=>It,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:()=>Jt,baseLayerLuminanceValue:()=>eo,controlCornerRadiusValue:()=>oo,designUnitValue:()=>io,directionValue:()=>to,neutralPaletteValue:()=>Qt});var n=o(75951),s=o(13896),r=o(83147);const l=(e,t)=>r.css`
|
|
3
3
|
${(0,s.accordionStyles)(e,t)}
|
|
4
4
|
`,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:l,shadowOptions:u},p)),m=(e,t)=>r.css`
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
</foundation-button>
|
|
734
734
|
`)}
|
|
735
735
|
</foundation-banner>
|
|
736
|
-
`,Go={mode:"open",delegatesFocus:!0};class Vo extends n.FoundationElement{connectedCallback(){super.connectedCallback()}dismiss(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{yield this.banner.dismiss(),this.remove()}catch(e){Bo.error(e)}}))}}(0,w.__decorate)([r.observable],Vo.prototype,"error",void 0);const Uo=Vo.compose({baseName:"error-banner",template:zo,shadowOptions:Go});var Yo,Wo=o(
|
|
736
|
+
`,Go={mode:"open",delegatesFocus:!0};class Vo extends n.FoundationElement{connectedCallback(){super.connectedCallback()}dismiss(){return(0,w.__awaiter)(this,void 0,void 0,(function*(){try{yield this.banner.dismiss(),this.remove()}catch(e){Bo.error(e)}}))}}(0,w.__decorate)([r.observable],Vo.prototype,"error",void 0);const Uo=Vo.compose({baseName:"error-banner",template:zo,shadowOptions:Go});var Yo,Wo=o(6852);!function(e){e.ERROR_BOUNDARY_EVENT="error-boundary-event"}(Yo||(Yo={}));const qo=e=>{var t,o;return`${null!==(t=null==e?void 0:e.title)&&void 0!==t?t:"Error"}: ${null!==(o=null==e?void 0:e.errorDetails)&&void 0!==o?o:"Something went wrong"}`},Xo=(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},Zo=()=>{const e=document.createElement("div");return e.setAttribute("id","error-banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},Ko=(e,t)=>{var o,i,a,n,s,r,l,d,c,u,p,h,m;const f=t.split("-")[0],v=Xo("notify-container",t);if(v)switch(v.style.position="fixed",null===(i=null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.notification)||void 0===i?void 0:i.position){case"top-left":v.style.top="0",v.style.left="0";break;case"bottom-left":v.style.bottom="0",v.style.left="0";break;case"bottom-right":v.style.bottom="0",v.style.right="0";break;default:v.style.top="0",v.style.right="0"}const g=document.createElement(`${f}-toast`),b=document.createElement("div");b.setAttribute("slot","top"),b.textContent=null!==(a=e.title)&&void 0!==a?a:"Error";const y=document.createElement("div");y.setAttribute("slot","content"),y.textContent=(null==e?void 0:e.errorDetails)||"";const w=document.createElement("div");w.setAttribute("slot","date"),w.textContent=(new Date).toLocaleTimeString(),g.setAttribute("notify",(null===(s=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.notification)||void 0===s?void 0:s.type)||""),(null===(l=null===(r=null==e?void 0:e.config)||void 0===r?void 0:r.notification)||void 0===l?void 0:l.autoClose)&&g.setAttribute("auto-close",`${null===(c=null===(d=null==e?void 0:e.config)||void 0===d?void 0:d.notification)||void 0===c?void 0:c.autoClose}`),(null===(p=null===(u=null==e?void 0:e.config)||void 0===u?void 0:u.notification)||void 0===p?void 0:p.closeTimeout)&&g.setAttribute("close-timeout",`${null===(m=null===(h=null==e?void 0:e.config)||void 0===h?void 0:h.notification)||void 0===m?void 0:m.closeTimeout}`),g.appendChild(b),g.appendChild(y),g.appendChild(w),v.appendChild(g)},Jo=(0,zt.createLogger)("foundation-error"),Qo={alert:e=>{alert(qo(e))},notification:Ko,dialog:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-error-dialog`);Xo("dialog-container",t).appendChild(i),i.error=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Xo("snack-container",t).appendChild(i),i.error=e},banner:(e,t,o)=>{var i;const a=t.split("-")[0],n=document.createElement(`${a}-error-banner`),s=(e=>{for(var t,o;e&&!(e instanceof ShadowRoot);){const i=null===(t=null==e?void 0:e.getRootNode())||void 0===t?void 0:t.getElementById("error-banner-anchor");if(i)return i.style.position="relative",i;e=null===(o=null==e?void 0:e.getRootNode())||void 0===o?void 0:o.host}return Zo()})(o);(null===(i=null==s?void 0:s.children)||void 0===i?void 0:i.length)>0&&(n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%"),s.appendChild(n),n.error=e}},ei=(e,t,o)=>{var i,a;Jo.log({message:qo(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)||zt.LogLevel.Error)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Qo[i]&&Qo[i](e,t,o)}))};class ti{withTitle(e){return this.title=e,this}withErrorDetails(e){return this.errorDetails=e,this}withLogLevel(e){return this.logLevel=e,this}withAlert(e){return this.alert=e,this}withNotification(e){return this.notification=e,this}withBanner(e){return this.banner=e,this}withSnackbar(e){return this.snackbar=e,this}withDialog(e){return this.dialog=e,this}build(){if(!this.title)throw new Error("Title is required");if(!this.errorDetails)throw new Error("Missing required param 'errorDetails'");let e={title:this.title,errorDetails:this.errorDetails},t={};return this.logLevel in zt.LogLevel&&(e=Object.assign({logLevel:this.logLevel},e)),this.alert&&(t=Object.assign({alert:this.alert},t),e=Object.assign({config:t},e)),this.notification&&(t=Object.assign({notification:this.notification},t),e=Object.assign({config:t},e)),this.banner&&(t=Object.assign({banner:this.banner},t),e=Object.assign({config:t},e)),this.snackbar&&(t=Object.assign({snackbar:this.snackbar},t),e=Object.assign({config:t},e)),this.dialog&&(t=Object.assign({dialog:this.dialog},t),e=Object.assign({config:t},e)),e}}const oi=()=>new ti;class ii{withPosition(e){return this.position=e,this}withAutoClose(e){return this.autoClose=e,this}withCloseTimeout(e){return this.closeTimeout=e,this}withType(e){return this.type=e,this}build(){let e={};return this.position&&(e=Object.assign({position:this.position},e)),this.autoClose&&(e=Object.assign({autoClose:this.autoClose},e)),this.closeTimeout&&(e=Object.assign({closeTimeout:this.closeTimeout},e)),this.type&&(e=Object.assign({type:this.type},e)),e}}const ai=r.html`
|
|
737
737
|
<template ${(0,r.ref)("errorBoundary")}>
|
|
738
738
|
<slot></slot>
|
|
739
739
|
</template>
|
|
@@ -2246,4 +2246,4 @@
|
|
|
2246
2246
|
<slot></slot>
|
|
2247
2247
|
</template>
|
|
2248
2248
|
`;var Wl;!function(e){e.NOTIFICATION_EVENT="notification-event"}(Wl||(Wl={}));const ql=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"}`},Xl=(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},Zl=()=>{const e=document.createElement("div");return e.setAttribute("id","banner-anchor"),e.style.position="relative",document.body.insertBefore(e,document.body.firstChild),e},Kl=(0,zt.createLogger)("foundation-notifications"),Jl={alert:e=>{alert(ql(e))},toast:(e,t)=>{var o,i,a,n,s,r,l,d,c,u,p,h,m,f,v,g,b,y;const w=t.split("-")[0],x=Xl("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===(l=null===(r=null==e?void 0:e.config)||void 0===r?void 0:r.toast)||void 0===l?void 0:l.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===(f=null===(m=null==e?void 0:e.config)||void 0===m?void 0:m.toast)||void 0===f?void 0:f.autoClose}`),(null===(g=null===(v=null==e?void 0:e.config)||void 0===v?void 0:v.toast)||void 0===g?void 0:g.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`);Xl("dialog-container",t).appendChild(i),i.notification=e,i.show()},snackbar:(e,t)=>{const o=t.split("-")[0],i=document.createElement(`${o}-snackbar`);Xl("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 Zl()})(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}},Ql=(e,t,o)=>{var i,a;Kl.log({message:ql(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)||zt.LogLevel.Debug)});Object.keys((null==e?void 0:e.config)||{}).forEach((i=>{Jl[i]&&Jl[i](e,t,o)}))};class ed{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 zt.LogLevel&&(e=Object.assign({logLevel:this.logLevel},e)),this.alert&&(t=Object.assign({alert:this.alert},t),e=Object.assign({config:t},e)),this.toast&&(t=Object.assign({toast:this.toast},t),e=Object.assign({config:t},e)),this.banner&&(t=Object.assign({banner:this.banner},t),e=Object.assign({config:t},e)),this.snackbar&&(t=Object.assign({snackbar:this.snackbar},t),e=Object.assign({config:t},e)),this.dialog&&(t=Object.assign({dialog:this.dialog},t),e=Object.assign({config:t},e)),e}}class td{withPosition(e){return this.position=e,this}withAutoClose(e){return this.autoClose=e,this}withCloseTimeout(e){return this.closeTimeout=e,this}withType(e){return this.type=e,this}withDetails(e){return this.details=e,this}withButtons(e){return this.buttons=e,this}build(){let e={};return this.position&&(e=Object.assign({position:this.position},e)),this.autoClose&&(e=Object.assign({autoClose:this.autoClose},e)),this.closeTimeout&&(e=Object.assign({closeTimeout:this.closeTimeout},e)),this.type&&(e=Object.assign({type:this.type},e)),this.details&&(e=Object.assign({details:this.details},e)),this.buttons&&(e=Object.assign({buttons:this.buttons},e)),e}}const od={mode:"open",delegatesFocus:!0};class id extends n.FoundationElement{constructor(){super(...arguments),this.logger=(0,zt.createLogger)("notification-listener"),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(Wl.NOTIFICATION_EVENT,(e=>{e.stopImmediatePropagation(),Ql(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=>{var t,o;if(!e.ROW)return;const i=null==e?void 0:e.ROW[0];if(e.SEQUENCE_ID>1&&"INSERT"===i.DETAILS.OPERATION){const e=i.HEADER,a=i.MESSAGE,n=null===(t=i.NOTIFY_SEVERITY)||void 0===t?void 0:t.toLowerCase(),s=i.CREATED_AT?new Date(i.CREATED_AT):void 0,r=i.EXPIRY?i.EXPIRY-i.CREATED_AT:0;let l=[];this.toastButtons&&this.toastButtons.length>0&&(l=this.toastButtons.filter((({condition:e})=>!e||e({details:i})))),Ql((new ed).withTitle(e).withBody(a).withCreatedAt(s).withToast((new td).withDetails(i).withType(n).withButtons(l).withAutoClose(null!==(o=!!r)&&void 0!==o?o:!!this.closeTimeout).withCloseTimeout(null!=r?r:this.closeTimeout).build()).build(),this.tagName,this.notificationListener)}})))}))}}(0,w.__decorate)([r.observable],id.prototype,"notificationListener",void 0),(0,w.__decorate)([(0,r.attr)({attribute:"resource-name"})],id.prototype,"resourceName",void 0),(0,w.__decorate)([(0,r.attr)({attribute:"close-timeout",converter:r.nullableNumberConverter})],id.prototype,"closeTimeout",void 0),(0,w.__decorate)([r.observable],id.prototype,"toastButtons",void 0),(0,w.__decorate)([Wo.Yh],id.prototype,"datasource",void 0);const ad=id.compose({baseName:"notification-listener",template:Yl,shadowOptions:od});var nd;let sd=nd=class extends Vl{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||Bo.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 nd||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:"";r.DOM.queueUpdate((()=>{this.select.value=i}))}handleStreamInserts(e){Bo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){Bo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){Bo.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,r.attr)({attribute:"label-field"})],sd.prototype,"labelField",void 0),(0,w.__decorate)([(0,r.attr)({attribute:"value-field"})],sd.prototype,"valueField",void 0),(0,w.__decorate)([r.observable],sd.prototype,"labelFormatter",void 0),sd=nd=(0,w.__decorate)([(0,r.customElement)({name:"options-datasource"})],sd);let rd=class extends Vl{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||Bo.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){Bo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){Bo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){Bo.debug("handleStreamUpdates - Method not implemented.")}};(0,w.__decorate)([(0,r.attr)({attribute:"value-field"})],rd.prototype,"valueField",void 0),(0,w.__decorate)([(0,r.attr)({attribute:"label-field"})],rd.prototype,"labelField",void 0),rd=(0,w.__decorate)([(0,r.customElement)({name:"multiselect-datasource"})],rd);const ld=(e,t)=>o=>{const i="function"==typeof t?t:(a=t,e=>Object.assign(Object.assign({},a),e));var a;return r.FASTElement.define(class extends e{},i(o))};function dd(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=r.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}var cd=o(1279);let ud=class extends(cd.F0.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,w.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};ud=(0,w.__decorate)([(0,r.customElement)({name:"foundation-router"})],ud);const pd=()=>Il().register(El)},19082:(e,t,o)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)e[i]=o[i]}return e}o.d(t,{Z:()=>a});var a=function e(t,o){function a(e,a,n){if("undefined"!=typeof document){"number"==typeof(n=i({},o,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var r in n)n[r]&&(s+="; "+r,!0!==n[r]&&(s+="="+n[r].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+s}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var o=document.cookie?document.cookie.split("; "):[],i={},a=0;a<o.length;a++){var n=o[a].split("="),s=n.slice(1).join("=");try{var r=decodeURIComponent(n[0]);if(i[r]=t.read(s,r),e===r)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){a(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);
|
|
2249
|
-
//# sourceMappingURL=521.
|
|
2249
|
+
//# sourceMappingURL=521.e78a43865288390301bbba5b096e7754.js.map
|