gctGenerator/docs/assets/js/6.6d5d70e2.js

1 line
23 KiB
JavaScript
Raw Normal View History

2023-10-16 17:40:28 +09:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,9,11,12,14,15,17,20,21],{242:function(e,t,n){},243:function(e){e.exports=JSON.parse('{"ja-JP":{"h3":{"appearance":"見た目"},"location":"位置:","fontSize":"文字サイズ:","fgColor":"文字色:","fgColorGrad":"グラデーション","fgColor1":"文字色(上)","fgColor2":"文字色(下)","alpha":"不透明度=","bgColor":"背景色:","bgOffset":"背景位置:","size":"サイズ:","left":"左","right":"右","top":"上","bottom":"下","display":{"duration":"表示時間:","frame":"(フレーム)","sec":"(秒)"}},"en-US":{"h3":{"appearance":"Appearance"},"location":"Location: ","fontSize":"Font size: ","fgColor":"Font color: ","fgColorGrad":"Gradient","fgColor1":"Font color(Top): ","fgColor2":"Font color(Bottom): ","alpha":"Alpha=","bgColor":"Background color: ","bgOffset":"Background offset: ","size":"Size: ","left":"Left","right":"Right","top":"Top","bottom":"Bottom","display":{"duration":"Display duration: ","frame":"(frame)","sec":"(sec)"}},"fr-FR":{"location":"Position : ","fontSize":"Taille de police : ","fgColor":"Couleur du texte : ","fgColorGrad":"Dégradé","fgColor1":"Couleur du texte (haut) : ","fgColor2":"Couleur du texte (bas) : ","bgColor":"Couleur de fond : ","alpha":"Alpha = "}}')},244:function(e,t,n){"use strict";n.r(t);var o=n(243),r=n(241);const i=e=>({get(){return this.$props.value[e]},set(t){this.update({[e]:t})}});var a={props:{value:{type:Object}},computed:{l(){var e;return null!==(e=o[this.$lang])&&void 0!==e?e:o["en-US"]},...Object.fromEntries(["x","y","fontSize","fgRGB","fgA","fgRGB2","fgA2","bgRGB","bgA","bgLeft","bgRight","bgTop","bgBot"].map(e=>[e,i(e)]))},methods:{update(e){this.$emit("input",{...this.value,...e})},toggleGradient(e){e.target.checked?this.update({fgRGB2:this.fgRGB,fgA2:this.fgA}):this.update({fgRGB2:null,fgA2:null})},rgbI2S:r.f,rgbS2I:r.g,rgbaI2S:r.h}},s=(n(245),n(10)),u=Object(s.a)(a,(function(){var e=this,t=e._self._c;return t("div",[t("div",[t("span",[e._v(e._s(e.l.location)+"(")]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.x,expression:"x",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"600"},domProps:{value:e.x},on:{input:function(t){t.target.composing||(e.x=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v(", ")]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.y,expression:"y",modifiers:{number:!0}}],attrs:{type:"number",min:"16",max:"464"},domProps:{value:e.y},on:{input:function(t){t.target.composing||(e.y=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v(")")])]),e._v(" "),t("div",[t("span",[e._v(e._s(e.l.fontSize))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.fontSize,expression:"fontSize",modifiers:{number:!0}}],attrs:{type:"number",min:"0"},domProps:{value:e.fontSize},on:{input:function(t){t.target.composing||(e.fontSize=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),t("div",[t("span",[e._v(e._s(null==e.fgRGB2?e.l.fgColor:e.l.fgColor1))]),t("input",{attrs:{type:"color"},domProps:{value:e.rgbI2S(e.fgRGB)},on:{change:function(t){e.fgRGB=e.rgbS2I(t.target.value)}}}),e._v(" "),t("span",[e._v(e._s(e.l.alpha))]),t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.fgA,expression:"fgA",modifiers:{number:!0}}],attrs:{type:"number",min:"0",max:"255"},domProps:{value:e.fgA},on:{input:function(t){t.target.composing||(e.fgA=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("span",[e._v("/255="+e._s((e.fgA/2.55).toFixed(1))+"%")]),e._v(" "),t("input",{attrs:{type:"checkbox"},domProps:{checked:null!=e.fgRGB2},on:{change:e.toggleGradient}}),t("span",[e._v(e._s(e.l.fgColorGrad))])]),e._v(" "),null!=e.fgRGB2?t("div",[t("span",[e._v(e._s(e.l.fgColor2))]),t("input",{attrs:{type:"color"},domProps:{value:e.rgbI2S(e.fgRGB2)},on:{change:function(t){e.fgRGB2=e.rgbS2I(t.target.value)}}}),e._v(" "),t("span",[e._v(e._s(e.l.alpha))]),t("input",{directives:[{name:"model",rawName:"v-model.number",