import { PanelHeight , PanelPosition , HasTitleThen , PanelControl , DetectUpdate } from "addons/ohmymn" ; import { AutoTitlePreset } from "addons/anotherautotitle" ; import { AutoListPreset } from "addons/autolist" ; import { AutoReplacePreset } from "addons/autoreplace" ; import { AutoStandardizePreset } from "addons/autostandardize" ; import { AutoStylePreset } from "addons/autostyle" ; import { AutoTagPreset } from "addons/autotag" ; import { QuickSwitch } from "synthesizer" ; import { ReplaceParam } from "utils/input" ; const profilePreset = { ohmymn : { quickSwitch : [ ] as QuickSwitch [ ] , lockExcerpt : false , screenAlwaysOn : false , hasTitleThen : [ HasTitleThen . ExpertText ] , panelControl : [ ] as PanelControl [ ] , panelPosition : [ PanelPosition . Auto ] , panelHeight : [ PanelHeight . Standard ] , detectUpdate : [ DetectUpdate . None ] , detectUpdateInfo : { day : new Date ( ) . getDay ( ) } } , gesture : { singleBarSwipeUp : [ 0 ] , singleBarSwipeDown : [ 0 ] , singleBarSwipeRight : [ 0 ] , singleBarSwipeLeft : [ 0 ] , muiltBarSwipeUp : [ 0 ] , muiltBarSwipeDown : [ 0 ] , muiltBarSwipeRight : [ 0 ] , muiltBarSwipeLeft : [ 0 ] } , autocomplete : { customComplete : "{{zh}}" } , autostandardize : { preset : [ ] as AutoStandardizePreset [ ] , customStandardize : "" , standardizeTitle : false } , anotherautotitle : { preset : [ ] as AutoTitlePreset [ ] , changeTitleNoLimit : false , wordCount : "[10, 5]" , customBeTitle : "" } , anotherautodef : { preset : [ ] as number [ ] , onlyDesc : false , toTitleLink : false , customSplit : "" , customDefLink : "" , customExtractTitle : "" } , autolist : { preset : [ ] as AutoListPreset [ ] , customList : "" } , autoreplace : { preset : [ ] as AutoReplacePreset [ ] , customReplace : "" } , autotag : { preset : [ ] as AutoTagPreset [ ] , customTag : "" } , autostyle : { preset : [ ] as AutoStylePreset [ ] , wordCountArea : "[10, 5, 10]" , showArea : false , defaultTextExcerptColor : [ 0 ] , defaultPicExcerptColor : [ 0 ] , defaultTextExcerptStyle : [ 0 ] , defaultPicExcerptStyle : [ 0 ] } } ; const docProfilePreset = { ohmymn : { profile : [ 0 ] , autoCorrect : false } } ; const profileTempPreset = { replaceParam : { customTag : [ { } ] as ReplaceParam [ ] | undefined , customList : [ { } ] as ReplaceParam [ ] | undefined , customReplace : [ { } ] as ReplaceParam [ ] | undefined , customExtractTitle : [ { } ] as ReplaceParam [ ] | undefined , customStandardize : [ { } ] as ReplaceParam [ ] | undefined } , regArray : { customSplit : [ [ ] ] as RegExp [ ] [ ] | undefined , customBeTitle : [ [ ] ] as RegExp [ ] [ ] | undefined , customDefLink : [ [ ] ] as RegExp [ ] [ ] | undefined } } ; type IProfileTemp = typeof profileTempPreset ; type IProfile = typeof profilePreset ; type IDocProfile = typeof docProfilePreset ; export { profilePreset , docProfilePreset , profileTempPreset , IProfile , IDocProfile , IProfileTemp } ;