提交 5e5951a8 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,Mob]

上级 74d640e5
......@@ -6,7 +6,60 @@
并且此项目遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/).
## [Unreleased]
### [0.0.5] - 2023-11-15
### Added
- 多选择视图支持回显 & 多选按钮无数据禁用
- 文件禁用支持下载
- 卡片视图显示无数据
- 选择视图支持回显
- 多数据选择视图布局支持搜索栏
### Change
- 只读样式兼容
- 背景色变量更正
- 亮色主题色变量更新
- vant主题变量 & 背景色变量更正
## [0.0.4] - 2023-11-15
### Added
- 新增外部依赖: loglevel、loglevel-plugin-prefix
### Changed
- 修改外部依赖为 systemJs 格式: ramda、lodash、qs、axios、dayjs、async-validator、qx-util、handlebars
### Fixed
- 修正因外部依赖为非 systemJs 格式包,safari 解析不正常导致的界面无法显示
## [0.0.3] - 2023-11-14
### Change
- 右侧工具栏右对齐样式
- 布局支持flexBasis
- 禁用默认滚动content 采用固定规则下的滚动class控制滚动
- 表单项容器行高默认值引用表单项行高
- 视图通用头部剧中对齐 工具栏俩侧宽度固定
- 基础样式调整
- vant样式变量调整
### Added
- 多数据部件支持选择模式
- 数据选择多选支持删除单项
## [0.0.2] - 2023-11-12
### Fixed
- 修复表单重复器值规则无效
......
{
"name": "test-ionic",
"private": true,
"version": "0.0.2",
"version": "0.0.5",
"description": "An Ionic project",
"scripts": {
"dev": "vite",
......@@ -11,13 +11,13 @@
},
"dependencies": {
"@ibiz-template-package/vs-tree-ex": "^0.1.1",
"@ibiz-template/core": "0.2.15",
"@ibiz-template/mob-theme": "^0.2.7",
"@ibiz-template/mob-vue3-components": "0.0.1-alpha.18",
"@ibiz-template/model-helper": "0.2.16",
"@ibiz-template/runtime": "0.2.16",
"@ibiz-template/core": "0.2.18-dev.1",
"@ibiz-template/mob-theme": "^0.2.9",
"@ibiz-template/mob-vue3-components": "0.0.1-alpha.21",
"@ibiz-template/model-helper": "0.2.18-dev.2",
"@ibiz-template/runtime": "0.2.18-dev.2",
"@ibiz-template/theme": "0.2.13",
"@ibiz-template/vue3-util": "0.2.16",
"@ibiz-template/vue3-util": "0.2.18-dev.2",
"@ibiz/model-core": "^0.0.20",
"async-validator": "^4.2.5",
"dayjs": "^1.11.10",
......@@ -30,57 +30,56 @@
"ramda": "^0.29.1",
"vant": "^4.7.2",
"vue": "^3.3.8",
"vue-i18n": "^9.5.0",
"vue-i18n": "^9.6.5",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@types/jest": "^29.5.6",
"@types/lodash-es": "^4.17.10",
"@types/node": "^20.8.7",
"@types/qs": "^6.9.9",
"@types/ramda": "^0.29.7",
"@types/systemjs": "^6.13.4",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@commitlint/cli": "^18.4.1",
"@commitlint/config-conventional": "^18.4.0",
"@types/jest": "^29.5.8",
"@types/lodash-es": "^4.17.11",
"@types/node": "^20.9.0",
"@types/qs": "^6.9.10",
"@types/ramda": "^0.29.8",
"@types/systemjs": "^6.13.5",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitejs/plugin-legacy": "^4.1.1",
"@vitejs/plugin-vue": "^4.4.0",
"@vitejs/plugin-vue": "^4.4.1",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/eslint-config-typescript": "^12.0.0",
"cpy": "8.1.2",
"eslint": "^8.52.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-vue": "^9.17.0",
"eslint-plugin-vue": "^9.18.1",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^15.0.2",
"lint-staged": "^15.1.0",
"postcss": "^8.4.31",
"postcss-scss": "^4.0.9",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.69.4",
"sass": "^1.69.5",
"stylelint": "^15.11.0",
"stylelint-config-ali": "^1.1.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-scss": "^5.2.1",
"terser": "^5.22.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-scss": "^5.3.1",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-eslint": "^1.8.1",
"vue-eslint-parser": "^9.3.2",
"vue-tsc": "^1.8.20"
"vue-tsc": "^1.8.22"
},
"lint-staged": {
"*.{ts,vue}": "eslint --fix",
"*.scss": "stylelint --custom-syntax=postcss-scss"
}
}
}
\ No newline at end of file
此差异已折叠。
function getQueryVariable(variable) {
var query = location.search.substring(1);
var vars = query.split('&');
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split('=');
if (pair[0] == variable) {
return pair[1];
}
}
return false;
}
function setCookie(name, value, day, isDomain, path) {
if (day == null) {
day = 0;
}
if (isDomain == null) {
isDomain = false;
}
if (path == null) {
path = '/';
}
var domain = '';
// 设置cookie到主域下
if (isDomain) {
// 是否为ip正则
const regExpr =
/^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/;
// 为ip时忽略
if (!regExpr.test(location.hostname)) {
const host = location.hostname;
if (host.indexOf('.') !== host.lastIndexOf('.')) {
domain = ';domain=' + host.substring(host.indexOf('.'), host.length);
}
}
}
if (day !== 0) {
//当设置的时间等于0时,不设置expires属性,cookie在浏览器关闭后删除
const expires = day * 24 * 60 * 60 * 1000;
const date = new Date(new Date().getTime() + expires);
document.cookie =
name +
'=' +
escape(value) +
';path=' +
path +
';expires=' +
date.toUTCString() +
domain;
} else {
document.cookie = name + '=' + escape(value) + ';path=' + path + domain;
}
}
function clearCookie(cookieName, isDomain) {
this.setCookie(cookieName, '', -1, isDomain);
}
window.onload = function () {
var infoEl = document.getElementById('redirect-info');
var errInfoEl = document.getElementById('redirect-error');
// 显示错误信息
var showError = function (info) {
errInfoEl.textContent = info;
infoEl.style.display = 'none';
errInfoEl.style.display = 'block';
};
var load = function () {
var token = getQueryVariable('token');
var expirein = getQueryVariable('expirein');
if (!token) {
showError('「token」信息获取失败,请稍后重试!');
return;
}
var ru = getQueryVariable('RU');
if (ru) {
ru = decodeURIComponent(ru);
}
clearCookie('ibzuaa-token', true);
setCookie('ibzuaa-token', token, 0, true);
const expiredDate =
new Date().getTime() + (expirein || 7199) * 1000;
setCookie('ibzuaa-token-expires', `${expiredDate}`, 0, true);
window.location.href = ru;
};
var redirectInfoActionEl = document.getElementById('redirect-info-action');
redirectInfoActionEl.onclick = function () {
load();
};
load();
};
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob
System.register([],function(v){"use strict";return{execute:function(){const T="millisecond",E="second",I="minute",N="hour",f="day",g="week",d="month",W="quarter",_="year",m="date",j="YYYY-MM-DDTHH:mm:ssZ",F="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,J=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var Z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:s=>{const t=["th","st","nd","rd"],n=s%100;return`[${s}${t[(n-20)%10]||t[n]||t[0]}]`}};const U=(s,t,n)=>{const e=String(s);return!e||e.length>=t?s:`${Array(t+1-e.length).join(n)}${s}`},K=s=>{const t=-s.utcOffset(),n=Math.abs(t),e=Math.floor(n/60),r=n%60;return`${t<=0?"+":"-"}${U(e,2,"0")}:${U(r,2,"0")}`},R=(s,t)=>{if(s.date()<t.date())return-R(t,s);const n=(t.year()-s.year())*12+(t.month()-s.month()),e=s.clone().add(n,d),r=t-e<0,i=s.clone().add(n+(r?-1:1),d);return+(-(n+(t-e)/(r?e-i:i-e))||0)};var P={s:U,z:K,m:R,a:s=>s<0?Math.ceil(s)||0:Math.floor(s),p:s=>({M:d,y:_,w:g,d:f,D:m,h:N,m:I,s:E,ms:T,Q:W})[s]||String(s||"").toLowerCase().replace(/s$/,""),u:s=>s===void 0};let A="en";const M={};M[A]=Z;const b="$isDayjsObject",H=s=>s instanceof p||!!(s&&s[b]),y=(s,t,n)=>{let e;if(!s)return A;if(typeof s=="string"){const r=s.toLowerCase();M[r]&&(e=r),t&&(M[r]=t,e=r);const i=s.split("-");if(!e&&i.length>1)return y(i[0])}else{const{name:r}=s;M[r]=s,e=r}return!n&&e&&(A=e),e||!n&&A},a=v("default",function(s,t){if(H(s))return s.clone();const n=typeof t=="object"?t:{};return n.date=s,n.args=arguments,new p(n)}),V=(s,t)=>a(s,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset}),o=P;o.l=y,o.i=H,o.w=V;const G=s=>{const{date:t,utc:n}=s;if(t===null)return new Date(NaN);if(o.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){const e=t.match(z);if(e){const r=e[2]-1||0,i=(e[7]||"0").substring(0,3);return n?new Date(Date.UTC(e[1],r,e[3]||1,e[4]||0,e[5]||0,e[6]||0,i)):new Date(e[1],r,e[3]||1,e[4]||0,e[5]||0,e[6]||0,i)}}return new Date(t)};class p{constructor(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}parse(t){this.$d=G(t),this.init()}init(){const{$d:t}=this;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()}$utils(){return o}isValid(){return this.$d.toString()!==F}isSame(t,n){const e=a(t);return this.startOf(n)<=e&&e<=this.endOf(n)}isAfter(t,n){return a(t)<this.startOf(n)}isBefore(t,n){return this.endOf(n)<a(t)}$g(t,n,e){return o.u(t)?this[n]:this.set(e,t)}unix(){return Math.floor(this.valueOf()/1e3)}valueOf(){return this.$d.getTime()}startOf(t,n){const e=o.u(n)?!0:n,r=o.p(t),i=($,D)=>{const O=o.w(this.$u?Date.UTC(this.$y,D,$):new Date(this.$y,D,$),this);return e?O:O.endOf(f)},u=($,D)=>{const O=[0,0,0,0],Y=[23,59,59,999];return o.w(this.toDate()[$].apply(this.toDate("s"),(e?O:Y).slice(D)),this)},{$W:c,$M:S,$D:h}=this,L=`set${this.$u?"UTC":""}`;switch(r){case _:return e?i(1,0):i(31,11);case d:return e?i(1,S):i(0,S+1);case g:{const $=this.$locale().weekStart||0,D=(c<$?c+7:c)-$;return i(e?h-D:h+(6-D),S)}case f:case m:return u(`${L}Hours`,0);case N:return u(`${L}Minutes`,1);case I:return u(`${L}Seconds`,2);case E:return u(`${L}Milliseconds`,3);default:return this.clone()}}endOf(t){return this.startOf(t,!1)}$set(t,n){const e=o.p(t),r=`set${this.$u?"UTC":""}`,i={[f]:`${r}Date`,[m]:`${r}Date`,[d]:`${r}Month`,[_]:`${r}FullYear`,[N]:`${r}Hours`,[I]:`${r}Minutes`,[E]:`${r}Seconds`,[T]:`${r}Milliseconds`}[e],u=e===f?this.$D+(n-this.$W):n;if(e===d||e===_){const c=this.clone().set(m,1);c.$d[i](u),c.init(),this.$d=c.set(m,Math.min(this.$D,c.daysInMonth())).$d}else i&&this.$d[i](u);return this.init(),this}set(t,n){return this.clone().$set(t,n)}get(t){return this[o.p(t)]()}add(t,n){t=Number(t);const e=o.p(n),r=c=>{const S=a(this);return o.w(S.date(S.date()+Math.round(c*t)),this)};if(e===d)return this.set(d,this.$M+t);if(e===_)return this.set(_,this.$y+t);if(e===f)return r(1);if(e===g)return r(7);const i={[I]:6e4,[N]:36e5,[E]:1e3}[e]||1,u=this.$d.getTime()+t*i;return o.w(u,this)}subtract(t,n){return this.add(t*-1,n)}format(t){const n=this.$locale();if(!this.isValid())return n.invalidDate||F;const e=t||j,r=o.z(this),{$H:i,$m:u,$M:c}=this,{weekdays:S,months:h,meridiem:L}=n,$=(l,C,k,w)=>l&&(l[C]||l(this,e))||k[C].slice(0,w),D=l=>o.s(i%12||12,l,"0"),O=L||((l,C,k)=>{const w=l<12?"AM":"PM";return k?w.toLowerCase():w}),Y=l=>{switch(l){case"YY":return String(this.$y).slice(-2);case"YYYY":return o.s(this.$y,4,"0");case"M":return c+1;case"MM":return o.s(c+1,2,"0");case"MMM":return $(n.monthsShort,c,h,3);case"MMMM":return $(h,c);case"D":return this.$D;case"DD":return o.s(this.$D,2,"0");case"d":return String(this.$W);case"dd":return $(n.weekdaysMin,this.$W,S,2);case"ddd":return $(n.weekdaysShort,this.$W,S,3);case"dddd":return S[this.$W];case"H":return String(i);case"HH":return o.s(i,2,"0");case"h":return D(1);case"hh":return D(2);case"a":return O(i,u,!0);case"A":return O(i,u,!1);case"m":return String(u);case"mm":return o.s(u,2,"0");case"s":return String(this.$s);case"ss":return o.s(this.$s,2,"0");case"SSS":return o.s(this.$ms,3,"0");case"Z":return r}return null};return e.replace(J,(l,C)=>C||Y(l)||r.replace(":",""))}utcOffset(){return-Math.round(this.$d.getTimezoneOffset()/15)*15}diff(t,n,e){const r=o.p(n),i=a(t),u=(i.utcOffset()-this.utcOffset())*6e4,c=this-i,S=()=>o.m(this,i);let h;switch(r){case _:h=S()/12;break;case d:h=S();break;case W:h=S()/3;break;case g:h=(c-u)/6048e5;break;case f:h=(c-u)/864e5;break;case N:h=c/36e5;break;case I:h=c/6e4;break;case E:h=c/1e3;break;default:h=c;break}return e?h:o.a(h)}daysInMonth(){return this.endOf(d).$D}$locale(){return M[this.$L]}locale(t,n){if(!t)return this.$L;const e=this.clone(),r=y(t,n,!0);return r&&(e.$L=r),e}clone(){return o.w(this.$d,this)}toDate(){return new Date(this.valueOf())}toJSON(){return this.isValid()?this.toISOString():null}toISOString(){return this.$d.toISOString()}toString(){return this.$d.toUTCString()}}const x=p.prototype;a.prototype=x,[["$ms",T],["$s",E],["$m",I],["$H",N],["$W",f],["$M",d],["$y",_],["$D",m]].forEach(s=>{x[s[1]]=function(t){return this.$g(t,s[0],s[1])}}),a.extend=(s,t)=>(s.$i||(s(t,p,a),s.$i=!0),a),a.locale=y,a.isDayjs=H,a.unix=s=>a(s*1e3),a.en=M[A],a.Ls=M,a.p={}}}});
System.register([],function(b){"use strict";return{execute:function(){var P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function O(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var c={exports:{}};(function(i){(function(l,u){i.exports?i.exports=u():l.prefix=u(l)})(P,function(l){var u=function(e){for(var t=1,m=arguments.length,n;t<m;t++)for(n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e},T={template:"[%t] %l:",levelFormatter:function(e){return e.toUpperCase()},nameFormatter:function(e){return e||"root"},timestampFormatter:function(e){return e.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")},format:void 0},d,o={},j=function(e){if(!e||!e.getLogger)throw new TypeError("Argument is not a root logger");d=e},k=function(e,t){if(!e||!e.setLevel)throw new TypeError("Argument is not a logger");var m=e.methodFactory,n=e.name||"",A=o[n]||o[""]||T;function C(y,D,s){var L=m(y,D,s),a=o[s]||o[""],M=a.template.indexOf("%t")!==-1,S=a.template.indexOf("%l")!==-1,_=a.template.indexOf("%n")!==-1;return function(){for(var r="",g=arguments.length,f=Array(g),v=0;v<g;v++)f[v]=arguments[v];if(n||!o[s]){var x=a.timestampFormatter(new Date),w=a.levelFormatter(y),F=a.nameFormatter(s);a.format?r+=a.format(w,F,x):(r+=a.template,M&&(r=r.replace(/%t/,x)),S&&(r=r.replace(/%l/,w)),_&&(r=r.replace(/%n/,F))),f.length&&typeof f[0]=="string"?f[0]=r+" "+f[0]:f.unshift(r)}L.apply(void 0,f)}}return o[n]||(e.methodFactory=C),t=t||{},t.template&&(t.format=void 0),o[n]=u({},A,t),e.setLevel(e.getLevel()),d||e.warn("It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md"),e},p={reg:j,apply:k},h;return l&&(h=l.prefix,p.noConflict=function(){return l.prefix===p&&(l.prefix=h),p}),p})})(c);var E=c.exports,$=b("default",O(E))}}});
System.register([],function(E){"use strict";return{execute:function(){var I=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var y={exports:{}};/*! loglevel - v1.8.1 - https://github.com/pimterry/loglevel - (c) 2022 Tim Perry - licensed MIT */(function(f){(function(u,i){f.exports?f.exports=i():u.log=i()})(I,function(){var u=function(){},i="undefined",m=typeof window!==i&&typeof window.navigator!==i&&/Trident\/|MSIE /.test(window.navigator.userAgent),g=["trace","debug","info","warn","error"];function w(n,t){var r=n[t];if(typeof r.bind=="function")return r.bind(n);try{return Function.prototype.bind.call(r,n)}catch{return function(){return Function.prototype.apply.apply(r,[n,arguments])}}}function F(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function R(n){return n==="debug"&&(n="log"),typeof console===i?!1:n==="trace"&&m?F:console[n]!==void 0?w(console,n):console.log!==void 0?w(console,"log"):u}function v(n,t){for(var r=0;r<g.length;r++){var o=g[r];this[o]=r<n?u:this.methodFactory(o,n,t)}this.log=this.debug}function S(n,t,r){return function(){typeof console!==i&&(v.call(this,t,r),this[n].apply(this,arguments))}}function A(n,t,r){return R(n)||S.apply(this,arguments)}function h(n,t,r){var o=this,L;t=t??"WARN";var l="loglevel";typeof n=="string"?l+=":"+n:typeof n=="symbol"&&(l=void 0);function M(e){var c=(g[e]||"silent").toUpperCase();if(!(typeof window===i||!l)){try{window.localStorage[l]=c;return}catch{}try{window.document.cookie=encodeURIComponent(l)+"="+c+";"}catch{}}}function b(){var e;if(!(typeof window===i||!l)){try{e=window.localStorage[l]}catch{}if(typeof e===i)try{var c=window.document.cookie,a=c.indexOf(encodeURIComponent(l)+"=");a!==-1&&(e=/^([^;]+)/.exec(c.slice(a))[1])}catch{}return o.levels[e]===void 0&&(e=void 0),e}}function x(){if(!(typeof window===i||!l)){try{window.localStorage.removeItem(l);return}catch{}try{window.document.cookie=encodeURIComponent(l)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}o.name=n,o.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},o.methodFactory=r||A,o.getLevel=function(){return L},o.setLevel=function(e,c){if(typeof e=="string"&&o.levels[e.toUpperCase()]!==void 0&&(e=o.levels[e.toUpperCase()]),typeof e=="number"&&e>=0&&e<=o.levels.SILENT){if(L=e,c!==!1&&M(e),v.call(o,e,n),typeof console===i&&e<o.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+e},o.setDefaultLevel=function(e){t=e,b()||o.setLevel(e,!1)},o.resetLevel=function(){o.setLevel(t,!1),x()},o.enableAll=function(e){o.setLevel(o.levels.TRACE,e)},o.disableAll=function(e){o.setLevel(o.levels.SILENT,e)};var p=b();p==null&&(p=t),o.setLevel(p,!1)}var s=new h,d={};s.getLogger=function(t){if(typeof t!="symbol"&&typeof t!="string"||t==="")throw new TypeError("You must supply a name when creating a logger.");var r=d[t];return r||(r=d[t]=new h(t,s.getLevel(),s.methodFactory)),r};var U=typeof window!==i?window.log:void 0;return s.noConflict=function(){return typeof window!==i&&window.log===s&&(window.log=U),s},s.getLoggers=function(){return d},s.default=s,s})})(y);var C=y.exports,O=E("default",T(C))}}});
System.register([],function(){"use strict";return{execute:function(){function v(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function m(o,e){for(var r="",i=0,l=-1,f=0,n,t=0;t<=o.length;++t){if(t<o.length)n=o.charCodeAt(t);else{if(n===47)break;n=47}if(n===47){if(!(l===t-1||f===1))if(l!==t-1&&f===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=t,f=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=t,f=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,t):r=o.slice(l+1,t),i=t-l-1;l=t,f=0}else n===46&&f!==-1?++f:f=-1}return r}function C(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var f;l>=0?f=arguments[l]:(i===void 0&&(i=process.cwd()),f=i),v(f),f.length!==0&&(e=f+"/"+e,r=f.charCodeAt(0)===47)}return e=m(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(v(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=m(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return v(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];v(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(v(e),v(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,f=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var t=r.length,s=t-n,c=f<s?f:s,u=-1,a=0;a<=c;++a){if(a===c){if(s>c){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else f>c&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var A=e.charCodeAt(i+a),b=r.charCodeAt(n+a);if(A!==b)break;A===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(v(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,f=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!f){l=n;break}}else f=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');v(e);var i=0,l=-1,f=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var t=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(c===47){if(!f){i=n+1;break}}else s===-1&&(f=!1,s=n+1),t>=0&&(c===r.charCodeAt(t)?--t===-1&&(l=n):(t=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!f){i=n+1;break}}else l===-1&&(f=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){v(e);for(var r=-1,i=0,l=-1,f=!0,n=0,t=e.length-1;t>=0;--t){var s=e.charCodeAt(t);if(s===47){if(!f){i=t+1;break}continue}l===-1&&(f=!1,l=t+1),s===46?r===-1?r=t:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return C("/",e)},parse:function(e){v(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,f;l?(r.root="/",f=1):f=0;for(var n=-1,t=0,s=-1,c=!0,u=e.length-1,a=0;u>=f;--u){if(i=e.charCodeAt(u),i===47){if(!c){t=u+1;break}continue}s===-1&&(c=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===t+1?s!==-1&&(t===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(t,s)):(t===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(t,n),r.base=e.slice(t,s)),r.ext=e.slice(n,s)),t>0?r.dir=e.slice(0,t-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g,module.exports=g}}});
System.register([],function(C){"use strict";return{execute:function(){function b(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function c(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function m(s,e){for(var r="",i=0,t=-1,f=0,n,l=0;l<=s.length;++l){if(l<s.length)n=s.charCodeAt(l);else{if(n===47)break;n=47}if(n===47){if(!(t===l-1||f===1))if(t!==l-1&&f===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var a=r.lastIndexOf("/");if(a!==r.length-1){a===-1?(r="",i=0):(r=r.slice(0,a),i=r.length-1-r.lastIndexOf("/")),t=l,f=0;continue}}else if(r.length===2||r.length===1){r="",i=0,t=l,f=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+s.slice(t+1,l):r=s.slice(t+1,l),i=l-t-1;t=l,f=0}else n===46&&f!==-1?++f:f=-1}return r}function h(s,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+s+i:i}var g={resolve:function(){for(var e="",r=!1,i,t=arguments.length-1;t>=-1&&!r;t--){var f;t>=0?f=arguments[t]:(i===void 0&&(i=process.cwd()),f=i),c(f),f.length!==0&&(e=f+"/"+e,r=f.charCodeAt(0)===47)}return e=m(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=m(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var t=e.length,f=t-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var l=r.length,a=l-n,v=f<a?f:a,u=-1,o=0;o<=v;++o){if(o===v){if(a>v){if(r.charCodeAt(n+o)===47)return r.slice(n+o+1);if(o===0)return r.slice(n+o)}else f>v&&(e.charCodeAt(i+o)===47?u=o:o===0&&(u=0));break}var A=e.charCodeAt(i+o),k=r.charCodeAt(n+o);if(A!==k)break;A===47&&(u=o)}var d="";for(o=i+u+1;o<=t;++o)(o===t||e.charCodeAt(o)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,t=-1,f=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!f){t=n;break}}else f=!1;return t===-1?i?"/":".":i&&t===1?"//":e.slice(0,t)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,t=-1,f=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var l=r.length-1,a=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!f){i=n+1;break}}else a===-1&&(f=!1,a=n+1),l>=0&&(v===r.charCodeAt(l)?--l===-1&&(t=n):(l=-1,t=a))}return i===t?t=a:t===-1&&(t=e.length),e.slice(i,t)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!f){i=n+1;break}}else t===-1&&(f=!1,t=n+1);return t===-1?"":e.slice(i,t)}},extname:function(e){c(e);for(var r=-1,i=0,t=-1,f=!0,n=0,l=e.length-1;l>=0;--l){var a=e.charCodeAt(l);if(a===47){if(!f){i=l+1;break}continue}t===-1&&(f=!1,t=l+1),a===46?r===-1?r=l:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||t===-1||n===0||n===1&&r===t-1&&r===i+1?"":e.slice(r,t)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),t=i===47,f;t?(r.root="/",f=1):f=0;for(var n=-1,l=0,a=-1,v=!0,u=e.length-1,o=0;u>=f;--u){if(i=e.charCodeAt(u),i===47){if(!v){l=u+1;break}continue}a===-1&&(v=!1,a=u+1),i===46?n===-1?n=u:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||a===-1||o===0||o===1&&n===a-1&&n===l+1?a!==-1&&(l===0&&t?r.base=r.name=e.slice(1,a):r.base=r.name=e.slice(l,a)):(l===0&&t?(r.name=e.slice(1,n),r.base=e.slice(1,a)):(r.name=e.slice(l,n),r.base=e.slice(l,a)),r.ext=e.slice(n,a)),l>0?r.dir=e.slice(0,l-1):t&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g,w=C("default",b(y))}}});
此差异已折叠。
System.register([],(function(t){"use strict";return{execute:function(){function n(t){if(t instanceof Array)t&&t.length>0&&t.splice(0,t.length);else if(t instanceof Object&&t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&delete t[n]}t({ascSort:function(t,n){return t.sort((function(t,e){var r=n?t[n]:t,o=n?e[n]:e;return r>o?1:r<o?-1:0}))},clearAll:n,clearCookie:function(t,n){j(t,"",-1,n)},createUUID:function(){return"".concat(g()+g(),"-").concat(g(),"-").concat(g(),"-").concat(g(),"-").concat(g()).concat(g()).concat(g())},descSort:function(t,n){return t.sort((function(t,e){var r=n?t[n]:t,o=n?e[n]:e;return r<o?1:r>o?-1:0}))},formatHttpParams:x,generateOrderValue:function(t){return 100*(t+1)},getCookie:function(t){var n=new RegExp("(^| )".concat(t,"=([^;]*)(;|$)")),e=document.cookie.match(n);if(e&&e.length>1)return unescape(e[2]);return null},getQueryVariable:function(t,n){void 0===n&&(n=location.search);n.startsWith("?")&&(n=n.substring(1));for(var e=n.split("&"),r=0;r<e.length;r++){var o=e[r].split("=");if(o[0]==t)return o[1]}return!1},isArray:h,isAsync:f,isBoolean:function(t){return"boolean"===d(t)},isFunc:s,isMap:y,isNilOrEmpty:function(t){if(w(t)||O(t))return!0;return!1},isNumber:function(t){return"number"===d(t)},isObject:p,isPromise:l,isSet:m,isString:b,isWeakMap:function(t){return"weakmap"===d(t)},notNilEmpty:function(t){if(!w(t)&&!O(t))return!0;return!1},setCookie:j,setUrlQuery:function(t,n){var e=x(n);t=t.endsWith("?")||-1!==t.indexOf("?")&&t.endsWith("&")?"".concat(t).concat(e):-1===t.indexOf("?")||t.endsWith("&")?"".concat(t,"?").concat(e):"".concat(t,"&").concat(e);return t},typeOf:d});var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},e(t,n)};function r(t,n,e,r){return new(e||(e=Promise))((function(o,i){function c(t){try{u(r.next(t))}catch(t){i(t)}}function a(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(c,a)}u((r=r.apply(t,n||[])).next())}))}function o(t,n){var e,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(e)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(c=0)),c;)try{if(e=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,r=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!(o=c.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(6===a[0]&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=n.call(t,c)}catch(t){a=[6,t],r=0}finally{e=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function i(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),c=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return c}function c(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))}var a=function(){function t(){this.map=new Map,this.maxListeners=100}return t.prototype.setMaxListeners=function(t){this.maxListeners=t},t.prototype.getSize=function(t){return this.map.has(t)?this.map.get(t).length:0},t.prototype.addListener=function(t,n){if(n instanceof Function){this.map.has(t)||this.map.set(t,[]);var e=this.map.get(t);if(!(e.length<this.maxListeners))throw new Error("事件监听已达最大上限[".concat(this.maxListeners,"],无法新增监听!"));e.push(n)}},t.prototype.removeListener=function(t,n){if(this.map.has(t)){var e=this.map.get(t);if(e.length>0)for(var r=0;r<e.length;r++){if(e[r]===n){e.splice(r,1);break}}}},t.prototype.emit=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];if(this.map.has(t)){var r=this.map.get(t);r.forEach((function(t){t.apply(void 0,c([],i(n),!1))}))}},t.prototype.asyncEmit=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return r(this,void 0,void 0,(function(){var e,r;return o(this,(function(o){return this.map.has(t)?(e=this.map.get(t),r=e.map((function(t){return t.apply(void 0,c([],i(n),!1))})),[2,Promise.all(r)]):[2,[]]}))}))},t.prototype.reset=function(){this.map.forEach((function(t){n(t)})),this.map.clear()},t}(),u=(t("QXEvent",function(){function t(t){this.e=new a,this.e.setMaxListeners(t||300)}return t.prototype.getSize=function(t){return this.e.getSize(t)},t.prototype.on=function(t,n){this.e.addListener(t,n)},t.prototype.off=function(t,n){this.e.removeListener(t,n)},t.prototype.emit=function(t){for(var n,e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];(n=this.e).emit.apply(n,c([t],i(e),!1))},t.prototype.asyncEmit=function(t){for(var n,e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return(n=this.e).asyncEmit.apply(n,c([t],i(e),!1))},t.prototype.reset=function(){this.e.reset()},t}()),Object.prototype.toString);function s(t){return"function"===d(t)}function f(t){return"[object AsyncFunction]"===u.call(t)}function l(t){return"[object Promise]"===u.call(t)}function p(t){return"object"===d(t)}function h(t){return"array"===d(t)}function y(t){return"map"===d(t)}function m(t){return"set"===d(t)}function b(t){return"string"===d(t)}var v={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object","[object Set]":"set","[object Map]":"map","[object WeakMap]":"weakmap"};function d(t){return v[u.call(t)]}function g(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function j(t,n,e,r,o){void 0===e&&(e=0),void 0===r&&(r=!1),void 0===o&&(o="/");var i="";if(r){if(!/^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/.test(location.hostname)){var c=location.hostname;c.indexOf(".")!==c.lastIndexOf(".")&&(i=";domain=".concat(c.substring(c.indexOf("."),c.length)))}}if(0!==e){var a=24*e*60*60*1e3,u=new Date((new Date).getTime()+a);document.cookie="".concat(t,"=").concat(escape(n),";path=").concat(o,";expires=").concat(u.toUTCString()).concat(i)}else document.cookie="".concat(t,"=").concat(escape(n),";path=").concat(o).concat(i)}function w(t){return null==t}function O(t){if(h(t)||b(t))return 0===t.length;if(p(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}return y(t)||m(t)?0===t.size:null==t}function x(t){var n={},e=[];return Object.assign(n,t),Object.keys(n).forEach((function(t){var r=n[t];r instanceof Array||r instanceof Object?e.push("".concat(t,"=").concat(encodeURIComponent(JSON.stringify(r)))):e.push("".concat(t,"=").concat(encodeURIComponent(r)))})),e.join("&")}var S=t("SyncSeriesHook",function(){function t(){this.items=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),t.prototype.callSync=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var r,o=t||Object.create({}),a=0;a<this.items.length;a++){var u=this.items[a];if(u.fn&&(r=u.fn.apply(u,c([o],i(n),!1))),null===r){console.warn("因".concat(u.fn?u.fn.name:null,"方法返回值为「null」,钩子中断执行。"),u);break}}return o},t.prototype.tap=function(t){if(t&&s(t)){var n={mode:"sync"};n.fn=t,this.items.push(n)}},t.prototype.removeTap=function(t){if(t)for(var n=0;n<this.items.length;n++){t===this.items[n].fn&&this.items.splice(n,1)}},t.prototype.clear=function(){this.items=[]},t}());t("AsyncSeriesHook",function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(n,t),n.prototype.call=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return r(this,void 0,void 0,(function(){var e,r,a,u;return o(this,(function(o){switch(o.label){case 0:e=t||Object.create({}),a=0,o.label=1;case 1:return a<this.items.length?(u=this.items[a]).fn?"promise"!==u.mode?[3,4]:l(r=u.fn.apply(u,c([e],i(n),!1)))?[4,r]:[3,3]:[3,5]:[3,7];case 2:r=o.sent(),o.label=3;case 3:return[3,5];case 4:r=u.fn.apply(u,c([e],i(n),!1)),o.label=5;case 5:if(null===r)return console.warn("因".concat(u.fn?u.fn.name:null,"方法返回值为「null」,钩子中断执行。"),u),[3,7];o.label=6;case 6:return a++,[3,1];case 7:return[2,e]}}))}))},n.prototype.tapPromise=function(t){if(t&&(s(t)||f(t))){var n={mode:"promise"};n.fn=t,this.items.push(n)}},n.prototype.removeTapPromise=function(t){this.removeTap(t)},n}(S))}}}));
{
"imports": {
"axios": "../js/axios/1.5.1/axios.min.js",
"dayjs": "../js/dayjs/1.11.10/dayjs.min.js",
"axios": "../js/axios/1.6.1/axios.system.min.js",
"dayjs": "../js/dayjs/1.11.10/index.system.min.js",
"dayjs/plugin/minMax": "../js/dayjs/1.11.10/plugin/minMax.js",
"dayjs/plugin/isSameOrBefore": "../js/dayjs/1.11.10/plugin/isSameOrBefore.js",
"dayjs/plugin/quarterOfYear": "../js/dayjs/1.11.10/plugin/quarterOfYear.js",
"dayjs/plugin/weekOfYear": "../js/dayjs/1.11.10/plugin/weekOfYear.js",
"dayjs/plugin/isoWeek": "../js/dayjs/1.11.10/plugin/isoWeek.js",
"loglevel": "../js/loglevel/1.8,1/loglevel.system.min.js",
"loglevel-plugin-prefix": "../js/loglevel-plugin-prefix/0.8.4/loglevel-plugin-prefix.system.min.js",
"echarts": "../js/echarts/5.4.3/echarts.min.js",
"async-validator": "../js/async-validator/4.2.5/async-validator.min.js",
"qs": "../js/qs/6.11.2/qs.min.js",
"ramda": "../js/ramda/0.29.1/ramda.min.js",
"vue": "../js/vue/3.3.4/vue.runtime.global.prod.js",
"async-validator": "../js/async-validator/4.2.5/async-validator.system.min.js",
"qs": "../js/qs/6.11.2/qs.system.min.js",
"ramda": "../js/ramda/0.29.1/ramda.system.min.js",
"vue": "../js/vue/3.3.8/vue.runtime.global.system.prod.js",
"vue-router": "../js/vue-router/4.2.5/vue-router.system.min.js",
"vue-i18n": "../js/vue-i18n/9.5.0/vue-i18n.runtime.system.prod.js",
"vant": "../js/vant/4.7.2/vant.system.min.js",
"lodash-es": "../js/lodash/4.17.21/lodash.min.js",
"qx-util": "../js/qx-util/0.4.8/qx-util.umd.js",
"lodash-es": "../js/lodash/4.17.21/lodash.system.min.js",
"qx-util": "../js/qx-util/0.4.8/qx-util.system.js",
"vuedraggable": "../js/vuedraggable/4.1.0/vuedraggable.umd.min.js",
"pinia": "../js/pinia/2.1.7/pinia.system.prod.js",
"cherry-markdown": "../js/cherry-markdown/0.8.26/cherry-markdown.system.min.js",
......
#app {
width: 100vw;
height: 100vh;
background: getCssVar(color, tertiary, light, default);
background: getCssVar(color, bg, 0);
}
\ No newline at end of file
......@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
mvn clean package -Ptrainsys
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -4217,6 +4217,12 @@
"name" : "测试实体实体编辑视图(功能确认-基本功能-非模态弹出)",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr11279815MobCustomView",
"logicName" : "面板容器测试",
"name" : "面板容器测试",
"realModelSubType" : "DEMOBCUSTOMVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr2GridView",
"logicName" : "测试实体实体表格视图(2)",
......
......@@ -54,7 +54,7 @@
"codeName" : "INTERACTIVE_01",
"formCodeName" : "ApprovalForm",
"height" : 80,
"leftPos" : 710,
"leftPos" : 910,
"logicName" : "审核",
"mobFormCodeName" : "ApprovalForm",
"mobUtil3FormCodeName" : "WorkFlowEditView_Form",
......@@ -80,7 +80,7 @@
} ],
"predefinedActions" : [ "REASSIGN" ],
"timeout" : -1,
"topPos" : 220,
"topPos" : 210,
"util3FormCodeName" : "WorkFlowEditView_Form",
"util3FormName" : "工作流编辑_表单",
"wFProcessType" : "INTERACTIVE",
......@@ -96,7 +96,7 @@
"logicName" : "结束事件",
"name" : "结束事件",
"timeout" : -1,
"topPos" : 410,
"topPos" : 420,
"wFProcessType" : "END",
"width" : 30,
"asynchronousProcess" : false,
......
......@@ -54,10 +54,10 @@
</userTask>
<endEvent id="sid-53de4cc0be78ed2c689be324acd60ae7" name="结束事件">
</endEvent>
<sequenceFlow id="rid-48a62261e9ea11f75c1aee137f211a2f" sourceRef="sid-f2f162e01f7fe7d08374a565e1edb2af" targetRef="tid-20-0ec5b557aa979a307af5aa9680485404" name="">
<sequenceFlow id="rid-c91853d488ba798d50b6b31e894b7d3e" sourceRef="sid-f2f162e01f7fe7d08374a565e1edb2af" targetRef="tid-20-0ec5b557aa979a307af5aa9680485404" name="">
</sequenceFlow>
<sequenceFlow id="lid-IAACTION-8cddc66d335c051a329d80df85bf6f5f" sourceRef="tid-20-0ec5b557aa979a307af5aa9680485404" targetRef="sid-53de4cc0be78ed2c689be324acd60ae7" name="审批">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-IAACTION-8cddc66d335c051a329d80df85bf6f5f"}]]></conditionExpression>
<sequenceFlow id="lid-IAACTION-594daddb75dd6f00fad8587412c9ba0f" sourceRef="tid-20-0ec5b557aa979a307af5aa9680485404" targetRef="sid-53de4cc0be78ed2c689be324acd60ae7" name="审批">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-IAACTION-594daddb75dd6f00fad8587412c9ba0f"}]]></conditionExpression>
<extensionElements>
<flowable:form sequenceFlowForm="WorkFlowEditView_Form" sequenceFlowMobForm="WorkFlowEditView_Form" sequenceFlowView="WFDynaActionView" sequenceFlowMobView="MobWFDynaActionView" nextCondition="ANY" />
</extensionElements>
......@@ -69,16 +69,16 @@
<omgdi:Bounds x="740" y="70" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-0ec5b557aa979a307af5aa9680485404" bpmnElement="tid-20-0ec5b557aa979a307af5aa9680485404">
<omgdi:Bounds x="710" y="220" width="100" height="80" />
<omgdi:Bounds x="910" y="210" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-53de4cc0be78ed2c689be324acd60ae7" bpmnElement="sid-53de4cc0be78ed2c689be324acd60ae7">
<omgdi:Bounds x="740" y="410" width="30" height="30" />
<omgdi:Bounds x="740" y="420" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge-rid-48a62261e9ea11f75c1aee137f211a2f" bpmnElement="rid-48a62261e9ea11f75c1aee137f211a2f">
<bpmndi:BPMNEdge id="BPMNEdge-rid-c91853d488ba798d50b6b31e894b7d3e" bpmnElement="rid-c91853d488ba798d50b6b31e894b7d3e">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-IAACTION-8cddc66d335c051a329d80df85bf6f5f" bpmnElement="lid-IAACTION-8cddc66d335c051a329d80df85bf6f5f">
<bpmndi:BPMNEdge id="BPMNEdge-lid-IAACTION-594daddb75dd6f00fad8587412c9ba0f" bpmnElement="lid-IAACTION-594daddb75dd6f00fad8587412c9ba0f">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
......
......@@ -4898,6 +4898,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/TESTMobMPickupView.json",
"viewType" : "DEMOBMPICKUPVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/TESTUsr11279815MobCustomView.json",
"viewType" : "DEMOBCUSTOMVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/TESTDEMobEditView3.json",
......
{
"accUserMode" : 2,
"caption" : "面板容器测试",
"codeName" : "TESTUsr11279815MobCustomView",
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/TESTUsr11279815MobCustomView.json",
"name" : "TESTUsr11279815MobCustomView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPMODULES/Test.json"
},
"getPSDEViewCodeName" : "Usr11279815MobCustomView",
"getPSDEViewId" : "08BE216C-7210-4BD7-88C9-E67A71944FD9",
"getPSViewLayoutPanel" : {
"codeName" : "Usr1127982273",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "FLEX",
"logicName" : "面板容器测试布局面板",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"viewProxyMode" : true,
"modelid" : "3A58C1F6-1437-4FB8-B885-652941266387",
"modeltype" : "PSSYSVIEWLAYOUTPANEL",
"getPSControls" : [ {
"caption" : "面板容器测试",
"codeName" : "Usr11279815MobCustomViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSControlParam" : { }
} ]
},
"refFlag" : false,
"title" : "面板容器测试",
"viewStyle" : "DEFAULT",
"viewType" : "DEMOBCUSTOMVIEW",
"enableDP" : true,
"enablePullDownRefresh" : false,
"modelid" : "cf84358498d722f1a57e0950d280252e",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -14,7 +14,7 @@
"name" : "dashboard",
"getPSAppDynaDashboardUtil" : {
"modelref" : true,
"id" : "DynaDashboard"
"id" : "dynadashboard"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......
......@@ -13,7 +13,7 @@
"name" : "dashboard",
"getPSAppDynaDashboardUtil" : {
"modelref" : true,
"id" : "DynaDashboard"
"id" : "dynadashboard"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......
......@@ -13,7 +13,7 @@
"name" : "dashboard",
"getPSAppDynaDashboardUtil" : {
"modelref" : true,
"id" : "DynaDashboard"
"id" : "dynadashboard"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......
......@@ -14,7 +14,7 @@
"name" : "dashboard",
"getPSAppDynaDashboardUtil" : {
"modelref" : true,
"id" : "DynaDashboard"
"id" : "dynadashboard"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......
......@@ -11270,7 +11270,7 @@
"utilPSDEName" : "TEST",
"utilType" : "FILTERSTORAGE"
}, {
"codeName" : "DynaDashboard",
"codeName" : "dynadashboard",
"getCreatePSAppDEAction" : {
"modelref" : true,
"id" : "Create"
......@@ -11401,18 +11401,18 @@
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
......@@ -19957,7 +19957,7 @@
"name" : "dashboard",
"getPSAppDynaDashboardUtil" : {
"modelref" : true,
"id" : "DynaDashboard"
"id" : "dynadashboard"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
......@@ -33,7 +33,7 @@
<profiles>
<profile>
<id>trainsys</id>
<id>runtime</id>
<build>
<resources>
<resource>
......
......@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE 50000
EXPOSE 8081
ADD trainsys-provider.jar /trainsys-provider.jar
......@@ -22,32 +22,7 @@ spec:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy: Always
ports:
- containerPort: 50000
env:
- name: SPRING_CLOUD_NACOS_DISCOVERY_IP
value: "172.16.240.140"
- name: SERVER_PORT
value: "50000"
- name: SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value: "172.16.240.140:8848"
- name: SPRING_REDIS_HOST
value: "127.0.0.1"
- name: SPRING_REDIS_PORT
value: "6379"
- name: SPRING_REDIS_DATABASE
value: "0"
- name: SPRING_DATASOURCE_USERNAME
value: "a_LAB01_d23cc850e"
- name: SPRING_DATASOURCE_PASSWORD
value: "f9Df4556"
- name: SPRING_DATASOURCE_URL
value: "jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
- name: SPRING_DATASOURCE_DRIVER-CLASS-NAME
value: "com.mysql.jdbc.Driver"
- name: SPRING_DATASOURCE_DEFAULTSCHEMA
value: "a_LAB01_d23cc850e"
- name: NACOS
value: "172.16.240.140:8848"
- containerPort: 8081
---
apiVersion: v1
......@@ -60,9 +35,9 @@ spec:
type: NodePort
ports:
- name: http
port: 50000
targetPort: 50000
nodePort: 50000
port: 8081
targetPort: 8081
nodePort: 8081
protocol: TCP
selector:
app: trainsys-provider
......
......@@ -3,23 +3,9 @@ services:
trainsys-provider:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports:
- "50000:50000"
- "8081:8081"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
- SERVER_PORT=50000
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
- SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
- SPRING_REDIS_HOST=127.0.0.1
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
- SPRING_DATASOURCE_PASSWORD=f9Df4556
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
- NACOS=172.16.240.140:8848
deploy:
resources:
limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册