@livetiles/reach-components-react 0.4.0-preview.255 → 0.4.0-preview.256
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/FilterContext.d.ts +1 -1
- package/KeywordsFilter.d.ts +4 -1
- package/da.async.esm.esm.js +1 -1
- package/de.async.esm.esm.js +1 -1
- package/es.async.esm.esm.js +1 -1
- package/fr.async.esm.esm.js +1 -1
- package/index.d.ts +5 -2
- package/index.esm.js +1 -1
- package/index.esm2.js +94 -65
- package/index.umd.js +103 -73
- package/it.async.esm.esm.js +1 -1
- package/ja.async.esm.esm.js +1 -1
- package/package.json +1 -1
- package/tr.async.esm.esm.js +1 -1
- package/zh-CN.async.esm.esm.js +1 -1
- package/zh-TW.async.esm.esm.js +1 -1
package/index.umd.js
CHANGED
|
@@ -83737,8 +83737,8 @@
|
|
|
83737
83737
|
componentId: "sc-1vovywb-0"
|
|
83738
83738
|
})(templateObject_1$n$2 || (templateObject_1$n$2 = __makeTemplateObject$1(["\n margin-bottom: ", "px;\n"], ["\n margin-bottom: ", "px;\n"])), spacingM);
|
|
83739
83739
|
|
|
83740
|
-
_styled.createGlobalStyle(templateObject_2$i$
|
|
83741
|
-
var templateObject_1$n$2, templateObject_2$i$
|
|
83740
|
+
_styled.createGlobalStyle(templateObject_2$i$2 || (templateObject_2$i$2 = __makeTemplateObject$1(["\n [data-detail-page-container] {\n [data-content-toolbar] {\n @media (max-width: ", "px) {\n margin-top: ", "px;\n }\n }\n }\n"], ["\n [data-detail-page-container] {\n [data-content-toolbar] {\n @media (max-width: ", "px) {\n margin-top: ", "px;\n }\n }\n }\n"])), minScreenSize.large, spacingM);
|
|
83741
|
+
var templateObject_1$n$2, templateObject_2$i$2; // todo: Apply this to all pages and make sure it works in IE
|
|
83742
83742
|
|
|
83743
83743
|
_styled__default["default"].p.withConfig({
|
|
83744
83744
|
displayName: "PageDescription",
|
|
@@ -87357,9 +87357,9 @@
|
|
|
87357
87357
|
}), void 0);
|
|
87358
87358
|
};
|
|
87359
87359
|
|
|
87360
|
-
var version$1 = "0.4.0-preview.
|
|
87361
|
-
var buildId = "
|
|
87362
|
-
var commitId = "
|
|
87360
|
+
var version$1 = "0.4.0-preview.256";
|
|
87361
|
+
var buildId = "99547";
|
|
87362
|
+
var commitId = "8c338ee84e3ed356fec26c98532e6eaa22592550";
|
|
87363
87363
|
var isCustomerBuild = false;
|
|
87364
87364
|
var buildInfo = {
|
|
87365
87365
|
version: version$1,
|
|
@@ -131765,7 +131765,7 @@
|
|
|
131765
131765
|
props.onChanged(newDate.toISOString(),validationResult.isInRange);}function handleDateChange(newDate){if(timeField.current){// note: focus event is ignored/not propagated without setTimeout
|
|
131766
131766
|
setTimeout(function(){return timeField.current.focus();},0);}if(!newDate){handleChange(null);}else {// include the current time component when triggering a change.
|
|
131767
131767
|
// newDate is only a Date without time.
|
|
131768
|
-
var newDateOnly=moment(newDate);var timeInMilliseconds=0;if(props.date){var oldDateWithTime=moment(props.date);timeInMilliseconds=oldDateWithTime.diff(oldDateWithTime.clone().startOf('day'));}handleChange(newDateOnly.startOf('day').add(timeInMilliseconds,'ms'));}}function handleTimeBlur(timeString){var newTime=timeString||'00:00';var initialTime=getTime(props.date);if(newTime===initialTime){return;}setTimeHasFocus(false);var timeToday=moment(newTime,'HH:mm');if(!timeToday.isValid()){setTimeErrorMessageResourceKey('DateTimePicker.invalidTime');return;}setTime(timeToday.format('HH:mm'));if(props.date==null){handleChange(timeToday);}else {var timeInMilliseconds=timeToday.diff(moment().startOf('day'));var newValue=moment(props.date).startOf('day').add(timeInMilliseconds,'ms');handleChange(newValue);}}function setTimeError(result){if(result.isInRange||!result.isSameDay){setTimeErrorMessageResourceKey(null);return;}setTimeErrorMessageResourceKey(props.timeValidationResourceKey||props.dateValidationResourceKey);}function isDateTimeInRange(newValue){if(!newValue||!props.minDate&&!props.maxDate){return {isInRange:true,isSameDay:true};}return {isInRange:(!props.minDate||moment(props.minDate).unix()<newValue.unix())&&(!props.maxDate||newValue.unix()<moment(props.maxDate).unix()),isSameDay:isSameDay(newValue,props.minDate||props.maxDate)};}function isSameDay(momentDateTime,otherTime){return momentDateTime&&otherTime&&momentDateTime.isSame(otherTime,'day');}};var IEButtonFix=_styled.createGlobalStyle(templateObject_1$r$1||(templateObject_1$r$1=__makeTemplateObject(["\n .browser-name-ie {\n button.ms-DatePicker-goToday {\n left: 15px;\n }\n }\n"],["\n .browser-name-ie {\n button.ms-DatePicker-goToday {\n left: 15px;\n }\n }\n"])));var GlobalDatePickerStyle=_styled.createGlobalStyle(templateObject_2$l||(templateObject_2$l=__makeTemplateObject(["\n button.ms-DatePicker-day--today {\n background: "," !important;\n }\n"],["\n button.ms-DatePicker-day--today {\n background: "," !important;\n }\n"])),function(p){return p.theme.palette.accent;});var Host$a$1=_styled__default["default"].div.withConfig({displayName:"DateTimePicker__Host",componentId:"sc-zzs3p0-0"})(templateObject_3$f||(templateObject_3$f=__makeTemplateObject(["\n .ms-TextField {\n &.is-disabled {\n opacity: 0.5;\n }\n &-field {\n ","\n }\n\n > &-wrapper {\n > &-fieldGroup {\n background: none;\n > i {\n color: initial;\n }\n }\n }\n }\n\n .ms-TextField:not(:first-of-type) {\n margin-top: 5px;\n }\n"],["\n .ms-TextField {\n &.is-disabled {\n opacity: 0.5;\n }\n &-field {\n ","\n }\n\n > &-wrapper {\n > &-fieldGroup {\n background: none;\n > i {\n color: initial;\n }\n }\n }\n }\n\n .ms-TextField:not(:first-of-type) {\n margin-top: 5px;\n }\n"])),InputPlaceholder("\n color: inherit;\n font-style: italic;\n "));var templateObject_1$r$1,templateObject_2$l,templateObject_3$f;var DateRange;(function(DateRange){DateRange[DateRange["TwoYears"]=0]="TwoYears";DateRange[DateRange["OneYear"]=1]="OneYear";DateRange[DateRange["SixMonths"]=2]="SixMonths";DateRange[DateRange["TwoMonths"]=3]="TwoMonths";DateRange[DateRange["OneMonth"]=4]="OneMonth";DateRange[DateRange["SevenDays"]=5]="SevenDays";DateRange[DateRange["YesterDay"]=6]="YesterDay";DateRange[DateRange["Today"]=7]="Today";})(DateRange||(DateRange={}));Object.keys(DateRange).length/2-1;_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Host",componentId:"sc-1o5vacm-0"})(templateObject_1$q$1||(templateObject_1$q$1=__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n .ms-Slider {\n margin-bottom: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n .ms-Slider {\n margin-bottom: 0;\n }\n"])));_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Value",componentId:"sc-1o5vacm-1"})(templateObject_2$k||(templateObject_2$k=__makeTemplateObject(["\n align-self: flex-end;\n margin-right: 10px;\n"],["\n align-self: flex-end;\n margin-right: 10px;\n"])));_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Labels",componentId:"sc-1o5vacm-2"})(templateObject_3$e$1||(templateObject_3$e$1=__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin: 0px 10px;\n"],["\n display: flex;\n justify-content: space-between;\n margin: 0px 10px;\n"])));var templateObject_1$q$1,templateObject_2$k,templateObject_3$e$1;_styled__default["default"](IconButton).withConfig({displayName:"ExternalNewsLinkButton__StyledIconButton",componentId:"sc-txzoyq-0"})(templateObject_1$p$1||(templateObject_1$p$1=__makeTemplateObject(["\n && {\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n &[disabled] {\n background-color: transparent;\n }\n }\n"],["\n && {\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n &[disabled] {\n background-color: transparent;\n }\n }\n"])));var templateObject_1$p$1;_styled__default["default"].div.withConfig({displayName:"CardStyles__Host",componentId:"sc-ovm8js-0"})(templateObject_1$o$1||(templateObject_1$o$1=__makeTemplateObject(["\n display: block;\n padding: 0 ","px ","px ","px;\n flex: 1 1 auto;\n\n &:not([data-banner='image']) {\n position: relative;\n }\n"],["\n display: block;\n padding: 0 ","px ","px ","px;\n flex: 1 1 auto;\n\n &:not([data-banner='image']) {\n position: relative;\n }\n"])),spacingM,spacingM,spacingM);var Intro$3=_styled__default["default"].p.withConfig({displayName:"CardStyles__Intro",componentId:"sc-ovm8js-1"})(templateObject_2$j||(templateObject_2$j=__makeTemplateObject(["\n margin: 0;\n font-size: ","px;\n margin-top: ","px;\n"],["\n margin: 0;\n font-size: ","px;\n margin-top: ","px;\n"])),fontSizeSmall,spacingM-3);var templateObject_1$o$1,templateObject_2$j;_styled__default["default"].p.withConfig({displayName:"NewsCard__Headline",componentId:"sc-rf9b9y-0"})(templateObject_1$n$1||(templateObject_1$n$1=__makeTemplateObject(["\n font-size: ","px;\n font-weight: bold;\n"],["\n font-size: ","px;\n font-weight: bold;\n"])),fontSizeSmall);_styled__default["default"].h2.withConfig({displayName:"NewsCard__Title",componentId:"sc-rf9b9y-1"})(templateObject_2$i||(templateObject_2$i=__makeTemplateObject(["\n display: inline-block;\n & + .card-metaInfo {\n padding-top: ","px !important;\n }\n"],["\n display: inline-block;\n & + .card-metaInfo {\n padding-top: ","px !important;\n }\n"])),spacingS);_styled__default["default"](ReactRouterDom.NavLink).withConfig({displayName:"NewsCard__StyledNavLink",componentId:"sc-rf9b9y-2"})(templateObject_3$d$1||(templateObject_3$d$1=__makeTemplateObject(["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"],["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"])),function(p){return p.theme.textColors.default;});_styled__default["default"].div.withConfig({displayName:"NewsCard__MetaInfo",componentId:"sc-rf9b9y-3"})(templateObject_4$8$1||(templateObject_4$8$1=__makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));_styled__default["default"](ClickableChannelTitles).withConfig({displayName:"NewsCard__Channels",componentId:"sc-rf9b9y-4"})(templateObject_5$7$1||(templateObject_5$7$1=__makeTemplateObject(["\n display: contents;\n"],["\n display: contents;\n"])));var templateObject_1$n$1,templateObject_2$i,templateObject_3$d$1,templateObject_4$8$1,templateObject_5$7$1;_styled__default["default"].div.withConfig({displayName:"EmptyChannelsView__Host",componentId:"sc-b5s0oy-0"})(templateObject_1$m$1||(templateObject_1$m$1=__makeTemplateObject(["\n color: ",";\n text-align: center;\n display: flex;\n flex-direction: column;\n\n > p {\n font-size: 14px;\n margin: 0;\n padding: 3px 0;\n }\n"],["\n color: ",";\n text-align: center;\n display: flex;\n flex-direction: column;\n\n > p {\n font-size: 14px;\n margin: 0;\n padding: 3px 0;\n }\n"])),function(p){return p.theme.palette.neutralTertiary;});_styled__default["default"](officeUiFabricReact.Icon).withConfig({displayName:"EmptyChannelsView__StyledIcon",componentId:"sc-b5s0oy-1"})(templateObject_2$h$1||(templateObject_2$h$1=__makeTemplateObject(["\n font-size: 100px;\n padding: 30px 0;\n"],["\n font-size: 100px;\n padding: 30px 0;\n"])));var templateObject_1$m$1,templateObject_2$h$1;_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__Host",componentId:"sc-drndfq-0"})(templateObject_1$l$1||(templateObject_1$l$1=__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__Alert",componentId:"sc-drndfq-1"})(templateObject_2$g$1||(templateObject_2$g$1=__makeTemplateObject(["\n display: flex;\n background-color: white;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n cursor: pointer;\n width: 100%;\n margin-bottom: 10px;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n"],["\n display: flex;\n background-color: white;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n cursor: pointer;\n width: 100%;\n margin-bottom: 10px;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__AlertIconOuterContainer",componentId:"sc-drndfq-2"})(templateObject_3$c$1||(templateObject_3$c$1=__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__IconContainer",componentId:"sc-drndfq-3"})(templateObject_4$7$1||(templateObject_4$7$1=__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n min-height: 50px;\n height: 100%;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n min-height: 50px;\n height: 100%;\n"])));_styled__default["default"](officeUiFabricReact.Icon).withConfig({displayName:"PromotedNewsItem__StyledIcon",componentId:"sc-drndfq-4"})(templateObject_5$6$1||(templateObject_5$6$1=__makeTemplateObject(["\n font-size: 25px;\n color: white;\n"],["\n font-size: 25px;\n color: white;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__ContentContainer",componentId:"sc-drndfq-5"})(templateObject_6$3$1||(templateObject_6$3$1=__makeTemplateObject(["\n display: flex;\n width: 100%;\n"],["\n display: flex;\n width: 100%;\n"])));_styled__default["default"](DateTime).withConfig({displayName:"PromotedNewsItem__StyledDate",componentId:"sc-drndfq-6"})(templateObject_7$2$1||(templateObject_7$2$1=__makeTemplateObject(["\n font-size: 0.9em;\n color: #666;\n margin-left: 20px;\n min-width: 150px;\n\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n font-size: 0.9em;\n color: #666;\n margin-left: 20px;\n min-width: 150px;\n\n @media (max-width: ","px) {\n display: none;\n }\n"])),maxScreenSize.small);_styled__default["default"].h2.withConfig({displayName:"PromotedNewsItem__Title",componentId:"sc-drndfq-7"})(templateObject_8$2$1||(templateObject_8$2$1=__makeTemplateObject(["\n font-size: 1.1em;\n margin-top: 0;\n margin-bottom: 0;\n max-width: 1000px;\n\n @media (max-width: ","px) {\n max-width: 700px;\n }\n\n @media (max-width: ","px) {\n max-width: 450px;\n }\n\n @media (max-width: ","px) {\n max-width: 300px;\n }\n\n @media (max-width: ","px) {\n margin-left: 20px;\n max-width: 280px;\n }\n"],["\n font-size: 1.1em;\n margin-top: 0;\n margin-bottom: 0;\n max-width: 1000px;\n\n @media (max-width: ","px) {\n max-width: 700px;\n }\n\n @media (max-width: ","px) {\n max-width: 450px;\n }\n\n @media (max-width: ","px) {\n max-width: 300px;\n }\n\n @media (max-width: ","px) {\n margin-left: 20px;\n max-width: 280px;\n }\n"])),maxScreenSize.xLarge,maxScreenSize.large,maxScreenSize.medium,maxScreenSize.small);_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__BookmarkContainer",componentId:"sc-drndfq-8"})(templateObject_9$2$1||(templateObject_9$2$1=__makeTemplateObject(["\n margin-right: 10px;\n align-self: flex-end;\n padding-bottom: 10px;\n"],["\n margin-right: 10px;\n align-self: flex-end;\n padding-bottom: 10px;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__TextContainer",componentId:"sc-drndfq-9"})(templateObject_10$1$1||(templateObject_10$1$1=__makeTemplateObject(["\n display: flex;\n width: 100%;\n align-items: center;\n padding: 10px 0;\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n padding: 10px 0;\n"])));var templateObject_1$l$1,templateObject_2$g$1,templateObject_3$c$1,templateObject_4$7$1,templateObject_5$6$1,templateObject_6$3$1,templateObject_7$2$1,templateObject_8$2$1,templateObject_9$2$1,templateObject_10$1$1;function useTranslateApi(){var api=useApi();return React$d.useMemo(function(){return {translateContents:translateContents};function translateContents(type,itemId,language){return api.custom(type+"/"+itemId+"/contents/"+language).get().then(function(res){return res.body().data();});}},[api]);}var $$1$1=_export;var getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f;var toLength$2=toLength$b;var notARegExp=notARegexp;var requireObjectCoercible$d=requireObjectCoercible$c;var correctIsRegExpLogic=correctIsRegexpLogic;var nativeEndsWith=''.endsWith;var min=Math.min;var CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic('endsWith');// https://github.com/zloirock/core-js/pull/702
|
|
131768
|
+
var newDateOnly=moment(newDate);var timeInMilliseconds=0;if(props.date){var oldDateWithTime=moment(props.date);timeInMilliseconds=oldDateWithTime.diff(oldDateWithTime.clone().startOf('day'));}handleChange(newDateOnly.startOf('day').add(timeInMilliseconds,'ms'));}}function handleTimeBlur(timeString){var newTime=timeString||'00:00';var initialTime=getTime(props.date);if(newTime===initialTime){return;}setTimeHasFocus(false);var timeToday=moment(newTime,'HH:mm');if(!timeToday.isValid()){setTimeErrorMessageResourceKey('DateTimePicker.invalidTime');return;}setTime(timeToday.format('HH:mm'));if(props.date==null){handleChange(timeToday);}else {var timeInMilliseconds=timeToday.diff(moment().startOf('day'));var newValue=moment(props.date).startOf('day').add(timeInMilliseconds,'ms');handleChange(newValue);}}function setTimeError(result){if(result.isInRange||!result.isSameDay){setTimeErrorMessageResourceKey(null);return;}setTimeErrorMessageResourceKey(props.timeValidationResourceKey||props.dateValidationResourceKey);}function isDateTimeInRange(newValue){if(!newValue||!props.minDate&&!props.maxDate){return {isInRange:true,isSameDay:true};}return {isInRange:(!props.minDate||moment(props.minDate).unix()<newValue.unix())&&(!props.maxDate||newValue.unix()<moment(props.maxDate).unix()),isSameDay:isSameDay(newValue,props.minDate||props.maxDate)};}function isSameDay(momentDateTime,otherTime){return momentDateTime&&otherTime&&momentDateTime.isSame(otherTime,'day');}};var IEButtonFix=_styled.createGlobalStyle(templateObject_1$r$1||(templateObject_1$r$1=__makeTemplateObject(["\n .browser-name-ie {\n button.ms-DatePicker-goToday {\n left: 15px;\n }\n }\n"],["\n .browser-name-ie {\n button.ms-DatePicker-goToday {\n left: 15px;\n }\n }\n"])));var GlobalDatePickerStyle=_styled.createGlobalStyle(templateObject_2$l||(templateObject_2$l=__makeTemplateObject(["\n button.ms-DatePicker-day--today {\n background: "," !important;\n }\n"],["\n button.ms-DatePicker-day--today {\n background: "," !important;\n }\n"])),function(p){return p.theme.palette.accent;});var Host$a$1=_styled__default["default"].div.withConfig({displayName:"DateTimePicker__Host",componentId:"sc-zzs3p0-0"})(templateObject_3$f||(templateObject_3$f=__makeTemplateObject(["\n .ms-TextField {\n &.is-disabled {\n opacity: 0.5;\n }\n &-field {\n ","\n }\n\n > &-wrapper {\n > &-fieldGroup {\n background: none;\n > i {\n color: initial;\n }\n }\n }\n }\n\n .ms-TextField:not(:first-of-type) {\n margin-top: 5px;\n }\n"],["\n .ms-TextField {\n &.is-disabled {\n opacity: 0.5;\n }\n &-field {\n ","\n }\n\n > &-wrapper {\n > &-fieldGroup {\n background: none;\n > i {\n color: initial;\n }\n }\n }\n }\n\n .ms-TextField:not(:first-of-type) {\n margin-top: 5px;\n }\n"])),InputPlaceholder("\n color: inherit;\n font-style: italic;\n "));var templateObject_1$r$1,templateObject_2$l,templateObject_3$f;var DateRange;(function(DateRange){DateRange[DateRange["TwoYears"]=0]="TwoYears";DateRange[DateRange["OneYear"]=1]="OneYear";DateRange[DateRange["SixMonths"]=2]="SixMonths";DateRange[DateRange["TwoMonths"]=3]="TwoMonths";DateRange[DateRange["OneMonth"]=4]="OneMonth";DateRange[DateRange["SevenDays"]=5]="SevenDays";DateRange[DateRange["YesterDay"]=6]="YesterDay";DateRange[DateRange["Today"]=7]="Today";})(DateRange||(DateRange={}));Object.keys(DateRange).length/2-1;_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Host",componentId:"sc-1o5vacm-0"})(templateObject_1$q$1||(templateObject_1$q$1=__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n .ms-Slider {\n margin-bottom: 0;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n .ms-Slider {\n margin-bottom: 0;\n }\n"])));_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Value",componentId:"sc-1o5vacm-1"})(templateObject_2$k||(templateObject_2$k=__makeTemplateObject(["\n align-self: flex-end;\n margin-right: 10px;\n"],["\n align-self: flex-end;\n margin-right: 10px;\n"])));_styled__default["default"].div.withConfig({displayName:"DateRangeSlider__Labels",componentId:"sc-1o5vacm-2"})(templateObject_3$e$1||(templateObject_3$e$1=__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin: 0px 10px;\n"],["\n display: flex;\n justify-content: space-between;\n margin: 0px 10px;\n"])));var templateObject_1$q$1,templateObject_2$k,templateObject_3$e$1;_styled__default["default"](IconButton).withConfig({displayName:"ExternalNewsLinkButton__StyledIconButton",componentId:"sc-txzoyq-0"})(templateObject_1$p$1||(templateObject_1$p$1=__makeTemplateObject(["\n && {\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n &[disabled] {\n background-color: transparent;\n }\n }\n"],["\n && {\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n &[disabled] {\n background-color: transparent;\n }\n }\n"])));var templateObject_1$p$1;_styled__default["default"].div.withConfig({displayName:"CardStyles__Host",componentId:"sc-ovm8js-0"})(templateObject_1$o$1||(templateObject_1$o$1=__makeTemplateObject(["\n display: block;\n padding: 0 ","px ","px ","px;\n flex: 1 1 auto;\n\n &:not([data-banner='image']) {\n position: relative;\n }\n"],["\n display: block;\n padding: 0 ","px ","px ","px;\n flex: 1 1 auto;\n\n &:not([data-banner='image']) {\n position: relative;\n }\n"])),spacingM,spacingM,spacingM);var Intro$3=_styled__default["default"].p.withConfig({displayName:"CardStyles__Intro",componentId:"sc-ovm8js-1"})(templateObject_2$j||(templateObject_2$j=__makeTemplateObject(["\n margin: 0;\n font-size: ","px;\n margin-top: ","px;\n"],["\n margin: 0;\n font-size: ","px;\n margin-top: ","px;\n"])),fontSizeSmall,spacingM-3);var templateObject_1$o$1,templateObject_2$j;_styled__default["default"].p.withConfig({displayName:"NewsCard__Headline",componentId:"sc-rf9b9y-0"})(templateObject_1$n$1||(templateObject_1$n$1=__makeTemplateObject(["\n font-size: ","px;\n font-weight: bold;\n"],["\n font-size: ","px;\n font-weight: bold;\n"])),fontSizeSmall);_styled__default["default"].h2.withConfig({displayName:"NewsCard__Title",componentId:"sc-rf9b9y-1"})(templateObject_2$i$1||(templateObject_2$i$1=__makeTemplateObject(["\n display: inline-block;\n & + .card-metaInfo {\n padding-top: ","px !important;\n }\n"],["\n display: inline-block;\n & + .card-metaInfo {\n padding-top: ","px !important;\n }\n"])),spacingS);_styled__default["default"](ReactRouterDom.NavLink).withConfig({displayName:"NewsCard__StyledNavLink",componentId:"sc-rf9b9y-2"})(templateObject_3$d$1||(templateObject_3$d$1=__makeTemplateObject(["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"],["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"])),function(p){return p.theme.textColors.default;});_styled__default["default"].div.withConfig({displayName:"NewsCard__MetaInfo",componentId:"sc-rf9b9y-3"})(templateObject_4$8$1||(templateObject_4$8$1=__makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));_styled__default["default"](ClickableChannelTitles).withConfig({displayName:"NewsCard__Channels",componentId:"sc-rf9b9y-4"})(templateObject_5$7$1||(templateObject_5$7$1=__makeTemplateObject(["\n display: contents;\n"],["\n display: contents;\n"])));var templateObject_1$n$1,templateObject_2$i$1,templateObject_3$d$1,templateObject_4$8$1,templateObject_5$7$1;_styled__default["default"].div.withConfig({displayName:"EmptyChannelsView__Host",componentId:"sc-b5s0oy-0"})(templateObject_1$m$1||(templateObject_1$m$1=__makeTemplateObject(["\n color: ",";\n text-align: center;\n display: flex;\n flex-direction: column;\n\n > p {\n font-size: 14px;\n margin: 0;\n padding: 3px 0;\n }\n"],["\n color: ",";\n text-align: center;\n display: flex;\n flex-direction: column;\n\n > p {\n font-size: 14px;\n margin: 0;\n padding: 3px 0;\n }\n"])),function(p){return p.theme.palette.neutralTertiary;});_styled__default["default"](officeUiFabricReact.Icon).withConfig({displayName:"EmptyChannelsView__StyledIcon",componentId:"sc-b5s0oy-1"})(templateObject_2$h$1||(templateObject_2$h$1=__makeTemplateObject(["\n font-size: 100px;\n padding: 30px 0;\n"],["\n font-size: 100px;\n padding: 30px 0;\n"])));var templateObject_1$m$1,templateObject_2$h$1;_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__Host",componentId:"sc-drndfq-0"})(templateObject_1$l$1||(templateObject_1$l$1=__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__Alert",componentId:"sc-drndfq-1"})(templateObject_2$g$1||(templateObject_2$g$1=__makeTemplateObject(["\n display: flex;\n background-color: white;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n cursor: pointer;\n width: 100%;\n margin-bottom: 10px;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n"],["\n display: flex;\n background-color: white;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n cursor: pointer;\n width: 100%;\n margin-bottom: 10px;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__AlertIconOuterContainer",componentId:"sc-drndfq-2"})(templateObject_3$c$1||(templateObject_3$c$1=__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__IconContainer",componentId:"sc-drndfq-3"})(templateObject_4$7$1||(templateObject_4$7$1=__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n min-height: 50px;\n height: 100%;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n min-height: 50px;\n height: 100%;\n"])));_styled__default["default"](officeUiFabricReact.Icon).withConfig({displayName:"PromotedNewsItem__StyledIcon",componentId:"sc-drndfq-4"})(templateObject_5$6$1||(templateObject_5$6$1=__makeTemplateObject(["\n font-size: 25px;\n color: white;\n"],["\n font-size: 25px;\n color: white;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__ContentContainer",componentId:"sc-drndfq-5"})(templateObject_6$3$1||(templateObject_6$3$1=__makeTemplateObject(["\n display: flex;\n width: 100%;\n"],["\n display: flex;\n width: 100%;\n"])));_styled__default["default"](DateTime).withConfig({displayName:"PromotedNewsItem__StyledDate",componentId:"sc-drndfq-6"})(templateObject_7$2$1||(templateObject_7$2$1=__makeTemplateObject(["\n font-size: 0.9em;\n color: #666;\n margin-left: 20px;\n min-width: 150px;\n\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n font-size: 0.9em;\n color: #666;\n margin-left: 20px;\n min-width: 150px;\n\n @media (max-width: ","px) {\n display: none;\n }\n"])),maxScreenSize.small);_styled__default["default"].h2.withConfig({displayName:"PromotedNewsItem__Title",componentId:"sc-drndfq-7"})(templateObject_8$2$1||(templateObject_8$2$1=__makeTemplateObject(["\n font-size: 1.1em;\n margin-top: 0;\n margin-bottom: 0;\n max-width: 1000px;\n\n @media (max-width: ","px) {\n max-width: 700px;\n }\n\n @media (max-width: ","px) {\n max-width: 450px;\n }\n\n @media (max-width: ","px) {\n max-width: 300px;\n }\n\n @media (max-width: ","px) {\n margin-left: 20px;\n max-width: 280px;\n }\n"],["\n font-size: 1.1em;\n margin-top: 0;\n margin-bottom: 0;\n max-width: 1000px;\n\n @media (max-width: ","px) {\n max-width: 700px;\n }\n\n @media (max-width: ","px) {\n max-width: 450px;\n }\n\n @media (max-width: ","px) {\n max-width: 300px;\n }\n\n @media (max-width: ","px) {\n margin-left: 20px;\n max-width: 280px;\n }\n"])),maxScreenSize.xLarge,maxScreenSize.large,maxScreenSize.medium,maxScreenSize.small);_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__BookmarkContainer",componentId:"sc-drndfq-8"})(templateObject_9$2$1||(templateObject_9$2$1=__makeTemplateObject(["\n margin-right: 10px;\n align-self: flex-end;\n padding-bottom: 10px;\n"],["\n margin-right: 10px;\n align-self: flex-end;\n padding-bottom: 10px;\n"])));_styled__default["default"].div.withConfig({displayName:"PromotedNewsItem__TextContainer",componentId:"sc-drndfq-9"})(templateObject_10$1$1||(templateObject_10$1$1=__makeTemplateObject(["\n display: flex;\n width: 100%;\n align-items: center;\n padding: 10px 0;\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n padding: 10px 0;\n"])));var templateObject_1$l$1,templateObject_2$g$1,templateObject_3$c$1,templateObject_4$7$1,templateObject_5$6$1,templateObject_6$3$1,templateObject_7$2$1,templateObject_8$2$1,templateObject_9$2$1,templateObject_10$1$1;function useTranslateApi(){var api=useApi();return React$d.useMemo(function(){return {translateContents:translateContents};function translateContents(type,itemId,language){return api.custom(type+"/"+itemId+"/contents/"+language).get().then(function(res){return res.body().data();});}},[api]);}var $$1$1=_export;var getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f;var toLength$2=toLength$b;var notARegExp=notARegexp;var requireObjectCoercible$d=requireObjectCoercible$c;var correctIsRegExpLogic=correctIsRegexpLogic;var nativeEndsWith=''.endsWith;var min=Math.min;var CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic('endsWith');// https://github.com/zloirock/core-js/pull/702
|
|
131769
131769
|
var MDN_POLYFILL_BUG=!CORRECT_IS_REGEXP_LOGIC&&!!function(){var descriptor=getOwnPropertyDescriptor(String.prototype,'endsWith');return descriptor&&!descriptor.writable;}();// `String.prototype.endsWith` method
|
|
131770
131770
|
// https://tc39.github.io/ecma262/#sec-string.prototype.endswith
|
|
131771
131771
|
$$1$1({target:'String',proto:true,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function endsWith(searchString/* , endPosition = @length */){var that=String(requireObjectCoercible$d(this));notARegExp(searchString);var endPosition=arguments.length>1?arguments[1]:undefined;var len=toLength$2(that.length);var end=endPosition===undefined?len:min(toLength$2(endPosition),len);var search=String(searchString);return nativeEndsWith?nativeEndsWith.call(that,search,end):that.slice(end-search.length,end)===search;}});var SearchHighlighter=function SearchHighlighter(_a){var highlight=_a.highlight;if(!highlight){return null;}return jsxRuntime.jsx(jsxRuntime.Fragment,{children:highlight.texts.map(function(t){return jsxRuntime.jsxs(TextEntry,__assign({highlight:t.type==='hit'},{children:[t.value.startsWith(' ')?jsxRuntime.jsx(jsxRuntime.Fragment,{children:"\u00A0"},void 0):null,t.value.trim(),t.value.endsWith(' ')?jsxRuntime.jsx(jsxRuntime.Fragment,{children:"\u00A0"},void 0):null]}),void 0);})},void 0);};var TextEntry=_styled__default["default"].span.withConfig({displayName:"SearchHighlighter__TextEntry",componentId:"sc-1a25f6p-0"})(templateObject_2$f$1||(templateObject_2$f$1=__makeTemplateObject(["\n ","\n"],["\n ","\n"])),function(p){return p.highlight&&_styled.css(templateObject_1$k$1||(templateObject_1$k$1=__makeTemplateObject(["\n background-color: yellow;\n "],["\n background-color: yellow;\n "])));});function tryGetHighlight(highlights,preferredLanguage){var _a;if(!highlights){return null;}return (_a=tryGetAllHighlights(highlights,preferredLanguage))===null||_a===void 0?void 0:_a[0];}function tryGetAllHighlights(highlights,preferredLanguage){if(!highlights){return null;}var preferredHighlights=highlights.filter(function(h){return h.language===preferredLanguage;});if(preferredHighlights.length){return preferredHighlights;}var firstHighlight=highlights[0];return highlights.filter(function(h){return h.language===firstHighlight.language;});}var templateObject_1$k$1,templateObject_2$f$1;var PageTitle=function PageTitle(_a){var page=_a.page,title=_a.title,search=_a.search,className=_a.className;var user=useCurrentUser();var isDocument=page.pageType===PageType.Document;var language=getLanguageForPage(page,user);var buildPath=useSubscriptionHandlePathBuilder().buildPath;var handleExternalContentClick=useExternalContentClickHandler();var pageTitle=jsxRuntime.jsx(jsxRuntime.Fragment,{children:search?jsxRuntime.jsx(TitleHighlight,{search:search,title:title,page:page},void 0):title},void 0);if(page.useExternalContent){var preferredContentLanguage=getPreferredContentLanguage(user);var url=getExternalContentUrl(page,preferredContentLanguage);var targetRoute=NewsService.getNewsRoute(buildPath('/pages'),page.id,title);return jsxRuntime.jsx(Title$1$1,{children:jsxRuntime.jsxs(StyledNavLink,__assign({to:targetRoute,onClick:function(e){return handleExternalContentClick(e,page,ItemResourceTypes.Pages);}},{children:[pageTitle,jsxRuntime.jsx(ExternalContentIcon,{tooltipResourceKey:'ExternalLinkButton.pages.navigateTo',tooltipResourceValues:url},void 0)]}),void 0)},void 0);}return jsxRuntime.jsxs(Title$1$1,__assign({className:className},{children:[isDocument&&jsxRuntime.jsx(FileIcon,{iconName:getFileIconByExtension(page.contents[language].fileInfo.extension)},void 0),pageTitle]}),void 0);};var TitleHighlight=function TitleHighlight(_a){var _b;var search=_a.search,title=_a.title,page=_a.page;var user=useCurrentUser();var preferredLanguage=NewsService.getLanguageForContent(page.contents,user);var titleHighlight=tryGetHighlight((_b=page.searchHighlights)===null||_b===void 0?void 0:_b.title,preferredLanguage);if(titleHighlight){return jsxRuntime.jsx(SearchHighlighter,{highlight:titleHighlight},void 0);}return jsxRuntime.jsx(Highlighter,{searchWords:[search],autoEscape:true,textToHighlight:title},void 0);};var Title$1$1=_styled__default["default"].h2.withConfig({displayName:"PageTitle__Title",componentId:"sc-gsx6ad-0"})(templateObject_1$j$1||(templateObject_1$j$1=__makeTemplateObject(["\n display: flex;\n margin: ","px 0 ","px 0;\n font-weight: bold;\n font-size: ","px;\n padding: 0;\n"],["\n display: flex;\n margin: ","px 0 ","px 0;\n font-weight: bold;\n font-size: ","px;\n padding: 0;\n"])),spacingS+5,spacingS,fontSizeMedium);var FileIcon=_styled__default["default"](officeUiFabricReact.Icon).withConfig({displayName:"PageTitle__FileIcon",componentId:"sc-gsx6ad-1"})(templateObject_2$e$1||(templateObject_2$e$1=__makeTemplateObject(["\n font-size: ","px;\n margin-right: ","px;\n align-self: flex-start;\n"],["\n font-size: ","px;\n margin-right: ","px;\n align-self: flex-start;\n"])),fontSizeMedium+4,spacingS);var StyledNavLink=_styled__default["default"](ReactRouterDom.NavLink).withConfig({displayName:"PageTitle__StyledNavLink",componentId:"sc-gsx6ad-2"})(templateObject_3$b$1||(templateObject_3$b$1=__makeTemplateObject(["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"],["\n && {\n position: relative;\n z-index: 1;\n color: ",";\n display: block;\n }\n"])),function(p){return p.theme.textColors.default;});var templateObject_1$j$1,templateObject_2$e$1,templateObject_3$b$1;_styled__default["default"].div.withConfig({displayName:"PageCard__PageModifiedInfo",componentId:"sc-13xtreq-0"})(templateObject_1$i$1||(templateObject_1$i$1=__makeTemplateObject(["\n font-size: ","px;\n color: ",";\n"],["\n font-size: ","px;\n color: ",";\n"])),fontSizeSmall,function(p){return p.theme.palette.neutralSecondaryAlt;});_styled__default["default"](PageTitle).withConfig({displayName:"PageCard__StyledPageTitle",componentId:"sc-13xtreq-1"})(templateObject_2$d$1||(templateObject_2$d$1=__makeTemplateObject(["\n && {\n margin: 0;\n flex: 1 1 auto;\n }\n"],["\n && {\n margin: 0;\n flex: 1 1 auto;\n }\n"])));_styled__default["default"](Intro$3).withConfig({displayName:"PageCard__StyledIntro",componentId:"sc-13xtreq-2"})(templateObject_3$a$1||(templateObject_3$a$1=__makeTemplateObject(["\n && {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"],["\n && {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"])),spacingS,spacingS);_styled__default["default"].div.withConfig({displayName:"PageCard__Keywords",componentId:"sc-13xtreq-3"})(templateObject_4$6$1||(templateObject_4$6$1=__makeTemplateObject(["\n font-size: ","px;\n color: ",";\n padding-bottom: ","px;\n"],["\n font-size: ","px;\n color: ",";\n padding-bottom: ","px;\n"])),fontSizeSmall,function(p){return p.theme.palette.neutralSecondaryAlt;},spacingS);_styled__default["default"].div.withConfig({displayName:"PageCard__Inner",componentId:"sc-13xtreq-4"})(templateObject_5$5$1||(templateObject_5$5$1=__makeTemplateObject(["\n display: flex;\n align-items: center;\n margin: ","px 0 ","px 0;\n"],["\n display: flex;\n align-items: center;\n margin: ","px 0 ","px 0;\n"])),spacingM,spacingS);_styled__default["default"](DocumentDownloadButton).withConfig({displayName:"PageCard__StyledDocumentDownloadButton",componentId:"sc-13xtreq-5"})(templateObject_6$2$1||(templateObject_6$2$1=__makeTemplateObject(["\n align-self: flex-start;\n z-index: 1;\n"],["\n align-self: flex-start;\n z-index: 1;\n"])));var templateObject_1$i$1,templateObject_2$d$1,templateObject_3$a$1,templateObject_4$6$1,templateObject_5$5$1,templateObject_6$2$1;_styled__default["default"].p.withConfig({displayName:"PageListItemBody__FullContent",componentId:"sc-7voum-0"})(templateObject_1$h$1||(templateObject_1$h$1=__makeTemplateObject(["\n padding: 0;\n margin: 0 0 ","px 0;\n font-size: ","px;\n line-height: 1.5;\n"],["\n padding: 0;\n margin: 0 0 ","px 0;\n font-size: ","px;\n line-height: 1.5;\n"])),spacingM-5,fontSizeSmall);_styled__default["default"].div.withConfig({displayName:"PageListItemBody__CutContentContainer",componentId:"sc-7voum-1"})(templateObject_2$c$1||(templateObject_2$c$1=__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n margin-bottom: ","px;\n"],["\n display: flex;\n flex-direction: column;\n margin-bottom: ","px;\n"])),spacingM-5);_styled__default["default"].p.withConfig({displayName:"PageListItemBody__CutContent",componentId:"sc-7voum-2"})(templateObject_3$9$1||(templateObject_3$9$1=__makeTemplateObject(["\n padding: 0;\n margin: 0;\n ","\n"],["\n padding: 0;\n margin: 0;\n ","\n"])),LineClamp(5,fontSizeSmall,1.5));_styled__default["default"](ActionButton).withConfig({displayName:"PageListItemBody__StyledActionButton",componentId:"sc-7voum-3"})(templateObject_4$5$1||(templateObject_4$5$1=__makeTemplateObject(["\n && {\n height: auto;\n margin: 0 0 0 auto;\n padding: ","px ","px 0 ","px;\n font-size: ","px;\n z-index: 1;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"],["\n && {\n height: auto;\n margin: 0 0 0 auto;\n padding: ","px ","px 0 ","px;\n font-size: ","px;\n z-index: 1;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])),spacingXs,spacingXs,spacingXs,fontSizeSmaller);var templateObject_1$h$1,templateObject_2$c$1,templateObject_3$9$1,templateObject_4$5$1;_styled__default["default"].div.withConfig({displayName:"PageListItem__Host",componentId:"sc-lz5d51-0"})(templateObject_1$g$1||(templateObject_1$g$1=__makeTemplateObject(["\n ",";\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n\n padding: ","px;\n"],["\n ",";\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n\n padding: ","px;\n"])),CardBorderInline(2,2),spacingM);_styled__default["default"].div.withConfig({displayName:"PageListItem__Keywords",componentId:"sc-lz5d51-1"})(templateObject_2$b$1||(templateObject_2$b$1=__makeTemplateObject(["\n position: relative;\n font-size: ","px;\n color: ",";\n padding-bottom: ","px;\n\n a {\n position: relative;\n z-index: 1;\n }\n"],["\n position: relative;\n font-size: ","px;\n color: ",";\n padding-bottom: ","px;\n\n a {\n position: relative;\n z-index: 1;\n }\n"])),fontSizeSmall,function(p){return p.theme.palette.neutralSecondaryAlt;},spacingS);_styled__default["default"].div.withConfig({displayName:"PageListItem__LastUpdated",componentId:"sc-lz5d51-2"})(templateObject_3$8$1||(templateObject_3$8$1=__makeTemplateObject(["\n font-size: ","px;\n color: ",";\n"],["\n font-size: ","px;\n color: ",";\n"])),fontSizeSmall,function(p){return p.theme.palette.neutralSecondaryAlt;});_styled__default["default"](PageBreadcrumb).withConfig({displayName:"PageListItem__StyledPageBreadcrumb",componentId:"sc-lz5d51-3"})(templateObject_4$4$1||(templateObject_4$4$1=__makeTemplateObject(["\n flex: 1 1 auto;\n width: ","%;\n"],["\n flex: 1 1 auto;\n width: ","%;\n"])),function(p){return p.maxWidth;});_styled__default["default"].div.withConfig({displayName:"PageListItem__Inner",componentId:"sc-lz5d51-4"})(templateObject_5$4$1||(templateObject_5$4$1=__makeTemplateObject(["\n display: flex;\n align-items: center;\n\n a,\n button {\n position: relative;\n z-index: 1;\n }\n"],["\n display: flex;\n align-items: center;\n\n a,\n button {\n position: relative;\n z-index: 1;\n }\n"])));var templateObject_1$g$1,templateObject_2$b$1,templateObject_3$8$1,templateObject_4$4$1,templateObject_5$4$1;var PagesDetailViewNavigation=function PagesDetailViewNavigation(_a){var basePath=_a.basePath,navigationContext=_a.navigationContext,activePageId=_a.activePageId,className=_a.className;var features=useFeatures();var user=useCurrentUser();if(!features.inPageNavigation){return null;}var currentPage=navigationContext.siblings.find(function(s){return s.id===activePageId;});if(currentPage==null){return null;}// sort by group and position only the root pages
|
|
@@ -132347,10 +132347,10 @@
|
|
|
132347
132347
|
}, void 0);
|
|
132348
132348
|
};
|
|
132349
132349
|
var Host$g = _styled__default["default"].div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$l(["\n && {\n margin-top: ", "px;\n }\n"], ["\n && {\n margin-top: ", "px;\n }\n"])), spacingXs);
|
|
132350
|
-
var PageTableOfContentsButton = _styled__default["default"](officeUiFabricReact.IconButton)(templateObject_2$
|
|
132350
|
+
var PageTableOfContentsButton = _styled__default["default"](officeUiFabricReact.IconButton)(templateObject_2$i || (templateObject_2$i = __makeTemplateObject$l(["\n && {\n padding: 0;\n margin: 0;\n width: 22px;\n height: 22px;\n\n i {\n font-size: 20px;\n color: ", ";\n }\n }\n"], ["\n && {\n padding: 0;\n margin: 0;\n width: 22px;\n height: 22px;\n\n i {\n font-size: 20px;\n color: ", ";\n }\n }\n"])), function (p) {
|
|
132351
132351
|
return p.theme.textColors.default;
|
|
132352
132352
|
});
|
|
132353
|
-
var templateObject_1$s, templateObject_2$
|
|
132353
|
+
var templateObject_1$s, templateObject_2$i;
|
|
132354
132354
|
|
|
132355
132355
|
var PageDetail = function PageDetail(props) {
|
|
132356
132356
|
var routeMatch = ReactRouterDom.useRouteMatch();
|
|
@@ -132449,7 +132449,7 @@
|
|
|
132449
132449
|
var PageHeader = _styled__default["default"].div.withConfig({
|
|
132450
132450
|
displayName: "PageDetail__PageHeader",
|
|
132451
132451
|
componentId: "sc-22rpk8-1"
|
|
132452
|
-
})(templateObject_2$
|
|
132452
|
+
})(templateObject_2$h || (templateObject_2$h = __makeTemplateObject$l(["\n display: flex;\n align-items: center;\n margin-bottom: ", "px;\n"], ["\n display: flex;\n align-items: center;\n margin-bottom: ", "px;\n"])), spacingM);
|
|
132453
132453
|
|
|
132454
132454
|
var ConsumerBreadcrumbWrapper = function ConsumerBreadcrumbWrapper() {
|
|
132455
132455
|
var item = useDetailViewContext().item;
|
|
@@ -132521,7 +132521,7 @@
|
|
|
132521
132521
|
return jsxRuntime.jsx(InlinePageList, {}, void 0);
|
|
132522
132522
|
};
|
|
132523
132523
|
|
|
132524
|
-
var templateObject_1$r, templateObject_2$
|
|
132524
|
+
var templateObject_1$r, templateObject_2$h, templateObject_3$e, templateObject_4$c, templateObject_5$9;
|
|
132525
132525
|
|
|
132526
132526
|
var EventDetail = function EventDetail(_a) {
|
|
132527
132527
|
var itemId = _a.itemId,
|
|
@@ -132594,7 +132594,7 @@
|
|
|
132594
132594
|
var EventDateAndRecurrenceInfo = _styled__default["default"].div.withConfig({
|
|
132595
132595
|
displayName: "EventDetail__EventDateAndRecurrenceInfo",
|
|
132596
132596
|
componentId: "sc-hrm4yl-1"
|
|
132597
|
-
})(templateObject_2$
|
|
132597
|
+
})(templateObject_2$g || (templateObject_2$g = __makeTemplateObject$l(["\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n"], ["\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n"])));
|
|
132598
132598
|
|
|
132599
132599
|
var DatesInfo = _styled__default["default"](EventDetailViewDatesInfo).withConfig({
|
|
132600
132600
|
displayName: "EventDetail__DatesInfo",
|
|
@@ -132608,7 +132608,7 @@
|
|
|
132608
132608
|
return p.theme.textColors.default;
|
|
132609
132609
|
}, spacingM);
|
|
132610
132610
|
|
|
132611
|
-
var templateObject_1$q, templateObject_2$
|
|
132611
|
+
var templateObject_1$q, templateObject_2$g, templateObject_3$d, templateObject_4$b;
|
|
132612
132612
|
|
|
132613
132613
|
function useNewsItemClickHandler() {
|
|
132614
132614
|
var user = useCurrentUserContext().user;
|
|
@@ -132819,7 +132819,7 @@
|
|
|
132819
132819
|
return p.theme.palette.white;
|
|
132820
132820
|
});
|
|
132821
132821
|
|
|
132822
|
-
var TextStyle = _styled.css(templateObject_2$
|
|
132822
|
+
var TextStyle = _styled.css(templateObject_2$f || (templateObject_2$f = __makeTemplateObject$l(["\n font-size: ", "px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n"], ["\n font-size: ", "px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n"])), fontSizeSmall);
|
|
132823
132823
|
|
|
132824
132824
|
var Inner$2 = _styled__default["default"].div.withConfig({
|
|
132825
132825
|
displayName: "NewsCompactCard__Inner",
|
|
@@ -132913,7 +132913,7 @@
|
|
|
132913
132913
|
});
|
|
132914
132914
|
});
|
|
132915
132915
|
|
|
132916
|
-
var templateObject_1$p, templateObject_2$
|
|
132916
|
+
var templateObject_1$p, templateObject_2$f, templateObject_3$c, templateObject_4$a, templateObject_5$8, templateObject_6$7, templateObject_7$4, templateObject_8$4, templateObject_9$2, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$2, templateObject_16$1;
|
|
132917
132917
|
|
|
132918
132918
|
var EmptyNewsList = function EmptyNewsList() {
|
|
132919
132919
|
return jsxRuntime.jsxs(Host$c, {
|
|
@@ -132935,14 +132935,14 @@
|
|
|
132935
132935
|
var StyledIcon$3 = _styled__default["default"](officeUiFabricReact.Icon).withConfig({
|
|
132936
132936
|
displayName: "EmptyNewsList__StyledIcon",
|
|
132937
132937
|
componentId: "sc-11ktr8s-1"
|
|
132938
|
-
})(templateObject_2$
|
|
132938
|
+
})(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$l(["\n font-size: ", "px;\n opacity: 0.8;\n margin-bottom: ", "px;\n"], ["\n font-size: ", "px;\n opacity: 0.8;\n margin-bottom: ", "px;\n"])), fontSizeLarger, spacingM);
|
|
132939
132939
|
|
|
132940
132940
|
var Message = _styled__default["default"].p.withConfig({
|
|
132941
132941
|
displayName: "EmptyNewsList__Message",
|
|
132942
132942
|
componentId: "sc-11ktr8s-2"
|
|
132943
132943
|
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject$l(["\n text-align: center;\n padding: 0;\n margin: 0;\n"], ["\n text-align: center;\n padding: 0;\n margin: 0;\n"])));
|
|
132944
132944
|
|
|
132945
|
-
var templateObject_1$o, templateObject_2$
|
|
132945
|
+
var templateObject_1$o, templateObject_2$e, templateObject_3$b;
|
|
132946
132946
|
|
|
132947
132947
|
exports.ItemLayoutMode = void 0;
|
|
132948
132948
|
|
|
@@ -133114,7 +133114,7 @@
|
|
|
133114
133114
|
var CompactList = _styled__default["default"].ul.withConfig({
|
|
133115
133115
|
displayName: "NewsList__CompactList",
|
|
133116
133116
|
componentId: "sc-1d0bzx1-1"
|
|
133117
|
-
})(templateObject_2$
|
|
133117
|
+
})(templateObject_2$d || (templateObject_2$d = __makeTemplateObject$l(["\n margin: 0;\n padding: 0;\n list-style: none;\n\n > li:not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n margin: 0;\n padding: 0;\n list-style: none;\n\n > li:not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacingS);
|
|
133118
133118
|
|
|
133119
133119
|
var StyledNewsItemTile = _styled__default["default"](NewsItemTile).withConfig({
|
|
133120
133120
|
displayName: "NewsList__StyledNewsItemTile",
|
|
@@ -133149,7 +133149,7 @@
|
|
|
133149
133149
|
return p.theme.palette.red;
|
|
133150
133150
|
}, spacingM);
|
|
133151
133151
|
|
|
133152
|
-
var templateObject_1$n, templateObject_2$
|
|
133152
|
+
var templateObject_1$n, templateObject_2$d, templateObject_3$a, templateObject_4$9, templateObject_5$7, templateObject_6$6, templateObject_7$3, templateObject_8$3;
|
|
133153
133153
|
|
|
133154
133154
|
var ManageChannels = function ManageChannels(_a) {
|
|
133155
133155
|
var className = _a.className;
|
|
@@ -133320,7 +133320,7 @@
|
|
|
133320
133320
|
var Title$2 = _styled__default["default"].h3.withConfig({
|
|
133321
133321
|
displayName: "ManageChannels__Title",
|
|
133322
133322
|
componentId: "sc-yyoxfw-1"
|
|
133323
|
-
})(templateObject_2$
|
|
133323
|
+
})(templateObject_2$c || (templateObject_2$c = __makeTemplateObject$l(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
133324
133324
|
|
|
133325
133325
|
var Description = _styled__default["default"].span.withConfig({
|
|
133326
133326
|
displayName: "ManageChannels__Description",
|
|
@@ -133388,7 +133388,7 @@
|
|
|
133388
133388
|
return p.theme.textColors.default;
|
|
133389
133389
|
});
|
|
133390
133390
|
|
|
133391
|
-
var templateObject_1$m, templateObject_2$
|
|
133391
|
+
var templateObject_1$m, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$6, templateObject_6$5, templateObject_7$2, templateObject_8$2;
|
|
133392
133392
|
|
|
133393
133393
|
var NewsGridCard = function NewsGridCard(_a) {
|
|
133394
133394
|
var _b;
|
|
@@ -133495,7 +133495,7 @@
|
|
|
133495
133495
|
return NewsService.getNewsRoute(baseRoute, item.id, title);
|
|
133496
133496
|
}
|
|
133497
133497
|
};
|
|
133498
|
-
var Host$9 = _styled__default["default"].div(templateObject_2$
|
|
133498
|
+
var Host$9 = _styled__default["default"].div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject$l(["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n position: relative;\n\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-shadow: 1px 1px 4px grey;\n box-sizing: border-box;\n position: relative;\n\n ", "\n"])), function (p) {
|
|
133499
133499
|
return p.showHighlight && _styled.css(templateObject_1$l || (templateObject_1$l = __makeTemplateObject$l(["\n position: relative;\n &::after {\n ", ";\n }\n "], ["\n position: relative;\n &::after {\n ", ";\n }\n "])), BannerHighlightStyle);
|
|
133500
133500
|
});
|
|
133501
133501
|
var BannerHighlightStyle = _styled.css(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject$l(["\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: ", "px;\n display: block;\n background-color: ", ";\n"], ["\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: ", "px;\n display: block;\n background-color: ", ";\n"])), spacingXs, function (p) {
|
|
@@ -133523,7 +133523,7 @@
|
|
|
133523
133523
|
return p.theme.palette.neutralTertiary;
|
|
133524
133524
|
});
|
|
133525
133525
|
var StyledChannels$1 = _styled__default["default"](ChannelList$1)(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject$l(["\n margin-top: ", "px;\n margin-bottom: ", "px;\n"], ["\n margin-top: ", "px;\n margin-bottom: ", "px;\n"])), spacingS, spacingM);
|
|
133526
|
-
var templateObject_1$l, templateObject_2$
|
|
133526
|
+
var templateObject_1$l, templateObject_2$b, templateObject_3$8, templateObject_4$7, templateObject_5$5, templateObject_6$4, templateObject_7$1, templateObject_8$1, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1;
|
|
133527
133527
|
|
|
133528
133528
|
var ErrorContainer = function ErrorContainer() {
|
|
133529
133529
|
return jsxRuntime.jsx(Host$8, {
|
|
@@ -133634,7 +133634,7 @@
|
|
|
133634
133634
|
displayName: "NewsGrid__Inner",
|
|
133635
133635
|
componentId: "sc-8ugpfz-1"
|
|
133636
133636
|
})(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject$l(["\n display: flex; // IE fallback\n flex-wrap: wrap;\n\n display: grid;\n gap: ", "px;\n ", "\n"], ["\n display: flex; // IE fallback\n flex-wrap: wrap;\n\n display: grid;\n gap: ", "px;\n ", "\n"])), spacingM, function (p) {
|
|
133637
|
-
return _styled.css(templateObject_2$
|
|
133637
|
+
return _styled.css(templateObject_2$a || (templateObject_2$a = __makeTemplateObject$l(["\n grid-template-columns: repeat(", ", minmax(0, 1fr));\n "], ["\n grid-template-columns: repeat(", ", minmax(0, 1fr));\n "])), p.columnCount);
|
|
133638
133638
|
});
|
|
133639
133639
|
|
|
133640
133640
|
_styled__default["default"](NewsGridCard).withConfig({
|
|
@@ -133644,7 +133644,7 @@
|
|
|
133644
133644
|
return _styled.css(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject$l(["\n width: calc(100% / ", " - ", "px);\n "], ["\n width: calc(100% / ", " - ", "px);\n "])), p.columnCount, spacingM);
|
|
133645
133645
|
});
|
|
133646
133646
|
|
|
133647
|
-
var templateObject_1$j, templateObject_2$
|
|
133647
|
+
var templateObject_1$j, templateObject_2$a, templateObject_3$7, templateObject_4$6, templateObject_5$4;
|
|
133648
133648
|
|
|
133649
133649
|
var HeroSlide = function HeroSlide(_a) {
|
|
133650
133650
|
var item = _a.item,
|
|
@@ -133789,7 +133789,7 @@
|
|
|
133789
133789
|
displayName: "HeroSlide__Host",
|
|
133790
133790
|
componentId: "sc-3yofth-0"
|
|
133791
133791
|
})(templateObject_7 || (templateObject_7 = __makeTemplateObject$l(["\n position: relative;\n\n ", "\n\n ", "\n \n ", "\n \n ", "\n"], ["\n position: relative;\n\n ", "\n\n ", "\n \n ", "\n \n ", "\n"])), function (p) {
|
|
133792
|
-
return p.width ? _styled.css(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$l(["\n width: ", ";\n "], ["\n width: ", ";\n "])), p.width) : _styled.css(templateObject_2$
|
|
133792
|
+
return p.width ? _styled.css(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$l(["\n width: ", ";\n "], ["\n width: ", ";\n "])), p.width) : _styled.css(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$l(["\n width: 100%;\n "], ["\n width: 100%;\n "])));
|
|
133793
133793
|
}, function (p) {
|
|
133794
133794
|
return p.height ? _styled.css(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$l(["\n height: ", ";\n "], ["\n height: ", ";\n "])), p.height) : _styled.css(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject$l(["\n height: 100%;\n "], ["\n height: 100%;\n "])));
|
|
133795
133795
|
}, function (p) {
|
|
@@ -133909,7 +133909,7 @@
|
|
|
133909
133909
|
return p.color ? _styled.css(templateObject_31 || (templateObject_31 = __makeTemplateObject$l(["\n color: ", ";\n "], ["\n color: ", ";\n "])), p.color) : _styled.css(templateObject_32 || (templateObject_32 = __makeTemplateObject$l(["\n color: ", ";\n "], ["\n color: ", ";\n "])), p.theme.textColors.default);
|
|
133910
133910
|
});
|
|
133911
133911
|
|
|
133912
|
-
var templateObject_1$i, templateObject_2$
|
|
133912
|
+
var templateObject_1$i, templateObject_2$9, templateObject_3$6, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33;
|
|
133913
133913
|
|
|
133914
133914
|
var HeroPaging = function HeroPaging(_a) {
|
|
133915
133915
|
var items = _a.items,
|
|
@@ -134035,7 +134035,7 @@
|
|
|
134035
134035
|
var Paging = _styled__default["default"].ul.withConfig({
|
|
134036
134036
|
displayName: "HeroPaging__Paging",
|
|
134037
134037
|
componentId: "sc-1y3j8qb-1"
|
|
134038
|
-
})(templateObject_2$
|
|
134038
|
+
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$l(["\n display: flex;\n width: 100%;\n list-style: none;\n margin: 0 0 ", "px 0;\n padding: 0;\n"], ["\n display: flex;\n width: 100%;\n list-style: none;\n margin: 0 0 ", "px 0;\n padding: 0;\n"])), spacingM);
|
|
134039
134039
|
|
|
134040
134040
|
var PagingItem = _styled__default["default"].li.withConfig({
|
|
134041
134041
|
displayName: "HeroPaging__PagingItem",
|
|
@@ -134056,7 +134056,7 @@
|
|
|
134056
134056
|
componentId: "sc-1y3j8qb-4"
|
|
134057
134057
|
})(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$l(["\n position: absolute;\n top: 50%;\n\n && {\n padding: 0;\n }\n\n &[data-paging-next] {\n left: 100%;\n transform: translate(-5px, -50%);\n }\n\n &[data-paging-back] {\n right: 100%;\n transform: translate(5px, -50%);\n }\n"], ["\n position: absolute;\n top: 50%;\n\n && {\n padding: 0;\n }\n\n &[data-paging-next] {\n left: 100%;\n transform: translate(-5px, -50%);\n }\n\n &[data-paging-back] {\n right: 100%;\n transform: translate(5px, -50%);\n }\n"])));
|
|
134058
134058
|
|
|
134059
|
-
var templateObject_1$h, templateObject_2$
|
|
134059
|
+
var templateObject_1$h, templateObject_2$8, templateObject_3$5, templateObject_4$4, templateObject_5$2, templateObject_6$2;
|
|
134060
134060
|
|
|
134061
134061
|
var Hero = function Hero(_a) {
|
|
134062
134062
|
var items = _a.items,
|
|
@@ -134459,7 +134459,7 @@
|
|
|
134459
134459
|
var DropdownOption = _styled__default["default"].div.withConfig({
|
|
134460
134460
|
displayName: "GroupsDropdown__DropdownOption",
|
|
134461
134461
|
componentId: "sc-cmsnyu-1"
|
|
134462
|
-
})(templateObject_2$
|
|
134462
|
+
})(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$l(["\n ", "\n"], ["\n ", "\n"])), ToolbarOptionStyles);
|
|
134463
134463
|
|
|
134464
134464
|
var Title = _styled__default["default"].div.withConfig({
|
|
134465
134465
|
displayName: "GroupsDropdown__Title",
|
|
@@ -134468,7 +134468,7 @@
|
|
|
134468
134468
|
|
|
134469
134469
|
var GlobalDropdownStyles = _styled.createGlobalStyle(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$l(["\n .ms-Dropdown-item {\n i {\n width: auto;\n margin: 0 ", "px 0 0;\n }\n }\n"], ["\n .ms-Dropdown-item {\n i {\n width: auto;\n margin: 0 ", "px 0 0;\n }\n }\n"])), spacingS);
|
|
134470
134470
|
|
|
134471
|
-
var templateObject_1$e, templateObject_2$
|
|
134471
|
+
var templateObject_1$e, templateObject_2$7, templateObject_3$4, templateObject_4$3;
|
|
134472
134472
|
|
|
134473
134473
|
var TaskButton = function TaskButton(_a) {
|
|
134474
134474
|
var count = _a.count,
|
|
@@ -134727,7 +134727,7 @@
|
|
|
134727
134727
|
var StyledEditorListItem = _styled__default["default"](EditorListItem).withConfig({
|
|
134728
134728
|
displayName: "NewsEditorDashboard__StyledEditorListItem",
|
|
134729
134729
|
componentId: "sc-vv9dzu-0"
|
|
134730
|
-
})(templateObject_2$
|
|
134730
|
+
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$l(["\n :not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n :not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacingS + 5);
|
|
134731
134731
|
|
|
134732
134732
|
var FiltersAndButtons = _styled__default["default"].div.withConfig({
|
|
134733
134733
|
displayName: "NewsEditorDashboard__FiltersAndButtons",
|
|
@@ -134749,7 +134749,7 @@
|
|
|
134749
134749
|
componentId: "sc-vv9dzu-4"
|
|
134750
134750
|
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$l(["\n margin-bottom: ", "px;\n align-self: flex-start;\n"], ["\n margin-bottom: ", "px;\n align-self: flex-start;\n"])), spacingXs);
|
|
134751
134751
|
|
|
134752
|
-
var templateObject_1$b, templateObject_2$
|
|
134752
|
+
var templateObject_1$b, templateObject_2$6, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1;
|
|
134753
134753
|
|
|
134754
134754
|
// NOTE: This component exists in this project and not in the ui/common/toolbar because it uses DetailViewContext placed in feature/content/
|
|
134755
134755
|
// Also a generic component `ToolbarLanguageSelector` in ui/common/toolbar complicates the flow and requires some code duplication
|
|
@@ -135021,7 +135021,7 @@
|
|
|
135021
135021
|
displayName: "ToolbarFilterCalloutButton__Button",
|
|
135022
135022
|
componentId: "sc-fu36ma-1"
|
|
135023
135023
|
})(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$l(["\n ", "\n i {\n order: 1;\n }\n"], ["\n ", "\n i {\n order: 1;\n }\n"])), function (p) {
|
|
135024
|
-
return p.isActive && _styled.css(templateObject_2$
|
|
135024
|
+
return p.isActive && _styled.css(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$l(["\n font-weight: bold;\n "], ["\n font-weight: bold;\n "])));
|
|
135025
135025
|
});
|
|
135026
135026
|
|
|
135027
135027
|
var ClearFilterButton = _styled__default["default"](officeUiFabricReact.DefaultButton).withConfig({
|
|
@@ -135029,7 +135029,7 @@
|
|
|
135029
135029
|
componentId: "sc-fu36ma-2"
|
|
135030
135030
|
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$l(["\n margin-left: auto;\n\n .ms-Button-label {\n font-weight: normal;\n }\n"], ["\n margin-left: auto;\n\n .ms-Button-label {\n font-weight: normal;\n }\n"])));
|
|
135031
135031
|
|
|
135032
|
-
var templateObject_1$7, templateObject_2$
|
|
135032
|
+
var templateObject_1$7, templateObject_2$5, templateObject_3$2, templateObject_4$1;
|
|
135033
135033
|
|
|
135034
135034
|
var FilterLogicalOperators = function FilterLogicalOperators(_a) {
|
|
135035
135035
|
var onChange = _a.onChange,
|
|
@@ -135081,9 +135081,9 @@
|
|
|
135081
135081
|
var Operator = _styled__default["default"].span.withConfig({
|
|
135082
135082
|
displayName: "FilterLogicalOperators__Operator",
|
|
135083
135083
|
componentId: "sc-10bpjo8-1"
|
|
135084
|
-
})(templateObject_2$
|
|
135084
|
+
})(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$l(["\n text-transform: capitalize;\n"], ["\n text-transform: capitalize;\n"])));
|
|
135085
135085
|
|
|
135086
|
-
var templateObject_1$6, templateObject_2$
|
|
135086
|
+
var templateObject_1$6, templateObject_2$4;
|
|
135087
135087
|
|
|
135088
135088
|
var ChannelFilter = function ChannelFilter(_a) {
|
|
135089
135089
|
var _b, _c, _d, _f, _g, _h;
|
|
@@ -135239,14 +135239,14 @@
|
|
|
135239
135239
|
var StyledCheckbox$1 = _styled__default["default"](officeUiFabricReact.Checkbox).withConfig({
|
|
135240
135240
|
displayName: "ChannelFilter__StyledCheckbox",
|
|
135241
135241
|
componentId: "sc-1ju8xwz-1"
|
|
135242
|
-
})(templateObject_2$
|
|
135242
|
+
})(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$l(["\n padding: ", "px 0;\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n"], ["\n padding: ", "px 0;\n\n &:first-child {\n padding-top: 0;\n }\n\n &:last-child {\n padding-bottom: 0;\n }\n"])), spacingS - 2);
|
|
135243
135243
|
|
|
135244
135244
|
var StyledTextField$1 = _styled__default["default"](officeUiFabricReact.TextField).withConfig({
|
|
135245
135245
|
displayName: "ChannelFilter__StyledTextField",
|
|
135246
135246
|
componentId: "sc-1ju8xwz-2"
|
|
135247
135247
|
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$l(["\n padding-bottom: ", "px;\n"], ["\n padding-bottom: ", "px;\n"])), spacingM);
|
|
135248
135248
|
|
|
135249
|
-
var templateObject_1$5, templateObject_2$
|
|
135249
|
+
var templateObject_1$5, templateObject_2$3, templateObject_3$1;
|
|
135250
135250
|
|
|
135251
135251
|
function toInteger(dirtyNumber) {
|
|
135252
135252
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -138172,11 +138172,11 @@
|
|
|
138172
138172
|
var DateShortcuts = _styled__default["default"].div.withConfig({
|
|
138173
138173
|
displayName: "PublishingDateFilter__DateShortcuts",
|
|
138174
138174
|
componentId: "sc-zv88cu-1"
|
|
138175
|
-
})(templateObject_2$
|
|
138175
|
+
})(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$l(["\n margin: ", "px 0;\n display: flex;\n flex-direction: column;\n\n button {\n height: ", "px;\n padding-left: 0;\n .ms-Button-label {\n color: ", ";\n font-weight: bold;\n }\n i {\n margin-left: 0;\n }\n }\n"], ["\n margin: ", "px 0;\n display: flex;\n flex-direction: column;\n\n button {\n height: ", "px;\n padding-left: 0;\n .ms-Button-label {\n color: ", ";\n font-weight: bold;\n }\n i {\n margin-left: 0;\n }\n }\n"])), spacingS, spacingL, function (p) {
|
|
138176
138176
|
return p.theme.palette.themePrimary;
|
|
138177
138177
|
});
|
|
138178
138178
|
|
|
138179
|
-
var templateObject_1$4, templateObject_2$
|
|
138179
|
+
var templateObject_1$4, templateObject_2$2;
|
|
138180
138180
|
|
|
138181
138181
|
var ClearAllFiltersButton = function ClearAllFiltersButton(_a) {
|
|
138182
138182
|
var onClick = _a.onClick;
|
|
@@ -138189,18 +138189,18 @@
|
|
|
138189
138189
|
}, void 0);
|
|
138190
138190
|
};
|
|
138191
138191
|
|
|
138192
|
-
var
|
|
138193
|
-
var _a, _b
|
|
138192
|
+
var KeywordsFilterDropdown = function KeywordsFilterDropdown() {
|
|
138193
|
+
var _a, _b;
|
|
138194
138194
|
|
|
138195
138195
|
var formatMessage = useIntl().formatMessage;
|
|
138196
138196
|
var allKeywords = React$d.useContext(LazySubscriptionContext).allKeywords;
|
|
138197
138197
|
|
|
138198
|
-
var
|
|
138199
|
-
filter =
|
|
138200
|
-
onChange =
|
|
138198
|
+
var _c = React$d.useContext(FilterContext),
|
|
138199
|
+
filter = _c.filter,
|
|
138200
|
+
onChange = _c.onChange;
|
|
138201
138201
|
|
|
138202
138202
|
var keywordsLength = (_b = (_a = filter === null || filter === void 0 ? void 0 : filter.keywords) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length;
|
|
138203
|
-
return jsxRuntime.
|
|
138203
|
+
return jsxRuntime.jsx(ToolbarFilterCalloutButton, __assign$g({
|
|
138204
138204
|
buttonText: formatMessage({
|
|
138205
138205
|
id: 'FilterPanel.keywordFilter'
|
|
138206
138206
|
}),
|
|
@@ -138212,23 +138212,7 @@
|
|
|
138212
138212
|
},
|
|
138213
138213
|
isActive: keywordsLength > 0
|
|
138214
138214
|
}, {
|
|
138215
|
-
children:
|
|
138216
|
-
selectedKey: (_d = (_c = filter === null || filter === void 0 ? void 0 : filter.keywords) === null || _c === void 0 ? void 0 : _c.operator) === null || _d === void 0 ? void 0 : _d.toString(),
|
|
138217
|
-
onChange: handleOperatorChange,
|
|
138218
|
-
ariaLabelResourceKey: "Lib.channelFilter.choiceGroupLabel"
|
|
138219
|
-
}, void 0), jsxRuntime.jsx(StyledKeywordPicker, {
|
|
138220
|
-
value: ((_e = filter === null || filter === void 0 ? void 0 : filter.keywords) === null || _e === void 0 ? void 0 : _e.items) || [],
|
|
138221
|
-
onChange: function (keywords) {
|
|
138222
|
-
onChange(__assign$g(__assign$g({}, filter), {
|
|
138223
|
-
keywords: __assign$g(__assign$g({}, filter === null || filter === void 0 ? void 0 : filter.keywords), {
|
|
138224
|
-
items: keywords.map(function (k) {
|
|
138225
|
-
return k.id;
|
|
138226
|
-
})
|
|
138227
|
-
})
|
|
138228
|
-
}));
|
|
138229
|
-
},
|
|
138230
|
-
showSelectionToggle: true
|
|
138231
|
-
}, void 0)]
|
|
138215
|
+
children: jsxRuntime.jsx(KeywordsFilterInternal, {}, void 0)
|
|
138232
138216
|
}), void 0);
|
|
138233
138217
|
|
|
138234
138218
|
function getButtonContent() {
|
|
@@ -138246,6 +138230,46 @@
|
|
|
138246
138230
|
}, void 0)]
|
|
138247
138231
|
}, void 0);
|
|
138248
138232
|
}
|
|
138233
|
+
};
|
|
138234
|
+
var KeywordsFilter = function KeywordsFilter(_a) {
|
|
138235
|
+
var className = _a.className;
|
|
138236
|
+
return jsxRuntime.jsxs("div", __assign$g({
|
|
138237
|
+
className: className
|
|
138238
|
+
}, {
|
|
138239
|
+
children: [jsxRuntime.jsx(SubTitle, {
|
|
138240
|
+
children: jsxRuntime.jsx(FormattedMessage$1, {
|
|
138241
|
+
id: "Keywords.title"
|
|
138242
|
+
}, void 0)
|
|
138243
|
+
}, void 0), jsxRuntime.jsx(KeywordsFilterInternal, {}, void 0)]
|
|
138244
|
+
}), void 0);
|
|
138245
|
+
};
|
|
138246
|
+
|
|
138247
|
+
var KeywordsFilterInternal = function KeywordsFilterInternal() {
|
|
138248
|
+
var _a, _b, _c;
|
|
138249
|
+
|
|
138250
|
+
var _d = React$d.useContext(FilterContext),
|
|
138251
|
+
filter = _d.filter,
|
|
138252
|
+
onChange = _d.onChange;
|
|
138253
|
+
|
|
138254
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
138255
|
+
children: [jsxRuntime.jsx(FilterLogicalOperators, {
|
|
138256
|
+
selectedKey: (_b = (_a = filter === null || filter === void 0 ? void 0 : filter.keywords) === null || _a === void 0 ? void 0 : _a.operator) === null || _b === void 0 ? void 0 : _b.toString(),
|
|
138257
|
+
onChange: handleOperatorChange,
|
|
138258
|
+
ariaLabelResourceKey: "Lib.channelFilter.choiceGroupLabel"
|
|
138259
|
+
}, void 0), jsxRuntime.jsx(StyledKeywordPicker, {
|
|
138260
|
+
value: ((_c = filter === null || filter === void 0 ? void 0 : filter.keywords) === null || _c === void 0 ? void 0 : _c.items) || [],
|
|
138261
|
+
onChange: function (keywords) {
|
|
138262
|
+
onChange(__assign$g(__assign$g({}, filter), {
|
|
138263
|
+
keywords: __assign$g(__assign$g({}, filter === null || filter === void 0 ? void 0 : filter.keywords), {
|
|
138264
|
+
items: keywords.map(function (k) {
|
|
138265
|
+
return k.id;
|
|
138266
|
+
})
|
|
138267
|
+
})
|
|
138268
|
+
}));
|
|
138269
|
+
},
|
|
138270
|
+
showSelectionToggle: true
|
|
138271
|
+
}, void 0)]
|
|
138272
|
+
}, void 0);
|
|
138249
138273
|
|
|
138250
138274
|
function handleOperatorChange(operatorKey) {
|
|
138251
138275
|
onChange(__assign$g(__assign$g({}, filter), {
|
|
@@ -138261,7 +138285,12 @@
|
|
|
138261
138285
|
componentId: "sc-1aoeg5i-0"
|
|
138262
138286
|
})(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject$l(["\n margin-bottom: ", "px;\n overflow: hidden;\n\n .keyword-picker-tree {\n max-height: 256px;\n overflow-y: auto;\n\n div:last-child {\n margin-bottom: 0;\n }\n }\n"], ["\n margin-bottom: ", "px;\n overflow: hidden;\n\n .keyword-picker-tree {\n max-height: 256px;\n overflow-y: auto;\n\n div:last-child {\n margin-bottom: 0;\n }\n }\n"])), spacingM);
|
|
138263
138287
|
|
|
138264
|
-
var
|
|
138288
|
+
var SubTitle = _styled__default["default"].p.withConfig({
|
|
138289
|
+
displayName: "KeywordsFilter__SubTitle",
|
|
138290
|
+
componentId: "sc-1aoeg5i-1"
|
|
138291
|
+
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$l(["\n font-weight: bold;\n margin-bottom: ", "px;\n"], ["\n font-weight: bold;\n margin-bottom: ", "px;\n"])), spacingXs + 2);
|
|
138292
|
+
|
|
138293
|
+
var templateObject_1$3, templateObject_2$1;
|
|
138265
138294
|
|
|
138266
138295
|
var EmptyFilterSearchResult = function EmptyFilterSearchResult() {
|
|
138267
138296
|
return jsxRuntime.jsxs(Host$1, {
|
|
@@ -138848,7 +138877,6 @@
|
|
|
138848
138877
|
}
|
|
138849
138878
|
|
|
138850
138879
|
var da$2 = {
|
|
138851
|
-
"ManagePlugins.uploadPlugin": "Upload ny plugin",
|
|
138852
138880
|
"Generic.Ok": "Ok",
|
|
138853
138881
|
"Generic.Save": "Gem",
|
|
138854
138882
|
"Generic.Cancel": "Annuller",
|
|
@@ -140614,6 +140642,7 @@
|
|
|
140614
140642
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
140615
140643
|
"ManagePlugins.title": "Plugins",
|
|
140616
140644
|
"ManagePlugins.addNewPlugin": "Add plugin",
|
|
140645
|
+
"ManagePlugins.uploadPlugin": "Upload ny plugin",
|
|
140617
140646
|
"ManagePlugins.updateSucceeded": "Successfully updated plugin",
|
|
140618
140647
|
"ManagePlugins.deleteSucceeded": "Successfully deleted plugin",
|
|
140619
140648
|
"ManagePlugins.updateFailed": "Something went wrong when trying to update the plugin.",
|
|
@@ -140822,7 +140851,6 @@
|
|
|
140822
140851
|
}
|
|
140823
140852
|
|
|
140824
140853
|
var de$2 = {
|
|
140825
|
-
"ManagePlugins.uploadPlugin": "Neues Plugin hochladen",
|
|
140826
140854
|
"Generic.Ok": "Ok",
|
|
140827
140855
|
"Generic.Save": "Speichern",
|
|
140828
140856
|
"Generic.Cancel": "Abbrechen",
|
|
@@ -142588,6 +142616,7 @@
|
|
|
142588
142616
|
"Chats.userLeft.systemMessage": "{user} hat die Gruppe verlassen",
|
|
142589
142617
|
"ManagePlugins.title": "Plugins",
|
|
142590
142618
|
"ManagePlugins.addNewPlugin": "Plugin hinzufügen",
|
|
142619
|
+
"ManagePlugins.uploadPlugin": "Neues Plugin hochladen",
|
|
142591
142620
|
"ManagePlugins.updateSucceeded": "Plugin erfolgreich geändert",
|
|
142592
142621
|
"ManagePlugins.deleteSucceeded": "Plugin erfolgreich gelöscht",
|
|
142593
142622
|
"ManagePlugins.updateFailed": "Beim Ändern des Plugins ist ein Fehler aufgetreten.",
|
|
@@ -142795,7 +142824,6 @@
|
|
|
142795
142824
|
}
|
|
142796
142825
|
|
|
142797
142826
|
var fr$2 = {
|
|
142798
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
142799
142827
|
"Generic.Ok": "Ok",
|
|
142800
142828
|
"Generic.Save": "Sauvegarder",
|
|
142801
142829
|
"Generic.Cancel": "Annuler",
|
|
@@ -144561,6 +144589,7 @@
|
|
|
144561
144589
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
144562
144590
|
"ManagePlugins.title": "Plugins",
|
|
144563
144591
|
"ManagePlugins.addNewPlugin": "Ajouter un nouveau plugin",
|
|
144592
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
144564
144593
|
"ManagePlugins.updateSucceeded": "Plugin mis à jour avec succès",
|
|
144565
144594
|
"ManagePlugins.deleteSucceeded": "Plugin supprimé avec succès",
|
|
144566
144595
|
"ManagePlugins.updateFailed": "Une erreur s'est produite lors de la tentative de mise à jour du plugin !",
|
|
@@ -144768,7 +144797,6 @@
|
|
|
144768
144797
|
}
|
|
144769
144798
|
|
|
144770
144799
|
var es$2 = {
|
|
144771
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
144772
144800
|
"Generic.Ok": "Ok",
|
|
144773
144801
|
"Generic.Save": "Guardar",
|
|
144774
144802
|
"Generic.Cancel": "Cancelar",
|
|
@@ -146534,6 +146562,7 @@
|
|
|
146534
146562
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
146535
146563
|
"ManagePlugins.title": "Complementos",
|
|
146536
146564
|
"ManagePlugins.addNewPlugin": "Agregar nuevo complemento",
|
|
146565
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
146537
146566
|
"ManagePlugins.updateSucceeded": "Complemento actualizado con éxito",
|
|
146538
146567
|
"ManagePlugins.deleteSucceeded": "Complemento eliminado con éxito",
|
|
146539
146568
|
"ManagePlugins.updateFailed": "Ocurrió un error al intentar actualizar el complemento.",
|
|
@@ -146740,7 +146769,6 @@
|
|
|
146740
146769
|
}
|
|
146741
146770
|
|
|
146742
146771
|
var zh$1 = {
|
|
146743
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
146744
146772
|
"Generic.Ok": "好的",
|
|
146745
146773
|
"Generic.Save": "保存",
|
|
146746
146774
|
"Generic.Cancel": "取消",
|
|
@@ -148506,6 +148534,7 @@
|
|
|
148506
148534
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
148507
148535
|
"ManagePlugins.title": "插件",
|
|
148508
148536
|
"ManagePlugins.addNewPlugin": "添加新插件",
|
|
148537
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
148509
148538
|
"ManagePlugins.updateSucceeded": "成功更新插件",
|
|
148510
148539
|
"ManagePlugins.deleteSucceeded": "成功刪除插件",
|
|
148511
148540
|
"ManagePlugins.updateFailed": "嘗試更新插件時出現問題。",
|
|
@@ -148698,7 +148727,6 @@
|
|
|
148698
148727
|
});
|
|
148699
148728
|
|
|
148700
148729
|
var zh = {
|
|
148701
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
148702
148730
|
"Generic.Ok": "好的",
|
|
148703
148731
|
"Generic.Save": "保存",
|
|
148704
148732
|
"Generic.Cancel": "取消",
|
|
@@ -150464,6 +150492,7 @@
|
|
|
150464
150492
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
150465
150493
|
"ManagePlugins.title": "插件",
|
|
150466
150494
|
"ManagePlugins.addNewPlugin": "添加新插件",
|
|
150495
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
150467
150496
|
"ManagePlugins.updateSucceeded": "已成功更新插件",
|
|
150468
150497
|
"ManagePlugins.deleteSucceeded": "已成功删除插件",
|
|
150469
150498
|
"ManagePlugins.updateFailed": "尝试更新插件时出现问题。",
|
|
@@ -150670,7 +150699,6 @@
|
|
|
150670
150699
|
}
|
|
150671
150700
|
|
|
150672
150701
|
var ja$2 = {
|
|
150673
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
150674
150702
|
"Generic.Ok": "OK",
|
|
150675
150703
|
"Generic.Save": "保存",
|
|
150676
150704
|
"Generic.Cancel": "キャンセル",
|
|
@@ -152436,6 +152464,7 @@
|
|
|
152436
152464
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
152437
152465
|
"ManagePlugins.title": "プラグイン",
|
|
152438
152466
|
"ManagePlugins.addNewPlugin": "新規プラグイン追加",
|
|
152467
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
152439
152468
|
"ManagePlugins.updateSucceeded": "プラグインの更新が完了しました",
|
|
152440
152469
|
"ManagePlugins.deleteSucceeded": "プラグインの削除が完了しました",
|
|
152441
152470
|
"ManagePlugins.updateFailed": "プラグインを更新しようとしたときに、何らかの問題が発生しました。",
|
|
@@ -152643,7 +152672,6 @@
|
|
|
152643
152672
|
}
|
|
152644
152673
|
|
|
152645
152674
|
var tr$2 = {
|
|
152646
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
152647
152675
|
"Generic.Ok": "Tamam",
|
|
152648
152676
|
"Generic.Save": "Kaydet",
|
|
152649
152677
|
"Generic.Cancel": "İptal",
|
|
@@ -154409,6 +154437,7 @@
|
|
|
154409
154437
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
154410
154438
|
"ManagePlugins.title": "Eklentiler",
|
|
154411
154439
|
"ManagePlugins.addNewPlugin": "Yeni eklenti ekle",
|
|
154440
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
154412
154441
|
"ManagePlugins.updateSucceeded": "Eklenti başarıyla güncellendi",
|
|
154413
154442
|
"ManagePlugins.deleteSucceeded": "Eklenti başarıyla silindi",
|
|
154414
154443
|
"ManagePlugins.updateFailed": "Eklenti güncellenirken bir takım aksilikler oldu",
|
|
@@ -154617,7 +154646,6 @@
|
|
|
154617
154646
|
}
|
|
154618
154647
|
|
|
154619
154648
|
var it$2 = {
|
|
154620
|
-
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
154621
154649
|
"Generic.Ok": "Ok",
|
|
154622
154650
|
"Generic.Save": "Salva",
|
|
154623
154651
|
"Generic.Cancel": "Elimina",
|
|
@@ -156383,6 +156411,7 @@
|
|
|
156383
156411
|
"Chats.userLeft.systemMessage": "{user} left the group",
|
|
156384
156412
|
"ManagePlugins.title": "Plugin",
|
|
156385
156413
|
"ManagePlugins.addNewPlugin": "Aggiungi nuovo plugin",
|
|
156414
|
+
"ManagePlugins.uploadPlugin": "Upload new plugin",
|
|
156386
156415
|
"ManagePlugins.updateSucceeded": "Plugin aggiornato con successo",
|
|
156387
156416
|
"ManagePlugins.deleteSucceeded": "Plugin eliminato con successo",
|
|
156388
156417
|
"ManagePlugins.updateFailed": "Si è verificato un errore durante il tentativo di aggiornare il plugin!",
|
|
@@ -218086,6 +218115,7 @@
|
|
|
218086
218115
|
exports.ClearAllFiltersButton = ClearAllFiltersButton;
|
|
218087
218116
|
exports.EventDetail = EventDetail;
|
|
218088
218117
|
exports.KeywordsFilter = KeywordsFilter;
|
|
218118
|
+
exports.KeywordsFilterDropdown = KeywordsFilterDropdown;
|
|
218089
218119
|
exports.ManageChannels = ManageChannels;
|
|
218090
218120
|
exports.NewsDetail = NewsDetail;
|
|
218091
218121
|
exports.NewsDetailPreview = NewsDetailPreview;
|