jtui3.0 1.0.50 → 1.0.51

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.
@@ -64,7 +64,7 @@ module.exports = function (key) {
64
64
  /***/ 5787:
65
65
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
66
66
 
67
- var isPrototypeOf = __webpack_require__(5930);
67
+ var isPrototypeOf = __webpack_require__(7976);
68
68
 
69
69
  var $TypeError = TypeError;
70
70
 
@@ -118,7 +118,7 @@ var tryToString = __webpack_require__(6330);
118
118
  var createNonEnumerableProperty = __webpack_require__(8880);
119
119
  var defineBuiltIn = __webpack_require__(8052);
120
120
  var defineProperty = (__webpack_require__(3070).f);
121
- var isPrototypeOf = __webpack_require__(5930);
121
+ var isPrototypeOf = __webpack_require__(7976);
122
122
  var getPrototypeOf = __webpack_require__(9518);
123
123
  var setPrototypeOf = __webpack_require__(7674);
124
124
  var wellKnownSymbol = __webpack_require__(5112);
@@ -1253,7 +1253,7 @@ module.exports = false;
1253
1253
 
1254
1254
  var getBuiltIn = __webpack_require__(5005);
1255
1255
  var isCallable = __webpack_require__(614);
1256
- var isPrototypeOf = __webpack_require__(5930);
1256
+ var isPrototypeOf = __webpack_require__(7976);
1257
1257
  var USE_SYMBOL_AS_UID = __webpack_require__(3307);
1258
1258
 
1259
1259
  var $Object = Object;
@@ -1652,7 +1652,7 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O
1652
1652
 
1653
1653
  /***/ }),
1654
1654
 
1655
- /***/ 5930:
1655
+ /***/ 7976:
1656
1656
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1657
1657
 
1658
1658
  var uncurryThis = __webpack_require__(1702);
@@ -2203,7 +2203,7 @@ module.exports = function (name) {
2203
2203
  var getBuiltIn = __webpack_require__(5005);
2204
2204
  var hasOwn = __webpack_require__(2597);
2205
2205
  var createNonEnumerableProperty = __webpack_require__(8880);
2206
- var isPrototypeOf = __webpack_require__(5930);
2206
+ var isPrototypeOf = __webpack_require__(7976);
2207
2207
  var setPrototypeOf = __webpack_require__(7674);
2208
2208
  var copyConstructorProperties = __webpack_require__(9920);
2209
2209
  var proxyAccessor = __webpack_require__(2626);
@@ -4199,6 +4199,98 @@ __webpack_require__(1703);__webpack_require__(6699);__webpack_require__(8675);__
4199
4199
 
4200
4200
  /***/ }),
4201
4201
 
4202
+ /***/ 6154:
4203
+ /***/ (function(module, exports, __webpack_require__) {
4204
+
4205
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (a, b) {
4206
+ if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (b),
4207
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
4208
+ (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
4209
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
4210
+ })(this, function () {
4211
+ "use strict";
4212
+
4213
+ function b(a, b) {
4214
+ return "undefined" == typeof b ? b = {
4215
+ autoBom: !1
4216
+ } : "object" != typeof b && (console.warn("Deprecated: Expected third argument to be a object"), b = {
4217
+ autoBom: !b
4218
+ }), b.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob(["\uFEFF", a], {
4219
+ type: a.type
4220
+ }) : a;
4221
+ }
4222
+
4223
+ function c(a, b, c) {
4224
+ var d = new XMLHttpRequest();
4225
+ d.open("GET", a), d.responseType = "blob", d.onload = function () {
4226
+ g(d.response, b, c);
4227
+ }, d.onerror = function () {
4228
+ console.error("could not download file");
4229
+ }, d.send();
4230
+ }
4231
+
4232
+ function d(a) {
4233
+ var b = new XMLHttpRequest();
4234
+ b.open("HEAD", a, !1);
4235
+
4236
+ try {
4237
+ b.send();
4238
+ } catch (a) {}
4239
+
4240
+ return 200 <= b.status && 299 >= b.status;
4241
+ }
4242
+
4243
+ function e(a) {
4244
+ try {
4245
+ a.dispatchEvent(new MouseEvent("click"));
4246
+ } catch (c) {
4247
+ var b = document.createEvent("MouseEvents");
4248
+ b.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), a.dispatchEvent(b);
4249
+ }
4250
+ }
4251
+
4252
+ var f = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof __webpack_require__.g && __webpack_require__.g.global === __webpack_require__.g ? __webpack_require__.g : void 0,
4253
+ a = f.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent),
4254
+ g = f.saveAs || ("object" != typeof window || window !== f ? function () {} : "download" in HTMLAnchorElement.prototype && !a ? function (b, g, h) {
4255
+ var i = f.URL || f.webkitURL,
4256
+ j = document.createElement("a");
4257
+ g = g || b.name || "download", j.download = g, j.rel = "noopener", "string" == typeof b ? (j.href = b, j.origin === location.origin ? e(j) : d(j.href) ? c(b, g, h) : e(j, j.target = "_blank")) : (j.href = i.createObjectURL(b), setTimeout(function () {
4258
+ i.revokeObjectURL(j.href);
4259
+ }, 4E4), setTimeout(function () {
4260
+ e(j);
4261
+ }, 0));
4262
+ } : "msSaveOrOpenBlob" in navigator ? function (f, g, h) {
4263
+ if (g = g || f.name || "download", "string" != typeof f) navigator.msSaveOrOpenBlob(b(f, h), g);else if (d(f)) c(f, g, h);else {
4264
+ var i = document.createElement("a");
4265
+ i.href = f, i.target = "_blank", setTimeout(function () {
4266
+ e(i);
4267
+ });
4268
+ }
4269
+ } : function (b, d, e, g) {
4270
+ if (g = g || open("", "_blank"), g && (g.document.title = g.document.body.innerText = "downloading..."), "string" == typeof b) return c(b, d, e);
4271
+ var h = "application/octet-stream" === b.type,
4272
+ i = /constructor/i.test(f.HTMLElement) || f.safari,
4273
+ j = /CriOS\/[\d]+/.test(navigator.userAgent);
4274
+
4275
+ if ((j || h && i || a) && "undefined" != typeof FileReader) {
4276
+ var k = new FileReader();
4277
+ k.onloadend = function () {
4278
+ var a = k.result;
4279
+ a = j ? a : a.replace(/^data:[^;]*;/, "data:attachment/file;"), g ? g.location.href = a : location = a, g = null;
4280
+ }, k.readAsDataURL(b);
4281
+ } else {
4282
+ var l = f.URL || f.webkitURL,
4283
+ m = l.createObjectURL(b);
4284
+ g ? g.location = m : location.href = m, g = null, setTimeout(function () {
4285
+ l.revokeObjectURL(m);
4286
+ }, 4E4);
4287
+ }
4288
+ });
4289
+ f.saveAs = g.saveAs = g, true && (module.exports = g);
4290
+ });
4291
+
4292
+ /***/ }),
4293
+
4202
4294
  /***/ 7215:
4203
4295
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4204
4296
 
@@ -218121,11 +218213,34 @@ function syncAttrs(sourceElem, targetElem, attrsKeys) {
218121
218213
  }
218122
218214
  });
218123
218215
  }
218216
+ // EXTERNAL MODULE: ./node_modules/file-saver/dist/FileSaver.min.js
218217
+ var FileSaver_min = __webpack_require__(6154);
218218
+ ;// CONCATENATED MODULE: ./packages/utils/CusMethods.js
218219
+ /*
218220
+ * @Author: leevan
218221
+ * @Date: 2023-08-14 15:10:26
218222
+ * @LastEditTime: 2023-08-14 15:17:14
218223
+ * @LastEditors: leevan
218224
+ * @FilePath: /jtui3.0/packages/utils/CusMethods.js
218225
+ */
218226
+
218227
+ /* harmony default export */ var CusMethods = ({
218228
+ downloadFile: async (url, name, axios) => {
218229
+ const {
218230
+ data
218231
+ } = await axios({
218232
+ url,
218233
+ method: 'get',
218234
+ responseType: 'blob'
218235
+ });
218236
+ (0,FileSaver_min.saveAs)(data, name);
218237
+ }
218238
+ });
218124
218239
  ;// CONCATENATED MODULE: ./packages/index.js
218125
218240
  /*
218126
218241
  * @Author: leevan
218127
218242
  * @Date: 2022-06-29 13:58:34
218128
- * @LastEditTime: 2023-07-20 10:51:17
218243
+ * @LastEditTime: 2023-08-14 15:29:12
218129
218244
  * @LastEditors: leevan
218130
218245
  * @FilePath: /jtui3.0/packages/index.js
218131
218246
  */
@@ -218136,7 +218251,8 @@ function syncAttrs(sourceElem, targetElem, attrsKeys) {
218136
218251
 
218137
218252
 
218138
218253
  // import './utils/default-passive-events'
218139
- // 组件列表
218254
+
218255
+ // 组件列表
218140
218256
 
218141
218257
  const components = [packages_form_0, table_base, table_group, table_big_data, tree_table, upload, packages_echarts]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
218142
218258
 
@@ -218161,7 +218277,8 @@ if (typeof window !== 'undefined' && window.Vue) {
218161
218277
  TableGroup: table_group,
218162
218278
  TableBigData: table_big_data,
218163
218279
  TreeTable: tree_table,
218164
- Echart: packages_echarts
218280
+ Echart: packages_echarts,
218281
+ ...CusMethods
218165
218282
  });
218166
218283
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
218167
218284
 
@@ -4209,6 +4209,98 @@ __webpack_require__(1703);__webpack_require__(6699);__webpack_require__(8675);__
4209
4209
 
4210
4210
  /***/ }),
4211
4211
 
4212
+ /***/ 4014:
4213
+ /***/ (function(module, exports, __webpack_require__) {
4214
+
4215
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (a, b) {
4216
+ if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (b),
4217
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
4218
+ (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
4219
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
4220
+ })(this, function () {
4221
+ "use strict";
4222
+
4223
+ function b(a, b) {
4224
+ return "undefined" == typeof b ? b = {
4225
+ autoBom: !1
4226
+ } : "object" != typeof b && (console.warn("Deprecated: Expected third argument to be a object"), b = {
4227
+ autoBom: !b
4228
+ }), b.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob(["\uFEFF", a], {
4229
+ type: a.type
4230
+ }) : a;
4231
+ }
4232
+
4233
+ function c(a, b, c) {
4234
+ var d = new XMLHttpRequest();
4235
+ d.open("GET", a), d.responseType = "blob", d.onload = function () {
4236
+ g(d.response, b, c);
4237
+ }, d.onerror = function () {
4238
+ console.error("could not download file");
4239
+ }, d.send();
4240
+ }
4241
+
4242
+ function d(a) {
4243
+ var b = new XMLHttpRequest();
4244
+ b.open("HEAD", a, !1);
4245
+
4246
+ try {
4247
+ b.send();
4248
+ } catch (a) {}
4249
+
4250
+ return 200 <= b.status && 299 >= b.status;
4251
+ }
4252
+
4253
+ function e(a) {
4254
+ try {
4255
+ a.dispatchEvent(new MouseEvent("click"));
4256
+ } catch (c) {
4257
+ var b = document.createEvent("MouseEvents");
4258
+ b.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), a.dispatchEvent(b);
4259
+ }
4260
+ }
4261
+
4262
+ var f = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof __webpack_require__.g && __webpack_require__.g.global === __webpack_require__.g ? __webpack_require__.g : void 0,
4263
+ a = f.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent),
4264
+ g = f.saveAs || ("object" != typeof window || window !== f ? function () {} : "download" in HTMLAnchorElement.prototype && !a ? function (b, g, h) {
4265
+ var i = f.URL || f.webkitURL,
4266
+ j = document.createElement("a");
4267
+ g = g || b.name || "download", j.download = g, j.rel = "noopener", "string" == typeof b ? (j.href = b, j.origin === location.origin ? e(j) : d(j.href) ? c(b, g, h) : e(j, j.target = "_blank")) : (j.href = i.createObjectURL(b), setTimeout(function () {
4268
+ i.revokeObjectURL(j.href);
4269
+ }, 4E4), setTimeout(function () {
4270
+ e(j);
4271
+ }, 0));
4272
+ } : "msSaveOrOpenBlob" in navigator ? function (f, g, h) {
4273
+ if (g = g || f.name || "download", "string" != typeof f) navigator.msSaveOrOpenBlob(b(f, h), g);else if (d(f)) c(f, g, h);else {
4274
+ var i = document.createElement("a");
4275
+ i.href = f, i.target = "_blank", setTimeout(function () {
4276
+ e(i);
4277
+ });
4278
+ }
4279
+ } : function (b, d, e, g) {
4280
+ if (g = g || open("", "_blank"), g && (g.document.title = g.document.body.innerText = "downloading..."), "string" == typeof b) return c(b, d, e);
4281
+ var h = "application/octet-stream" === b.type,
4282
+ i = /constructor/i.test(f.HTMLElement) || f.safari,
4283
+ j = /CriOS\/[\d]+/.test(navigator.userAgent);
4284
+
4285
+ if ((j || h && i || a) && "undefined" != typeof FileReader) {
4286
+ var k = new FileReader();
4287
+ k.onloadend = function () {
4288
+ var a = k.result;
4289
+ a = j ? a : a.replace(/^data:[^;]*;/, "data:attachment/file;"), g ? g.location.href = a : location = a, g = null;
4290
+ }, k.readAsDataURL(b);
4291
+ } else {
4292
+ var l = f.URL || f.webkitURL,
4293
+ m = l.createObjectURL(b);
4294
+ g ? g.location = m : location.href = m, g = null, setTimeout(function () {
4295
+ l.revokeObjectURL(m);
4296
+ }, 4E4);
4297
+ }
4298
+ });
4299
+ f.saveAs = g.saveAs = g, true && (module.exports = g);
4300
+ });
4301
+
4302
+ /***/ }),
4303
+
4212
4304
  /***/ 9143:
4213
4305
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4214
4306
 
@@ -218131,11 +218223,34 @@ function syncAttrs(sourceElem, targetElem, attrsKeys) {
218131
218223
  }
218132
218224
  });
218133
218225
  }
218226
+ // EXTERNAL MODULE: ./node_modules/file-saver/dist/FileSaver.min.js
218227
+ var FileSaver_min = __webpack_require__(4014);
218228
+ ;// CONCATENATED MODULE: ./packages/utils/CusMethods.js
218229
+ /*
218230
+ * @Author: leevan
218231
+ * @Date: 2023-08-14 15:10:26
218232
+ * @LastEditTime: 2023-08-14 15:17:14
218233
+ * @LastEditors: leevan
218234
+ * @FilePath: /jtui3.0/packages/utils/CusMethods.js
218235
+ */
218236
+
218237
+ /* harmony default export */ var CusMethods = ({
218238
+ downloadFile: async (url, name, axios) => {
218239
+ const {
218240
+ data
218241
+ } = await axios({
218242
+ url,
218243
+ method: 'get',
218244
+ responseType: 'blob'
218245
+ });
218246
+ (0,FileSaver_min.saveAs)(data, name);
218247
+ }
218248
+ });
218134
218249
  ;// CONCATENATED MODULE: ./packages/index.js
218135
218250
  /*
218136
218251
  * @Author: leevan
218137
218252
  * @Date: 2022-06-29 13:58:34
218138
- * @LastEditTime: 2023-07-20 10:51:17
218253
+ * @LastEditTime: 2023-08-14 15:29:12
218139
218254
  * @LastEditors: leevan
218140
218255
  * @FilePath: /jtui3.0/packages/index.js
218141
218256
  */
@@ -218146,7 +218261,8 @@ function syncAttrs(sourceElem, targetElem, attrsKeys) {
218146
218261
 
218147
218262
 
218148
218263
  // import './utils/default-passive-events'
218149
- // 组件列表
218264
+
218265
+ // 组件列表
218150
218266
 
218151
218267
  const components = [packages_form_0, table_base, table_group, table_big_data, tree_table, upload, packages_echarts]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
218152
218268
 
@@ -218171,7 +218287,8 @@ if (typeof window !== 'undefined' && window.Vue) {
218171
218287
  TableGroup: table_group,
218172
218288
  TableBigData: table_big_data,
218173
218289
  TreeTable: tree_table,
218174
- Echart: packages_echarts
218290
+ Echart: packages_echarts,
218291
+ ...CusMethods
218175
218292
  });
218176
218293
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
218177
218294