eoss-ui 0.5.10 → 0.5.11
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/lib/button-group.js +18 -33
- package/lib/button.js +18 -33
- package/lib/checkbox-group.js +18 -33
- package/lib/data-table-form.js +18 -33
- package/lib/data-table.js +36 -42
- package/lib/date-picker.js +18 -33
- package/lib/dialog.js +18 -33
- package/lib/eoss-ui.common.js +217 -486
- package/lib/flow-group.js +18 -33
- package/lib/flow-list.js +18 -33
- package/lib/flow.js +18 -33
- package/lib/form.js +50 -172
- package/lib/handle-user.js +18 -33
- package/lib/handler.js +18 -33
- package/lib/index.js +1 -1
- package/lib/input-number.js +18 -33
- package/lib/input.js +18 -33
- package/lib/login.js +18 -33
- package/lib/main.js +117 -282
- package/lib/nav.js +18 -33
- package/lib/page.js +18 -33
- package/lib/player.js +18 -33
- package/lib/qr-code.js +18 -33
- package/lib/radio-group.js +21 -36
- package/lib/retrial-auth.js +18 -33
- package/lib/select-ganged.js +18 -33
- package/lib/select.js +18 -33
- package/lib/selector-panel.js +18 -33
- package/lib/selector.js +18 -33
- package/lib/sizer.js +18 -33
- package/lib/steps.js +18 -33
- package/lib/switch.js +18 -33
- package/lib/table-form.js +30 -61
- package/lib/tabs.js +18 -33
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/toolbar.css +1 -1
- package/lib/tips.js +18 -33
- package/lib/toolbar.js +19 -9
- package/lib/tree-group.js +18 -33
- package/lib/tree.js +18 -33
- package/lib/upload.js +18 -33
- package/lib/utils/util.js +18 -33
- package/lib/wujie.js +18 -33
- package/lib/wxlogin.js +18 -33
- package/package.json +1 -1
- package/packages/data-table/src/main.vue +14 -6
- package/packages/form/src/main.vue +11 -46
- package/packages/form/src/table.vue +6 -11
- package/packages/main/src/main.vue +12 -150
- package/packages/radio-group/src/main.vue +1 -5
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/pagination.css +1 -1
- package/packages/theme-chalk/lib/toolbar.css +1 -1
- package/packages/theme-chalk/src/pagination.scss +8 -0
- package/packages/theme-chalk/src/toolbar.scss +1 -0
- package/packages/toolbar/src/main.vue +17 -8
- package/src/index.js +1 -1
- package/src/utils/util.js +20 -34
package/lib/flow-group.js
CHANGED
|
@@ -746,6 +746,7 @@ var delUrlParam = function delUrlParam(_ref2) {
|
|
|
746
746
|
key.forEach(function (item) {
|
|
747
747
|
if (param.hasOwnProperty(item)) {
|
|
748
748
|
var reg = item + '=' + param[item];
|
|
749
|
+
console.log(reg);
|
|
749
750
|
if (src.indexOf(reg + '&') > -1) {
|
|
750
751
|
src = src.replace(reg + '&', '');
|
|
751
752
|
} else if (src.indexOf('&' + reg) > -1) {
|
|
@@ -1946,7 +1947,6 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1946
1947
|
next = _ref8.next,
|
|
1947
1948
|
_ref8$exclude = _ref8.exclude,
|
|
1948
1949
|
exclude = _ref8$exclude === undefined ? [] : _ref8$exclude,
|
|
1949
|
-
open = _ref8.open,
|
|
1950
1950
|
cookie = _ref8.cookie,
|
|
1951
1951
|
loginPage = _ref8.loginPage,
|
|
1952
1952
|
redirect = _ref8.redirect;
|
|
@@ -1954,24 +1954,24 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1954
1954
|
if (cookie === undefined) {
|
|
1955
1955
|
cookie = getParams({ name: 'cookie' });
|
|
1956
1956
|
}
|
|
1957
|
+
var pathname = win.top.location.pathname;
|
|
1957
1958
|
if (loginPage) {
|
|
1958
1959
|
sessionStorage.setItem('loginPage', loginPage);
|
|
1959
1960
|
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
1960
|
-
var pathname = win.top.location.pathname;
|
|
1961
1961
|
if (pathname !== '/') {
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
loginPage =
|
|
1962
|
+
var path = pathname.split('/');
|
|
1963
|
+
path.splice(pathname.length - 1);
|
|
1964
|
+
path = path.join('/');
|
|
1965
|
+
loginPage = path + '/' + loginPage.replace('./', '');
|
|
1966
1966
|
} else {
|
|
1967
1967
|
loginPage = pathname + loginPage.replace('./', '');
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
1971
|
var token = getStorage('token') || getStorage('Authorization');
|
|
1972
|
-
|
|
1972
|
+
// const logined = getStorage('logined');
|
|
1973
1973
|
// eslint-disable-next-line eqeqeq
|
|
1974
|
-
if (token ||
|
|
1974
|
+
if (token || cookie == true || cookie == 1) {
|
|
1975
1975
|
next && next();
|
|
1976
1976
|
} else {
|
|
1977
1977
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
@@ -1995,37 +1995,22 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1995
1995
|
deviceUnique: results.deviceUnique
|
|
1996
1996
|
}
|
|
1997
1997
|
});
|
|
1998
|
-
|
|
1998
|
+
var url = delUrlParam({
|
|
1999
|
+
url: win.top.location.href,
|
|
2000
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2001
|
+
});
|
|
2002
|
+
win.top.location.href = url;
|
|
2003
|
+
setTimeout(function () {
|
|
2004
|
+
win.top.location.reload();
|
|
2005
|
+
}, 200);
|
|
1999
2006
|
break;
|
|
2000
2007
|
case 1:
|
|
2001
2008
|
break;
|
|
2002
2009
|
case 2:
|
|
2003
2010
|
break;
|
|
2004
2011
|
case 3:
|
|
2005
|
-
var
|
|
2006
|
-
|
|
2007
|
-
if (to.query.openType) {
|
|
2008
|
-
switch (to.query.openType) {
|
|
2009
|
-
case 'self':
|
|
2010
|
-
win.location.href = href;
|
|
2011
|
-
break;
|
|
2012
|
-
case 'blank':
|
|
2013
|
-
win.open(href);
|
|
2014
|
-
break;
|
|
2015
|
-
case 'top':
|
|
2016
|
-
win.top.location.href = href;
|
|
2017
|
-
break;
|
|
2018
|
-
case 'parent':
|
|
2019
|
-
win.parent.location.href = href;
|
|
2020
|
-
break;
|
|
2021
|
-
}
|
|
2022
|
-
} else {
|
|
2023
|
-
if (open) {
|
|
2024
|
-
win.open(href);
|
|
2025
|
-
} else {
|
|
2026
|
-
win.top.location.href = href;
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2012
|
+
var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
|
|
2013
|
+
win.top.location.href = href;
|
|
2029
2014
|
break;
|
|
2030
2015
|
case 4:
|
|
2031
2016
|
eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
package/lib/flow-list.js
CHANGED
|
@@ -746,6 +746,7 @@ var delUrlParam = function delUrlParam(_ref2) {
|
|
|
746
746
|
key.forEach(function (item) {
|
|
747
747
|
if (param.hasOwnProperty(item)) {
|
|
748
748
|
var reg = item + '=' + param[item];
|
|
749
|
+
console.log(reg);
|
|
749
750
|
if (src.indexOf(reg + '&') > -1) {
|
|
750
751
|
src = src.replace(reg + '&', '');
|
|
751
752
|
} else if (src.indexOf('&' + reg) > -1) {
|
|
@@ -1946,7 +1947,6 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1946
1947
|
next = _ref8.next,
|
|
1947
1948
|
_ref8$exclude = _ref8.exclude,
|
|
1948
1949
|
exclude = _ref8$exclude === undefined ? [] : _ref8$exclude,
|
|
1949
|
-
open = _ref8.open,
|
|
1950
1950
|
cookie = _ref8.cookie,
|
|
1951
1951
|
loginPage = _ref8.loginPage,
|
|
1952
1952
|
redirect = _ref8.redirect;
|
|
@@ -1954,24 +1954,24 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1954
1954
|
if (cookie === undefined) {
|
|
1955
1955
|
cookie = getParams({ name: 'cookie' });
|
|
1956
1956
|
}
|
|
1957
|
+
var pathname = win.top.location.pathname;
|
|
1957
1958
|
if (loginPage) {
|
|
1958
1959
|
sessionStorage.setItem('loginPage', loginPage);
|
|
1959
1960
|
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
1960
|
-
var pathname = win.top.location.pathname;
|
|
1961
1961
|
if (pathname !== '/') {
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
loginPage =
|
|
1962
|
+
var path = pathname.split('/');
|
|
1963
|
+
path.splice(pathname.length - 1);
|
|
1964
|
+
path = path.join('/');
|
|
1965
|
+
loginPage = path + '/' + loginPage.replace('./', '');
|
|
1966
1966
|
} else {
|
|
1967
1967
|
loginPage = pathname + loginPage.replace('./', '');
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
1971
|
var token = getStorage('token') || getStorage('Authorization');
|
|
1972
|
-
|
|
1972
|
+
// const logined = getStorage('logined');
|
|
1973
1973
|
// eslint-disable-next-line eqeqeq
|
|
1974
|
-
if (token ||
|
|
1974
|
+
if (token || cookie == true || cookie == 1) {
|
|
1975
1975
|
next && next();
|
|
1976
1976
|
} else {
|
|
1977
1977
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
@@ -1995,37 +1995,22 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1995
1995
|
deviceUnique: results.deviceUnique
|
|
1996
1996
|
}
|
|
1997
1997
|
});
|
|
1998
|
-
|
|
1998
|
+
var url = delUrlParam({
|
|
1999
|
+
url: win.top.location.href,
|
|
2000
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2001
|
+
});
|
|
2002
|
+
win.top.location.href = url;
|
|
2003
|
+
setTimeout(function () {
|
|
2004
|
+
win.top.location.reload();
|
|
2005
|
+
}, 200);
|
|
1999
2006
|
break;
|
|
2000
2007
|
case 1:
|
|
2001
2008
|
break;
|
|
2002
2009
|
case 2:
|
|
2003
2010
|
break;
|
|
2004
2011
|
case 3:
|
|
2005
|
-
var
|
|
2006
|
-
|
|
2007
|
-
if (to.query.openType) {
|
|
2008
|
-
switch (to.query.openType) {
|
|
2009
|
-
case 'self':
|
|
2010
|
-
win.location.href = href;
|
|
2011
|
-
break;
|
|
2012
|
-
case 'blank':
|
|
2013
|
-
win.open(href);
|
|
2014
|
-
break;
|
|
2015
|
-
case 'top':
|
|
2016
|
-
win.top.location.href = href;
|
|
2017
|
-
break;
|
|
2018
|
-
case 'parent':
|
|
2019
|
-
win.parent.location.href = href;
|
|
2020
|
-
break;
|
|
2021
|
-
}
|
|
2022
|
-
} else {
|
|
2023
|
-
if (open) {
|
|
2024
|
-
win.open(href);
|
|
2025
|
-
} else {
|
|
2026
|
-
win.top.location.href = href;
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2012
|
+
var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
|
|
2013
|
+
win.top.location.href = href;
|
|
2029
2014
|
break;
|
|
2030
2015
|
case 4:
|
|
2031
2016
|
eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
package/lib/flow.js
CHANGED
|
@@ -745,6 +745,7 @@ var delUrlParam = function delUrlParam(_ref2) {
|
|
|
745
745
|
key.forEach(function (item) {
|
|
746
746
|
if (param.hasOwnProperty(item)) {
|
|
747
747
|
var reg = item + '=' + param[item];
|
|
748
|
+
console.log(reg);
|
|
748
749
|
if (src.indexOf(reg + '&') > -1) {
|
|
749
750
|
src = src.replace(reg + '&', '');
|
|
750
751
|
} else if (src.indexOf('&' + reg) > -1) {
|
|
@@ -1945,7 +1946,6 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1945
1946
|
next = _ref8.next,
|
|
1946
1947
|
_ref8$exclude = _ref8.exclude,
|
|
1947
1948
|
exclude = _ref8$exclude === undefined ? [] : _ref8$exclude,
|
|
1948
|
-
open = _ref8.open,
|
|
1949
1949
|
cookie = _ref8.cookie,
|
|
1950
1950
|
loginPage = _ref8.loginPage,
|
|
1951
1951
|
redirect = _ref8.redirect;
|
|
@@ -1953,24 +1953,24 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1953
1953
|
if (cookie === undefined) {
|
|
1954
1954
|
cookie = getParams({ name: 'cookie' });
|
|
1955
1955
|
}
|
|
1956
|
+
var pathname = win.top.location.pathname;
|
|
1956
1957
|
if (loginPage) {
|
|
1957
1958
|
sessionStorage.setItem('loginPage', loginPage);
|
|
1958
1959
|
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
1959
|
-
var pathname = win.top.location.pathname;
|
|
1960
1960
|
if (pathname !== '/') {
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
loginPage =
|
|
1961
|
+
var path = pathname.split('/');
|
|
1962
|
+
path.splice(pathname.length - 1);
|
|
1963
|
+
path = path.join('/');
|
|
1964
|
+
loginPage = path + '/' + loginPage.replace('./', '');
|
|
1965
1965
|
} else {
|
|
1966
1966
|
loginPage = pathname + loginPage.replace('./', '');
|
|
1967
1967
|
}
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
var token = getStorage('token') || getStorage('Authorization');
|
|
1971
|
-
|
|
1971
|
+
// const logined = getStorage('logined');
|
|
1972
1972
|
// eslint-disable-next-line eqeqeq
|
|
1973
|
-
if (token ||
|
|
1973
|
+
if (token || cookie == true || cookie == 1) {
|
|
1974
1974
|
next && next();
|
|
1975
1975
|
} else {
|
|
1976
1976
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
@@ -1994,37 +1994,22 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1994
1994
|
deviceUnique: results.deviceUnique
|
|
1995
1995
|
}
|
|
1996
1996
|
});
|
|
1997
|
-
|
|
1997
|
+
var url = delUrlParam({
|
|
1998
|
+
url: win.top.location.href,
|
|
1999
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2000
|
+
});
|
|
2001
|
+
win.top.location.href = url;
|
|
2002
|
+
setTimeout(function () {
|
|
2003
|
+
win.top.location.reload();
|
|
2004
|
+
}, 200);
|
|
1998
2005
|
break;
|
|
1999
2006
|
case 1:
|
|
2000
2007
|
break;
|
|
2001
2008
|
case 2:
|
|
2002
2009
|
break;
|
|
2003
2010
|
case 3:
|
|
2004
|
-
var
|
|
2005
|
-
|
|
2006
|
-
if (to.query.openType) {
|
|
2007
|
-
switch (to.query.openType) {
|
|
2008
|
-
case 'self':
|
|
2009
|
-
win.location.href = href;
|
|
2010
|
-
break;
|
|
2011
|
-
case 'blank':
|
|
2012
|
-
win.open(href);
|
|
2013
|
-
break;
|
|
2014
|
-
case 'top':
|
|
2015
|
-
win.top.location.href = href;
|
|
2016
|
-
break;
|
|
2017
|
-
case 'parent':
|
|
2018
|
-
win.parent.location.href = href;
|
|
2019
|
-
break;
|
|
2020
|
-
}
|
|
2021
|
-
} else {
|
|
2022
|
-
if (open) {
|
|
2023
|
-
win.open(href);
|
|
2024
|
-
} else {
|
|
2025
|
-
win.top.location.href = href;
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2011
|
+
var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
|
|
2012
|
+
win.top.location.href = href;
|
|
2028
2013
|
break;
|
|
2029
2014
|
case 4:
|
|
2030
2015
|
eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
package/lib/form.js
CHANGED
|
@@ -746,6 +746,7 @@ var delUrlParam = function delUrlParam(_ref2) {
|
|
|
746
746
|
key.forEach(function (item) {
|
|
747
747
|
if (param.hasOwnProperty(item)) {
|
|
748
748
|
var reg = item + '=' + param[item];
|
|
749
|
+
console.log(reg);
|
|
749
750
|
if (src.indexOf(reg + '&') > -1) {
|
|
750
751
|
src = src.replace(reg + '&', '');
|
|
751
752
|
} else if (src.indexOf('&' + reg) > -1) {
|
|
@@ -1946,7 +1947,6 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1946
1947
|
next = _ref8.next,
|
|
1947
1948
|
_ref8$exclude = _ref8.exclude,
|
|
1948
1949
|
exclude = _ref8$exclude === undefined ? [] : _ref8$exclude,
|
|
1949
|
-
open = _ref8.open,
|
|
1950
1950
|
cookie = _ref8.cookie,
|
|
1951
1951
|
loginPage = _ref8.loginPage,
|
|
1952
1952
|
redirect = _ref8.redirect;
|
|
@@ -1954,24 +1954,24 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1954
1954
|
if (cookie === undefined) {
|
|
1955
1955
|
cookie = getParams({ name: 'cookie' });
|
|
1956
1956
|
}
|
|
1957
|
+
var pathname = win.top.location.pathname;
|
|
1957
1958
|
if (loginPage) {
|
|
1958
1959
|
sessionStorage.setItem('loginPage', loginPage);
|
|
1959
1960
|
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
1960
|
-
var pathname = win.top.location.pathname;
|
|
1961
1961
|
if (pathname !== '/') {
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
loginPage =
|
|
1962
|
+
var path = pathname.split('/');
|
|
1963
|
+
path.splice(pathname.length - 1);
|
|
1964
|
+
path = path.join('/');
|
|
1965
|
+
loginPage = path + '/' + loginPage.replace('./', '');
|
|
1966
1966
|
} else {
|
|
1967
1967
|
loginPage = pathname + loginPage.replace('./', '');
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
1971
|
var token = getStorage('token') || getStorage('Authorization');
|
|
1972
|
-
|
|
1972
|
+
// const logined = getStorage('logined');
|
|
1973
1973
|
// eslint-disable-next-line eqeqeq
|
|
1974
|
-
if (token ||
|
|
1974
|
+
if (token || cookie == true || cookie == 1) {
|
|
1975
1975
|
next && next();
|
|
1976
1976
|
} else {
|
|
1977
1977
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
@@ -1995,37 +1995,22 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1995
1995
|
deviceUnique: results.deviceUnique
|
|
1996
1996
|
}
|
|
1997
1997
|
});
|
|
1998
|
-
|
|
1998
|
+
var url = delUrlParam({
|
|
1999
|
+
url: win.top.location.href,
|
|
2000
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2001
|
+
});
|
|
2002
|
+
win.top.location.href = url;
|
|
2003
|
+
setTimeout(function () {
|
|
2004
|
+
win.top.location.reload();
|
|
2005
|
+
}, 200);
|
|
1999
2006
|
break;
|
|
2000
2007
|
case 1:
|
|
2001
2008
|
break;
|
|
2002
2009
|
case 2:
|
|
2003
2010
|
break;
|
|
2004
2011
|
case 3:
|
|
2005
|
-
var
|
|
2006
|
-
|
|
2007
|
-
if (to.query.openType) {
|
|
2008
|
-
switch (to.query.openType) {
|
|
2009
|
-
case 'self':
|
|
2010
|
-
win.location.href = href;
|
|
2011
|
-
break;
|
|
2012
|
-
case 'blank':
|
|
2013
|
-
win.open(href);
|
|
2014
|
-
break;
|
|
2015
|
-
case 'top':
|
|
2016
|
-
win.top.location.href = href;
|
|
2017
|
-
break;
|
|
2018
|
-
case 'parent':
|
|
2019
|
-
win.parent.location.href = href;
|
|
2020
|
-
break;
|
|
2021
|
-
}
|
|
2022
|
-
} else {
|
|
2023
|
-
if (open) {
|
|
2024
|
-
win.open(href);
|
|
2025
|
-
} else {
|
|
2026
|
-
win.top.location.href = href;
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2012
|
+
var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
|
|
2013
|
+
win.top.location.href = href;
|
|
2029
2014
|
break;
|
|
2030
2015
|
case 4:
|
|
2031
2016
|
eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
|
@@ -3539,7 +3524,7 @@ module.exports = require("qs");
|
|
|
3539
3524
|
// ESM COMPAT FLAG
|
|
3540
3525
|
__webpack_require__.r(__webpack_exports__);
|
|
3541
3526
|
|
|
3542
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
3527
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=2fd814fb&
|
|
3543
3528
|
var render = function () {
|
|
3544
3529
|
var _vm = this
|
|
3545
3530
|
var _h = _vm.$createElement
|
|
@@ -3713,21 +3698,14 @@ var render = function () {
|
|
|
3713
3698
|
item.label
|
|
3714
3699
|
? _c(
|
|
3715
3700
|
"es-label",
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
.event,
|
|
3725
|
-
events:
|
|
3726
|
-
item
|
|
3727
|
-
.label
|
|
3728
|
-
.events,
|
|
3729
|
-
},
|
|
3730
|
-
}
|
|
3701
|
+
_vm._b(
|
|
3702
|
+
{},
|
|
3703
|
+
"es-label",
|
|
3704
|
+
_vm.getLabel(
|
|
3705
|
+
item.label
|
|
3706
|
+
),
|
|
3707
|
+
false
|
|
3708
|
+
)
|
|
3731
3709
|
)
|
|
3732
3710
|
: _vm._e(),
|
|
3733
3711
|
item.text ||
|
|
@@ -4226,28 +4204,13 @@ var render = function () {
|
|
|
4226
4204
|
{
|
|
4227
4205
|
attrs: {
|
|
4228
4206
|
slot: "label",
|
|
4229
|
-
contents:
|
|
4230
|
-
item.label,
|
|
4231
|
-
plain:
|
|
4232
|
-
item.plain ||
|
|
4233
|
-
item.name ===
|
|
4234
|
-
undefined,
|
|
4235
4207
|
},
|
|
4236
4208
|
slot: "label",
|
|
4237
4209
|
},
|
|
4238
4210
|
"es-label",
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
item
|
|
4243
|
-
.label
|
|
4244
|
-
.event,
|
|
4245
|
-
events:
|
|
4246
|
-
item
|
|
4247
|
-
.label
|
|
4248
|
-
.events,
|
|
4249
|
-
}
|
|
4250
|
-
: {},
|
|
4211
|
+
_vm.getLabel(
|
|
4212
|
+
item.label
|
|
4213
|
+
),
|
|
4251
4214
|
false
|
|
4252
4215
|
)
|
|
4253
4216
|
)
|
|
@@ -6903,26 +6866,13 @@ var render = function () {
|
|
|
6903
6866
|
{
|
|
6904
6867
|
attrs: {
|
|
6905
6868
|
slot: "label",
|
|
6906
|
-
contents:
|
|
6907
|
-
item.label,
|
|
6908
|
-
plain:
|
|
6909
|
-
item.plain ||
|
|
6910
|
-
item.name ===
|
|
6911
|
-
undefined,
|
|
6912
6869
|
},
|
|
6913
6870
|
slot: "label",
|
|
6914
6871
|
},
|
|
6915
6872
|
"es-label",
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
item.label
|
|
6920
|
-
.event,
|
|
6921
|
-
events:
|
|
6922
|
-
item.label
|
|
6923
|
-
.events,
|
|
6924
|
-
}
|
|
6925
|
-
: {},
|
|
6873
|
+
_vm.getLabel(
|
|
6874
|
+
item.label
|
|
6875
|
+
),
|
|
6926
6876
|
false
|
|
6927
6877
|
)
|
|
6928
6878
|
)
|
|
@@ -9277,20 +9227,14 @@ var render = function () {
|
|
|
9277
9227
|
item.label
|
|
9278
9228
|
? _c(
|
|
9279
9229
|
"es-label",
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
events:
|
|
9289
|
-
item
|
|
9290
|
-
.label
|
|
9291
|
-
.events,
|
|
9292
|
-
},
|
|
9293
|
-
}
|
|
9230
|
+
_vm._b(
|
|
9231
|
+
{},
|
|
9232
|
+
"es-label",
|
|
9233
|
+
_vm.getLabel(
|
|
9234
|
+
item.label
|
|
9235
|
+
),
|
|
9236
|
+
false
|
|
9237
|
+
)
|
|
9294
9238
|
)
|
|
9295
9239
|
: _vm._e(),
|
|
9296
9240
|
item.text ||
|
|
@@ -9775,28 +9719,13 @@ var render = function () {
|
|
|
9775
9719
|
{
|
|
9776
9720
|
attrs: {
|
|
9777
9721
|
slot: "label",
|
|
9778
|
-
contents:
|
|
9779
|
-
item.label,
|
|
9780
|
-
plain:
|
|
9781
|
-
item.plain ||
|
|
9782
|
-
item.name ===
|
|
9783
|
-
undefined,
|
|
9784
9722
|
},
|
|
9785
9723
|
slot: "label",
|
|
9786
9724
|
},
|
|
9787
9725
|
"es-label",
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
item
|
|
9792
|
-
.label
|
|
9793
|
-
.event,
|
|
9794
|
-
events:
|
|
9795
|
-
item
|
|
9796
|
-
.label
|
|
9797
|
-
.events,
|
|
9798
|
-
}
|
|
9799
|
-
: {},
|
|
9726
|
+
_vm.getLabel(
|
|
9727
|
+
item.label
|
|
9728
|
+
),
|
|
9800
9729
|
false
|
|
9801
9730
|
)
|
|
9802
9731
|
)
|
|
@@ -12283,25 +12212,11 @@ var render = function () {
|
|
|
12283
12212
|
"es-label",
|
|
12284
12213
|
_vm._b(
|
|
12285
12214
|
{
|
|
12286
|
-
attrs: {
|
|
12287
|
-
slot: "label",
|
|
12288
|
-
contents: item.label,
|
|
12289
|
-
plain:
|
|
12290
|
-
item.plain ||
|
|
12291
|
-
item.name ===
|
|
12292
|
-
undefined,
|
|
12293
|
-
},
|
|
12215
|
+
attrs: { slot: "label" },
|
|
12294
12216
|
slot: "label",
|
|
12295
12217
|
},
|
|
12296
12218
|
"es-label",
|
|
12297
|
-
item.label
|
|
12298
|
-
? {
|
|
12299
|
-
event:
|
|
12300
|
-
item.label.event,
|
|
12301
|
-
events:
|
|
12302
|
-
item.label.events,
|
|
12303
|
-
}
|
|
12304
|
-
: {},
|
|
12219
|
+
_vm.getLabel(item.label),
|
|
12305
12220
|
false
|
|
12306
12221
|
)
|
|
12307
12222
|
)
|
|
@@ -14528,7 +14443,7 @@ var staticRenderFns = []
|
|
|
14528
14443
|
render._withStripped = true
|
|
14529
14444
|
|
|
14530
14445
|
|
|
14531
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
14446
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=2fd814fb&
|
|
14532
14447
|
|
|
14533
14448
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
14534
14449
|
var regenerator_ = __webpack_require__(11);
|
|
@@ -18421,46 +18336,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
18421
18336
|
//
|
|
18422
18337
|
//
|
|
18423
18338
|
//
|
|
18424
|
-
//
|
|
18425
|
-
//
|
|
18426
|
-
//
|
|
18427
|
-
//
|
|
18428
|
-
//
|
|
18429
|
-
//
|
|
18430
|
-
//
|
|
18431
|
-
//
|
|
18432
|
-
//
|
|
18433
|
-
//
|
|
18434
|
-
//
|
|
18435
|
-
//
|
|
18436
|
-
//
|
|
18437
|
-
//
|
|
18438
|
-
//
|
|
18439
|
-
//
|
|
18440
|
-
//
|
|
18441
|
-
//
|
|
18442
|
-
//
|
|
18443
|
-
//
|
|
18444
|
-
//
|
|
18445
|
-
//
|
|
18446
|
-
//
|
|
18447
|
-
//
|
|
18448
|
-
//
|
|
18449
|
-
//
|
|
18450
|
-
//
|
|
18451
|
-
//
|
|
18452
|
-
//
|
|
18453
|
-
//
|
|
18454
|
-
//
|
|
18455
|
-
//
|
|
18456
|
-
//
|
|
18457
|
-
//
|
|
18458
|
-
//
|
|
18459
|
-
//
|
|
18460
|
-
//
|
|
18461
|
-
//
|
|
18462
|
-
//
|
|
18463
|
-
//
|
|
18464
18339
|
|
|
18465
18340
|
|
|
18466
18341
|
|
|
@@ -18924,6 +18799,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
18924
18799
|
},
|
|
18925
18800
|
|
|
18926
18801
|
methods: {
|
|
18802
|
+
getLabel: function getLabel(res) {
|
|
18803
|
+
return typeof res === 'string' ? { contents: res } : _extends({}, res, { plain: res.plain || res.name === undefined });
|
|
18804
|
+
},
|
|
18927
18805
|
getHeight: function getHeight() {
|
|
18928
18806
|
if (util["a" /* default */].hasClass(this.$parent.$el, 'el-dialog__wrapper') || this.full || this.$el.parentNode.children.length == 1 && util["a" /* default */].getStyle(this.$el.parentNode, 'height')) {
|
|
18929
18807
|
var pt = parseInt(util["a" /* default */].getStyle(this.$el.parentNode, 'padding-top'), 10) || 0;
|