@vxe-ui/plugin-render-antd 4.2.0 → 4.2.2
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/dist/all.common.js +64 -36
- package/dist/index.common.js +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +2593 -2557
- package/dist/index.umd.min.js +1 -1
- package/package.json +8 -2
package/dist/all.common.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
2
|
+
(function (global){(function (){
|
|
2
3
|
"use strict";
|
|
3
4
|
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.createWidgetACheckbox = createWidgetACheckbox;
|
|
8
|
-
var _vue =
|
|
9
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
9
10
|
var _use = require("./use");
|
|
10
11
|
var _comp = require("../util/comp");
|
|
11
|
-
var _xeUtils = _interopRequireDefault(
|
|
12
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
14
|
function createWidgetACheckbox(VxeUI) {
|
|
14
15
|
var getWidgetACheckboxConfig = function getWidgetACheckboxConfig(params) {
|
|
@@ -162,14 +163,16 @@ function createWidgetACheckbox(VxeUI) {
|
|
|
162
163
|
WidgetACheckboxViewComponent: WidgetACheckboxViewComponent
|
|
163
164
|
};
|
|
164
165
|
}
|
|
165
|
-
},
|
|
166
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
167
|
+
},{"../util/comp":15,"./use":10}],2:[function(require,module,exports){
|
|
168
|
+
(function (global){(function (){
|
|
166
169
|
"use strict";
|
|
167
170
|
|
|
168
171
|
Object.defineProperty(exports, "__esModule", {
|
|
169
172
|
value: true
|
|
170
173
|
});
|
|
171
174
|
exports.createWidgetADatePicker = createWidgetADatePicker;
|
|
172
|
-
var _vue =
|
|
175
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
173
176
|
var _comp = require("../util/comp");
|
|
174
177
|
function createWidgetADatePicker(VxeUI) {
|
|
175
178
|
var getWidgetADatePickerConfig = function getWidgetADatePickerConfig(params) {
|
|
@@ -307,14 +310,16 @@ function createWidgetADatePicker(VxeUI) {
|
|
|
307
310
|
WidgetADatePickerViewComponent: WidgetADatePickerViewComponent
|
|
308
311
|
};
|
|
309
312
|
}
|
|
310
|
-
},
|
|
313
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
314
|
+
},{"../util/comp":15}],3:[function(require,module,exports){
|
|
315
|
+
(function (global){(function (){
|
|
311
316
|
"use strict";
|
|
312
317
|
|
|
313
318
|
Object.defineProperty(exports, "__esModule", {
|
|
314
319
|
value: true
|
|
315
320
|
});
|
|
316
321
|
exports.defineFormDesignRender = defineFormDesignRender;
|
|
317
|
-
var _vue =
|
|
322
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
318
323
|
var _inputWidget = require("./input-widget");
|
|
319
324
|
var _textareaWidget = require("./textarea-widget");
|
|
320
325
|
var _numberInputWidget = require("./number-input-widget");
|
|
@@ -485,14 +490,16 @@ function defineFormDesignRender(VxeUI) {
|
|
|
485
490
|
}
|
|
486
491
|
});
|
|
487
492
|
}
|
|
488
|
-
},
|
|
493
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
494
|
+
},{"./checkbox-widget":1,"./date-picker-widget":2,"./input-widget":4,"./number-input-widget":5,"./radio-widget":6,"./select-widget":7,"./switch-widget":8,"./textarea-widget":9}],4:[function(require,module,exports){
|
|
495
|
+
(function (global){(function (){
|
|
489
496
|
"use strict";
|
|
490
497
|
|
|
491
498
|
Object.defineProperty(exports, "__esModule", {
|
|
492
499
|
value: true
|
|
493
500
|
});
|
|
494
501
|
exports.createWidgetAInput = createWidgetAInput;
|
|
495
|
-
var _vue =
|
|
502
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
496
503
|
var _comp = require("../util/comp");
|
|
497
504
|
function createWidgetAInput(VxeUI) {
|
|
498
505
|
var getWidgetAInputConfig = function getWidgetAInputConfig(params) {
|
|
@@ -630,14 +637,16 @@ function createWidgetAInput(VxeUI) {
|
|
|
630
637
|
WidgetAInputViewComponent: WidgetAInputViewComponent
|
|
631
638
|
};
|
|
632
639
|
}
|
|
633
|
-
},
|
|
640
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
641
|
+
},{"../util/comp":15}],5:[function(require,module,exports){
|
|
642
|
+
(function (global){(function (){
|
|
634
643
|
"use strict";
|
|
635
644
|
|
|
636
645
|
Object.defineProperty(exports, "__esModule", {
|
|
637
646
|
value: true
|
|
638
647
|
});
|
|
639
648
|
exports.createWidgetAInputNumber = createWidgetAInputNumber;
|
|
640
|
-
var _vue =
|
|
649
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
641
650
|
var _comp = require("../util/comp");
|
|
642
651
|
function createWidgetAInputNumber(VxeUI) {
|
|
643
652
|
var getWidgetAInputNumberConfig = function getWidgetAInputNumberConfig(params) {
|
|
@@ -775,17 +784,19 @@ function createWidgetAInputNumber(VxeUI) {
|
|
|
775
784
|
WidgetAInputNumberViewComponent: WidgetAInputNumberViewComponent
|
|
776
785
|
};
|
|
777
786
|
}
|
|
778
|
-
},
|
|
787
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
788
|
+
},{"../util/comp":15}],6:[function(require,module,exports){
|
|
789
|
+
(function (global){(function (){
|
|
779
790
|
"use strict";
|
|
780
791
|
|
|
781
792
|
Object.defineProperty(exports, "__esModule", {
|
|
782
793
|
value: true
|
|
783
794
|
});
|
|
784
795
|
exports.createWidgetARadio = createWidgetARadio;
|
|
785
|
-
var _vue =
|
|
796
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
786
797
|
var _use = require("./use");
|
|
787
798
|
var _comp = require("../util/comp");
|
|
788
|
-
var _xeUtils = _interopRequireDefault(
|
|
799
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
789
800
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
790
801
|
function createWidgetARadio(VxeUI) {
|
|
791
802
|
var getWidgetARadioConfig = function getWidgetARadioConfig(params) {
|
|
@@ -939,17 +950,19 @@ function createWidgetARadio(VxeUI) {
|
|
|
939
950
|
WidgetARadioViewComponent: WidgetARadioViewComponent
|
|
940
951
|
};
|
|
941
952
|
}
|
|
942
|
-
},
|
|
953
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
954
|
+
},{"../util/comp":15,"./use":10}],7:[function(require,module,exports){
|
|
955
|
+
(function (global){(function (){
|
|
943
956
|
"use strict";
|
|
944
957
|
|
|
945
958
|
Object.defineProperty(exports, "__esModule", {
|
|
946
959
|
value: true
|
|
947
960
|
});
|
|
948
961
|
exports.createWidgetASelect = createWidgetASelect;
|
|
949
|
-
var _vue =
|
|
962
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
950
963
|
var _use = require("./use");
|
|
951
964
|
var _comp = require("../util/comp");
|
|
952
|
-
var _xeUtils = _interopRequireDefault(
|
|
965
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
953
966
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
954
967
|
function createWidgetASelect(VxeUI) {
|
|
955
968
|
var getWidgetASelectConfig = function getWidgetASelectConfig(params) {
|
|
@@ -1095,14 +1108,16 @@ function createWidgetASelect(VxeUI) {
|
|
|
1095
1108
|
WidgetASelectViewComponent: WidgetASelectViewComponent
|
|
1096
1109
|
};
|
|
1097
1110
|
}
|
|
1098
|
-
},
|
|
1111
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1112
|
+
},{"../util/comp":15,"./use":10}],8:[function(require,module,exports){
|
|
1113
|
+
(function (global){(function (){
|
|
1099
1114
|
"use strict";
|
|
1100
1115
|
|
|
1101
1116
|
Object.defineProperty(exports, "__esModule", {
|
|
1102
1117
|
value: true
|
|
1103
1118
|
});
|
|
1104
1119
|
exports.createWidgetASwitch = createWidgetASwitch;
|
|
1105
|
-
var _vue =
|
|
1120
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
1106
1121
|
var _comp = require("../util/comp");
|
|
1107
1122
|
function createWidgetASwitch(VxeUI) {
|
|
1108
1123
|
var getWidgetASwitchConfig = function getWidgetASwitchConfig(params) {
|
|
@@ -1236,14 +1251,16 @@ function createWidgetASwitch(VxeUI) {
|
|
|
1236
1251
|
WidgetASwitchViewComponent: WidgetASwitchViewComponent
|
|
1237
1252
|
};
|
|
1238
1253
|
}
|
|
1239
|
-
},
|
|
1254
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1255
|
+
},{"../util/comp":15}],9:[function(require,module,exports){
|
|
1256
|
+
(function (global){(function (){
|
|
1240
1257
|
"use strict";
|
|
1241
1258
|
|
|
1242
1259
|
Object.defineProperty(exports, "__esModule", {
|
|
1243
1260
|
value: true
|
|
1244
1261
|
});
|
|
1245
1262
|
exports.createWidgetATextarea = createWidgetATextarea;
|
|
1246
|
-
var _vue =
|
|
1263
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
1247
1264
|
var _comp = require("../util/comp");
|
|
1248
1265
|
function createWidgetATextarea(VxeUI) {
|
|
1249
1266
|
var getWidgetATextareaConfig = function getWidgetATextareaConfig(params) {
|
|
@@ -1385,14 +1402,16 @@ function createWidgetATextarea(VxeUI) {
|
|
|
1385
1402
|
WidgetATextareaViewComponent: WidgetATextareaViewComponent
|
|
1386
1403
|
};
|
|
1387
1404
|
}
|
|
1388
|
-
},
|
|
1405
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1406
|
+
},{"../util/comp":15}],10:[function(require,module,exports){
|
|
1407
|
+
(function (global){(function (){
|
|
1389
1408
|
"use strict";
|
|
1390
1409
|
|
|
1391
1410
|
Object.defineProperty(exports, "__esModule", {
|
|
1392
1411
|
value: true
|
|
1393
1412
|
});
|
|
1394
1413
|
exports.useWidgetPropDataSource = useWidgetPropDataSource;
|
|
1395
|
-
var _vue =
|
|
1414
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
1396
1415
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
1397
1416
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1398
1417
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -1611,16 +1630,18 @@ function useWidgetPropDataSource(VxeUI, props, isSubOption) {
|
|
|
1611
1630
|
}
|
|
1612
1631
|
};
|
|
1613
1632
|
}
|
|
1614
|
-
},
|
|
1633
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1634
|
+
},{}],11:[function(require,module,exports){
|
|
1635
|
+
(function (global){(function (){
|
|
1615
1636
|
"use strict";
|
|
1616
1637
|
|
|
1617
1638
|
Object.defineProperty(exports, "__esModule", {
|
|
1618
1639
|
value: true
|
|
1619
1640
|
});
|
|
1620
1641
|
exports.defineFormRender = defineFormRender;
|
|
1621
|
-
var _vue =
|
|
1642
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
1622
1643
|
var _comp = require("../util/comp");
|
|
1623
|
-
var _xeUtils = _interopRequireDefault(
|
|
1644
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
1624
1645
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
1625
1646
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1626
1647
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -1912,7 +1933,9 @@ function defineFormRender(VxeUI) {
|
|
|
1912
1933
|
}
|
|
1913
1934
|
});
|
|
1914
1935
|
}
|
|
1915
|
-
},
|
|
1936
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1937
|
+
},{"../util/comp":15}],12:[function(require,module,exports){
|
|
1938
|
+
(function (global){(function (){
|
|
1916
1939
|
"use strict";
|
|
1917
1940
|
|
|
1918
1941
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1923,7 +1946,7 @@ var _table = require("./table");
|
|
|
1923
1946
|
var _form = require("./form");
|
|
1924
1947
|
var _formDesign = require("./form-design");
|
|
1925
1948
|
var _store = require("./store");
|
|
1926
|
-
var _xeUtils = _interopRequireDefault(
|
|
1949
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
1927
1950
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
1928
1951
|
function getEventTarget(evnt) {
|
|
1929
1952
|
var target = evnt.target;
|
|
@@ -1969,7 +1992,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
1969
1992
|
_store.componentMaps[kcName] = comp;
|
|
1970
1993
|
_store.componentMaps[ccName] = comp;
|
|
1971
1994
|
} else {
|
|
1972
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
1995
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] error component.', comp);
|
|
1973
1996
|
}
|
|
1974
1997
|
},
|
|
1975
1998
|
install: function install(VxeUI, options) {
|
|
@@ -1982,11 +2005,11 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
1982
2005
|
var pVersion = 4;
|
|
1983
2006
|
var sVersion = 11;
|
|
1984
2007
|
if (!VxeUI.checkVersion(VxeUI.tableVersion, pVersion, sVersion)) {
|
|
1985
|
-
console.error("[@vxe-ui/plugin-render-antd 4.2.
|
|
2008
|
+
console.error("[@vxe-ui/plugin-render-antd 4.2.2] ".concat(VxeUI.getI18n('vxe.error.errorVersion', ["vxe-table@".concat(VxeUI.tableVersion || '?'), "vxe-table v".concat(pVersion, ".").concat(sVersion, "+")]), " https://vxeui.com/other4/#/plugin-render-antd/install"));
|
|
1986
2009
|
}
|
|
1987
2010
|
} else {
|
|
1988
2011
|
if (!/^(4)\./.test(VxeUI.uiVersion || VxeUI.tableVersion)) {
|
|
1989
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
2012
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-render-antd/install');
|
|
1990
2013
|
}
|
|
1991
2014
|
}
|
|
1992
2015
|
/**
|
|
@@ -2027,7 +2050,8 @@ if (typeof window !== 'undefined') {
|
|
|
2027
2050
|
}
|
|
2028
2051
|
}
|
|
2029
2052
|
var _default = exports["default"] = VxeUIPluginRenderAntd;
|
|
2030
|
-
},
|
|
2053
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
2054
|
+
},{"./form":11,"./form-design":3,"./store":13,"./table":14}],13:[function(require,module,exports){
|
|
2031
2055
|
"use strict";
|
|
2032
2056
|
|
|
2033
2057
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -2037,15 +2061,16 @@ exports.globalConfig = exports.componentMaps = void 0;
|
|
|
2037
2061
|
var globalConfig = exports.globalConfig = {};
|
|
2038
2062
|
var componentMaps = exports.componentMaps = {};
|
|
2039
2063
|
},{}],14:[function(require,module,exports){
|
|
2064
|
+
(function (global){(function (){
|
|
2040
2065
|
"use strict";
|
|
2041
2066
|
|
|
2042
2067
|
Object.defineProperty(exports, "__esModule", {
|
|
2043
2068
|
value: true
|
|
2044
2069
|
});
|
|
2045
2070
|
exports.defineTableRender = defineTableRender;
|
|
2046
|
-
var _vue =
|
|
2071
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
2047
2072
|
var _comp = require("../util/comp");
|
|
2048
|
-
var _xeUtils = _interopRequireDefault(
|
|
2073
|
+
var _xeUtils = _interopRequireDefault((typeof window !== "undefined" ? window['XEUtils'] : typeof global !== "undefined" ? global['XEUtils'] : null));
|
|
2049
2074
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
2050
2075
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2051
2076
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -2572,14 +2597,16 @@ function defineTableRender(VxeUI) {
|
|
|
2572
2597
|
}
|
|
2573
2598
|
});
|
|
2574
2599
|
}
|
|
2575
|
-
},
|
|
2600
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
2601
|
+
},{"../util/comp":15}],15:[function(require,module,exports){
|
|
2602
|
+
(function (global){(function (){
|
|
2576
2603
|
"use strict";
|
|
2577
2604
|
|
|
2578
2605
|
Object.defineProperty(exports, "__esModule", {
|
|
2579
2606
|
value: true
|
|
2580
2607
|
});
|
|
2581
2608
|
exports.getCurrComponent = getCurrComponent;
|
|
2582
|
-
var _vue =
|
|
2609
|
+
var _vue = (typeof window !== "undefined" ? window['Vue'] : typeof global !== "undefined" ? global['Vue'] : null);
|
|
2583
2610
|
var _store = require("../store");
|
|
2584
2611
|
function getCurrComponent(name) {
|
|
2585
2612
|
var comp = _store.componentMaps[name] || (_store.globalConfig.Antd ? _store.globalConfig.Antd[name] : null);
|
|
@@ -2588,4 +2615,5 @@ function getCurrComponent(name) {
|
|
|
2588
2615
|
}
|
|
2589
2616
|
return (0, _vue.resolveComponent)(name);
|
|
2590
2617
|
}
|
|
2591
|
-
},
|
|
2618
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
2619
|
+
},{"../store":13}]},{},[12]);
|
package/dist/index.common.js
CHANGED
|
@@ -54,7 +54,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
54
54
|
_store.componentMaps[kcName] = comp;
|
|
55
55
|
_store.componentMaps[ccName] = comp;
|
|
56
56
|
} else {
|
|
57
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
57
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] error component.', comp);
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
install: function install(VxeUI, options) {
|
|
@@ -67,11 +67,11 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
67
67
|
var pVersion = 4;
|
|
68
68
|
var sVersion = 11;
|
|
69
69
|
if (!VxeUI.checkVersion(VxeUI.tableVersion, pVersion, sVersion)) {
|
|
70
|
-
console.error("[@vxe-ui/plugin-render-antd 4.2.
|
|
70
|
+
console.error("[@vxe-ui/plugin-render-antd 4.2.2] ".concat(VxeUI.getI18n('vxe.error.errorVersion', ["vxe-table@".concat(VxeUI.tableVersion || '?'), "vxe-table v".concat(pVersion, ".").concat(sVersion, "+")]), " https://vxeui.com/other4/#/plugin-render-antd/install"));
|
|
71
71
|
}
|
|
72
72
|
} else {
|
|
73
73
|
if (!/^(4)\./.test(VxeUI.uiVersion || VxeUI.tableVersion)) {
|
|
74
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
74
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-render-antd/install');
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
/**
|
package/dist/index.js
CHANGED
|
@@ -54,7 +54,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
54
54
|
_store.componentMaps[kcName] = comp;
|
|
55
55
|
_store.componentMaps[ccName] = comp;
|
|
56
56
|
} else {
|
|
57
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
57
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] error component.', comp);
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
install: function install(VxeUI, options) {
|
|
@@ -67,11 +67,11 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
|
|
|
67
67
|
var pVersion = 4;
|
|
68
68
|
var sVersion = 11;
|
|
69
69
|
if (!VxeUI.checkVersion(VxeUI.tableVersion, pVersion, sVersion)) {
|
|
70
|
-
console.error("[@vxe-ui/plugin-render-antd 4.2.
|
|
70
|
+
console.error("[@vxe-ui/plugin-render-antd 4.2.2] ".concat(VxeUI.getI18n('vxe.error.errorVersion', ["vxe-table@".concat(VxeUI.tableVersion || '?'), "vxe-table v".concat(pVersion, ".").concat(sVersion, "+")]), " https://vxeui.com/other4/#/plugin-render-antd/install"));
|
|
71
71
|
}
|
|
72
72
|
} else {
|
|
73
73
|
if (!/^(4)\./.test(VxeUI.uiVersion || VxeUI.tableVersion)) {
|
|
74
|
-
console.error('[@vxe-ui/plugin-render-antd 4.2.
|
|
74
|
+
console.error('[@vxe-ui/plugin-render-antd 4.2.2] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-render-antd/install');
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
/**
|