var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,l,a){c instanceof String&&(c=String(c));for(var v=c.length,m=0;m<v;m++){var E=c[m];if(l.call(a,E,m,c))return{i:m,v:E}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,l,a){if(c==Array.prototype||c==Object.prototype)return c;c[l]=a.value;return c};$jscomp.getGlobal=function(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var l=0;l<c.length;++l){var a=c[l];if(a&&a.Math==Math)return a}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(c,l){var a=$jscomp.propertyToPolyfillSymbol[l];if(null==a)return c[l];a=c[a];return void 0!==a?a:c[l]};
$jscomp.polyfill=function(c,l,a,v){l&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(c,l,a,v):$jscomp.polyfillUnisolated(c,l,a,v))};$jscomp.polyfillUnisolated=function(c,l,a,v){a=$jscomp.global;c=c.split(".");for(v=0;v<c.length-1;v++){var m=c[v];if(!(m in a))return;a=a[m]}c=c[c.length-1];v=a[c];l=l(v);l!=v&&null!=l&&$jscomp.defineProperty(a,c,{configurable:!0,writable:!0,value:l})};
$jscomp.polyfillIsolated=function(c,l,a,v){var m=c.split(".");c=1===m.length;v=m[0];v=!c&&v in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var E=0;E<m.length-1;E++){var P=m[E];if(!(P in v))return;v=v[P]}m=m[m.length-1];a=$jscomp.IS_SYMBOL_NATIVE&&"es6"===a?v[m]:null;l=l(a);null!=l&&(c?$jscomp.defineProperty($jscomp.polyfills,m,{configurable:!0,writable:!0,value:l}):l!==a&&(void 0===$jscomp.propertyToPolyfillSymbol[m]&&(a=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[m]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(m):$jscomp.POLYFILL_PREFIX+a+"$"+m),$jscomp.defineProperty(v,$jscomp.propertyToPolyfillSymbol[m],{configurable:!0,writable:!0,value:l})))};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(l,a){return $jscomp.findInternal(this,l,a).v}},"es6","es3");
(function(){function c(){var n=null,G=0,O=c.SUNDAY,z=75600,A,D=!0,F;this.setPeriodChangedListener=function(d){F=d};this.setPeriod=function(d){if(null===n||n===c.Period_Monthly||n===c.Period_Weekly||n===c.Period_Daily||n===c.Period_Custom)n=d,F&&F();else throw Error("IllegalArgument: "+n);};this.getPeriod=function(){return n};this.setDayAtMonthly=function(d){if(-31>d||31<d)throw Error("IllegalArgument: "+d);G=d};this.getDayAtMonthly=function(){return G};this.setWeekAtWeekly=function(d){if(0>d||128<=
d)throw Error("IllegalArgument: "+d);O=d};this.getWeekAtWeekly=function(){return O};this.setCron=function(d){A=d};this.getCron=function(){return A};this.setCronFlag=function(d){D=d};this.getCronFlag=function(){return D};this.setTimeOffset=function(d){if(0>d||86400<=d)throw Error("IllegalArgument: "+d);z=d};this.getTimeOffset=function(){return z};this.toJsonObject=function(){var d={};d.period=n;d.dayAtMonthly=G;d.weekAtWeekly=O;d.time=z;d.cron=A;return d};this.fromJsonObject=function(d){var M=d.period;
n=M?M:null;G=d.dayAtMonthly;O=d.weekAtWeekly;z=d.time;A=d.cron};this.copy=function(){var d=new c;d.setPeriod(n);d.setDayAtMonthly(G);d.setWeekAtWeekly(O);d.setTimeOffset(z);d.setCron(A);return d};this.toString=function(){var d;n?c.Period_Monthly==n?d=a.get("monthly","\u6bcf\u6708"):c.Period_Weekly==n?d=a.get("weekly","\u6bcf\u5468"):c.Period_Daily==n?d=a.get("daily","\u6bcf\u5929"):c.Period_Custom==n&&(d=a.get("customCron","\u81ea\u5b9a\u4e49")):d=a.get("noperiod","\u6682\u4e0d\u8bbe\u7f6e");return d}}
"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.schedule&&(com.kingdee.bos.qing.schedule={});var l=com.kingdee.bos.qing.schedule;l.QingSchedule=c;l.ScheduleSelector=function(){function n(b,e,u){this.toString=function(){return b};this.getPeriod=function(){return e};this.getSettingPane=function(){return u}}
function G(){var b=this,e,u,h=!1;this.getJqUi=function(){e||(e=$("<div>"),b.protectedInitUi(e));return e};this.model2Ui=function(t){u=t;h=!0;b.protectedModel2Ui(t);h=!1};this.protectedInitUi=function(t){throw Error("Override me.");};this.protectedModel2Ui=function(t){throw Error("Override me.");};this.protectedMethod={getScheduleModel:function(){return u},isCtrlEventStopped:function(){return h}}}function O(){G.call(this);var b=this.protectedMethod,e,u=new Z,h=new m,t,B;this.protectedInitUi=function(q){h.setText(a.get("cronExpression",
"\u8868\u8fbe\u5f0f"));var w=h.getJqUi();w.attr("title",a.get("cronExpression","\u8868\u8fbe\u5f0f"));var k=$("<div>");k.text(a.get("cronTipsMain","Cron\u8868\u8fbe\u5f0f\u75317\u90e8\u5206\u7ec4\u6210\uff0c\u6bcf\u90e8\u5206\u7a7a\u683c\u9694\u5f00\uff0c\u4f9d\u6b21\u5206\u522b\u4e3a\uff1a\u79d2\u3001\u5206\u3001\u65f6\u3001\u65e5\u3001\u6708\u3001\u661f\u671f\u51e0\u3001\u5e74\u3002\u5176\u4e2d\u6700\u540e\u4e00\u90e8\u5206\uff08\u5e74\uff09\u53ef\u4ee5\u7701\u7565\u3002"));var f=$("<table>");f.css({"border-collapse":"collapse"});
var g=H(f);g(a.get("cronTipsPartName","\u540d\u79f0"),a.get("cronTipsPartValue","\u5141\u8bb8\u503c"),a.get("cronTipsPartChars","\u5141\u8bb8\u7684\u7279\u6b8a\u5b57\u7b26")).css({"font-weight":"bold"});g(a.get("cronTipsSecond","\u79d2"),"0-59",", - / *");g(a.get("cronTipsMinute","\u5206"),"0-59",", - / *");g(a.get("cronTipsHour","\u65f6"),"0-23",", - / *");g(a.get("cronTipsDay","\u65e5"),"1-31",", - / * ?");g(a.get("cronTipsMonth","\u6708"),"1-12 or JAN-DEC",", - / *");g(a.get("cronTipsWeek","\u661f\u671f\u51e0"),
"1-7 or SUN-SAT",", - / * ?");g(a.get("cronTipsYear","\u5e74"),"1970-2099",", - / *");var C=$("<Ul>");C.css({"list-style":"none","padding-left":"10px"});var J=I(C);J(","+a.get("cronTipsChar1","\uff08\u9017\u53f7\uff09\u8868\u793a\u591a\u4e2a\u503c\u5e76\u5217\u3002"));J("-"+a.get("cronTipsChar2","\uff08\u6a2a\u6746\uff09\u8868\u793a\u8303\u56f4\u3002"));J("/"+a.get("cronTipsChar3","\uff08\u659c\u6746\uff09m/n\u8868\u793a\u4ecem\u5f00\u59cb\u6bcf\u6b21\u589e\u52a0n\u3002"));J("*"+a.get("cronTipsChar4",
"\uff08\u661f\u53f7\uff09\u8868\u793a\u6240\u6709\u53ef\u80fd\u3002"));J("?"+a.get("cronTipsChar5","\uff08\u95ee\u53f7\uff09\u8868\u793a\u5ffd\u7565\uff0c\u201c\u65e5\u201d\u548c\u201c\u661f\u671f\u51e0\u201d\u6709\u51b2\u7a81\uff0c\u5176\u4e2d\u4e00\u4e2a\u5fc5\u987b\u7528\u95ee\u53f7\u3002"));J=$("<div>");J.css({"font-weight":"bold"});J.text(a.get("cronTipsExample","\u793a\u4f8b\uff1a"));var aa=$("<table>");g=H(aa);g("0 15 23 * * ?",a.get("cronTipsExample1","\u6bcf\u592923\u70b915\u5206\u6267\u884c\u4e00\u6b21\u3002"));
g("0 0 13,18,21 * * ?",a.get("cronTipsExample2","\u6bcf\u592913\u70b9\u300118\u70b9\u300121\u70b9\u5404\u6267\u884c\u4e00\u6b21\u3002"));g("0 0 2 1 * ?",a.get("cronTipsExample3","\u6bcf\u67081\u53f7\u51cc\u66682\u70b9\u6267\u884c\u4e00\u6b21\u3002"));g("0 30 9-11 ? * WED,FRI",a.get("cronTipsExample4","\u6bcf\u5468\u4e09\u6bcf\u5468\u4e94\u76849:30\u300110:30\u300111:30\u5404\u6267\u884c\u4e00\u6b21\u3002"));g("0 0/10 * * * ?",a.get("cronTipsExample5","\u6bcf10\u5206\u949f\u6267\u884c\u4e00\u6b21\u3002"));
g=$("<div>");g.append(k);g.append($("<br>"));g.append(f);g.append(C);g.append(J);g.append(aa);k=new Q;k.setIconType(Q.ICON_TYPE_QUESTION);k.setTipsSize(600,500);k.setTipsHtml(g.html());f=new Q;f.setIconType(Q.ICON_TYPE_INFO);t=f;B=t.getJqUi();B.hide();r(q,w,10,5,50,23);r(q,k.getJqUi(),50,9,16,16);r(q,u.getJqUi(),70,5,160,23);r(q,B,235,11,16,16);u.addEditedListener(p)};var I=function(q){return function(w){var k=$("<li>");k.text(w);k.appendTo(q)}},H=function(q){var w=function(k,f){var g=$("<td>");g.css("padding",
"2px 10px");g.text(f);g.appendTo(k)};return function(k,f,g){var C=$("<tr>");C.css({"border-bottom":"1px solid #ddd"});w(C,k);w(C,f);g&&w(C,g);C.appendTo(q);return C}},p=function(q){b.isCtrlEventStopped()||(b.getScheduleModel().setCron($.trim(u.getText())),y());K()};this.protectedModel2Ui=function(q){u.setText(q.getCron())};var y=function(){b.getScheduleModel().setCronFlag(!1);clearTimeout(e);e=setTimeout(function(){var q=b.getScheduleModel().getCron();"undefined"==typeof q||""==q?(q=a.get("cronErrorNotEmpty",
"\u8bbe\u7f6e\u4e2d\u8868\u8fbe\u5f0f\u5fc5\u987b\u4e0d\u80fd\u4e3a\u7a7a\uff0c\u683c\u5f0f\u5982 0 0 12 * * ?"),x(!0,q)):U?U(q,function(w){b.getScheduleModel().setCronFlag(!0);for(var k=a.get("cronAnalysisResult","\u6700\u8fd15\u6b21\u8fd0\u884c\u65f6\u95f4"),f=0;f<w.length;f++)k=k+"<br/>"+w[f];x(!1,k);K()},function(w,k){var f=!1;2012001==w&&(k=a.get(k,"\u53c2\u6570\u9519\u8bef\uff0c\u8868\u8fbe\u5f0f\u6709\u8bef\u3002"),f=!0);x(!0,k);return f}):b.getScheduleModel().setCronFlag(!0)},1E3)};this.showNoAllowedNullPrompt=
function(){var q=a.get("cronErrorNotEmpty","\u8bbe\u7f6e\u4e2d\u8868\u8fbe\u5f0f\u5fc5\u987b\u4e0d\u80fd\u4e3a\u7a7a\uff0c\u683c\u5f0f\u5982 0 0 12 * * ?");x(!0,q)};var x=function(q,w){var k=t.getJqUi();k.is(":hidden")&&k.show();q?V.background(k,"verified-wrong"):V.background(k,"verified-right");t.setTipsHtml(w)}}var z=$("<div>"),A=$("<div>"),D=new c,F,d,M=new v,R=!1,ba=!0,W=!1,ca=a.get("noperiod","\u6682\u4e0d\u8bbe\u7f6e"),da=a.get("setperiod","\u8bbe\u7f6e\u5468\u671f"),U,X,L=[new n(a.get("monthly",
"\u6bcf\u6708"),c.Period_Monthly,new function(){G.call(this);var b=this.protectedMethod,e=new E,u=new E,h=new ea,t=new S;this.protectedInitUi=function(p){var y=new m;y.setText(a.get("num","\u7b2c"));var x=new m;x.setText(a.get("day","\u5929"));var q=new m;q.setText(a.get("lastDay","\u6700\u540e\u4e00\u5929"));var w=new m;w.setText(a.get("time","\u65f6\u95f4:"));r(p,e.getJqUi(),70,5,20,23);r(p,y.getJqUi(),90,5,60,23);r(p,h.getJqUi(),110,5,60,23);r(p,x.getJqUi(),175,5,60,23);r(p,u.getJqUi(),70,35,20,
23);r(p,q.getJqUi(),90,35,60,23);r(p,w.getJqUi(),10,65,100,23);r(p,t.getJqUi(),70,65,160,23);h.setConstraint(1,31,1);h.setValue(1);p=new P;e.setChecked(!0);p.addElement(e);p.addElement(u);h.addValueChangedListener(B);p.addChangedListener(H);t.addSelectionListener(I)};this.protectedModel2Ui=function(p){var y=p.getDayAtMonthly();0<y?(e.setChecked(!0),h.setValue(parseInt(y))):u.setChecked(!0);p=Y(p.getTimeOffset());t.setSelected(p[0],p[1],p[2])};var B=function(p,y,x){b.isCtrlEventStopped()||(b.getScheduleModel().setDayAtMonthly(x),
K())},I=function(p){if(!b.isCtrlEventStopped()){var y=p.getHour();var x=p.getMinute();p=p.getSecond();y=3600*y+60*x+p;b.getScheduleModel().setTimeOffset(y);K()}},H=function(p,y){b.isCtrlEventStopped()||(e.isChecked()?(b.getScheduleModel().setDayAtMonthly(h.getValue()),h.setEnabled(!0)):(b.getScheduleModel().setDayAtMonthly(-1),h.setEnabled(!1)),K())}}),new n(a.get("weekly","\u6bcf\u5468"),c.Period_Weekly,new function(){G.call(this);var b=this.protectedMethod,e=new N,u=new N,h=new N,t=new N,B=new N,
I=new N,H=new N,p=new S,y;this.protectedInitUi=function(f){var g=new m;g.setText(a.get("week","\u661f\u671f:"));e.setText(a.get("monday","\u661f\u671f\u4e00"));u.setText(a.get("tuesday","\u661f\u671f\u4e8c"));h.setText(a.get("wednesday","\u661f\u671f\u4e09"));t.setText(a.get("thursday","\u661f\u671f\u56db"));B.setText(a.get("friday","\u661f\u671f\u4e94"));I.setText(a.get("saturday","\u661f\u671f\u516d"));H.setText(a.get("sunday","\u661f\u671f\u65e5"));var C=new m;C.setText(a.get("time","\u65f6\u95f4:"));
r(f,g.getJqUi(),10,5,200,23);r(f,C.getJqUi(),10,125,100,23);r(f,e.getJqUi(),70,5,100,23);r(f,u.getJqUi(),70,35,100,23);r(f,h.getJqUi(),70,65,100,23);r(f,t.getJqUi(),70,95,100,23);r(f,B.getJqUi(),160,5,100,23);r(f,I.getJqUi(),160,35,100,23);r(f,H.getJqUi(),160,65,100,23);r(f,p.getJqUi(),70,125,160,23);e.addCheckedListener(k);u.addCheckedListener(k);h.addCheckedListener(k);t.addCheckedListener(k);B.addCheckedListener(k);I.addCheckedListener(k);H.addCheckedListener(k);p.addSelectionListener(w)};this.protectedModel2Ui=
function(f){y=f.getWeekAtWeekly();q(e,c.MONDAY);q(u,c.TUESDAY);q(h,c.WEDNESDAY);q(t,c.THURSDAY);q(B,c.FRIDAY);q(I,c.SATURDAY);q(H,c.SUNDAY);f=Y(f.getTimeOffset());p.setSelected(f[0],f[1],f[2])};var x=function(f,g){return f.isChecked()?g:0},q=function(f,g){f.setChecked((y&g)==g)},w=function(f){if(!b.isCtrlEventStopped()){var g=f.getHour();var C=f.getMinute();f=f.getSecond();g=3600*g+60*C+f;b.getScheduleModel().setTimeOffset(g);K()}},k=function(f,g){b.isCtrlEventStopped()||(f=x(e,c.MONDAY)|x(u,c.TUESDAY)|
x(h,c.WEDNESDAY)|x(t,c.THURSDAY)|x(B,c.FRIDAY)|x(I,c.SATURDAY)|x(H,c.SUNDAY),b.getScheduleModel().setWeekAtWeekly(f),K())}}),new n(a.get("daily","\u6bcf\u5929"),c.Period_Daily,new function(){G.call(this);var b=this.protectedMethod,e=new S;this.protectedInitUi=function(h){var t=new m;t.setText(a.get("time","\u65f6\u95f4:"));r(h,t.getJqUi(),10,5,100,23);r(h,e.getJqUi(),70,5,160,23);e.addSelectionListener(u)};this.protectedModel2Ui=function(h){h=Y(h.getTimeOffset());e.setSelected(h[0],h[1],h[2])};var u=
function(h){if(!b.isCtrlEventStopped()){var t=h.getHour();var B=h.getMinute();h=h.getSecond();t=3600*t+60*B+h;b.getScheduleModel().setTimeOffset(t)}K()}})];this.getJqUi=function(){if(W)r(z,A,0,0,300,200);else{F=new E;d=new E;F.setText(ca);d.setText(da);var b=new P;b.addElement(F);b.addElement(d);b.addChangedListener(ia);r(z,F.getJqUi(),0,0,250,23);r(z,d.getJqUi(),0,30,200,23);r(z,A,10,55,300,200)}ba&&L.push(new n(a.get("customCron","\u81ea\u5b9a\u4e49"),c.Period_Custom,new O));M.setItemModels(L);
M.addSelectedChangedListener(ja);b=new m;b.setText(a.get("perid","\u5468\u671f:"));r(A,b.getJqUi(),10,5,200,23);r(A,M.getJqUi(),70,5,160,23);fa();z.append(A);return z};this.showCustomPanePrompt=function(){for(var b in L){var e=L[b];if(e.getPeriod()===c.Period_Custom){e.getSettingPane().showNoAllowedNullPrompt();break}}};this.setTimingButtonDisabled=function(b){d.setEnabled(!b)};this.setTimingButtonTip=function(b){if(!(0<z.find(".schedule-selector-timing-button-tip").length)){var e=$("<div class='schedule-selector-timing-button-tip'>");
e.text("("+b+")");e.css({color:"#c0c0c0","line-height":"22px"});r(z,e,83,31)}};this.removeTimingButtonTip=function(){var b=z.find(".schedule-selector-timing-button-tip");b&&b.remove()};this.setCronAnalysisFacade=function(b){U=b};this.setScheduleChangedListener=function(b){X=b};var K=function(){X&&X()};this.setUnTimingButtonText=function(b){ca=b};this.setTimingButtonText=function(b){da=b};this.allowCustomPeriod=function(b){ba=b};this.isOnlyPeriod=function(b){W=b};this.setSchedule=function(b){b&&(D=
b,fa())};this.getSchedule=function(){return D};var fa=function(){D.setPeriodChangedListener(ka);R=!0;var b=D.getPeriod(),e=null!=b;d&&d.setChecked(e);F&&F.setChecked(!e);W?(b=T(b)?T(b):L[0],D.setPeriod(b.getPeriod())):b=e?T(b):L[0];M.setSelected(b);ha();R=!1},T=function(b){for(var e=0;e<L.length;e++)if(L[e].getPeriod()==b)return L[e];return null},ia=function(b,e){R||(F&&F.isChecked()?D.setPeriod(null):(b=M.getSelected().getPeriod(),D.setPeriod(b)))},ja=function(b,e,u){R||(b=u.getPeriod(),D.setPeriod(b))},
ka=function(){ha();K()},ha=function(){if(null!=D.getPeriod()){A.show();A.find(".sa-schedule-timing-period").detach();var b=T(D.getPeriod()).getSettingPane(),e=b.getJqUi();e.addClass("sa-schedule-timing-period");e.css({position:"absolute",top:"30px"});e.appendTo(A);b.model2Ui(D)}else A.hide()},r=function(b,e,u,h,t,B){e.css("position","absolute");e.css("left",u+"px");e.css("top",h+"px");e.css("width",t+"px");e.css("height",B+"px");e.appendTo(b)},Y=function(b){var e=parseInt(b/3600%24),u=parseInt(b/
60%60);b=parseInt(b%60);return[e,u,b]}};var a,v,m,E,P,N,ea,S,Z,Q,V;(function(){var n=com.kingdee.bos.qing.ui.component;v=n.ComboBox;m=n.Label;E=n.RadioButton;P=n.RadioButtonGroup;N=n.CheckBox;ea=n.Spinner;S=n.TimeSelector;Z=n.TextField;Q=n.HelpIcon;V=n.Icons;n=com.kingdee.bos.qing.framework.common;a=n.MultilanguageManager.createPackageAccessor(l)})();c.Period_Monthly="Monthly";c.Period_Weekly="Weekly";c.Period_Daily="Daily";c.Period_Custom="Custom";c.SUNDAY=1;c.MONDAY=2;c.TUESDAY=4;c.WEDNESDAY=8;
c.THURSDAY=16;c.FRIDAY=32;c.SATURDAY=64})();
//qingVersionTag: 20250415