meixioacomponent 1.1.61 → 1.1.62
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/components/index.d.ts.map +1 -1
- package/lib/components/index.js +2 -0
- package/lib/meixioacomponent.common.js +26 -0
- package/lib/meixioacomponent.umd.js +26 -0
- package/lib/meixioacomponent.umd.min.js +1 -1
- package/lib/plugin/PluginByReferenceByOss.d.ts +2 -0
- package/lib/plugin/PluginByReferenceByOss.d.ts.map +1 -0
- package/lib/plugin/PluginByReferenceByOss.js +16 -0
- package/package.json +1 -1
- package/packages/components/index.js +2 -0
- package/packages/components/index.ts +2 -0
- package/packages/plugin/PluginByReferenceByOss.js +16 -0
- package/packages/plugin/PluginByReferenceByOss.ts +13 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/index.ts"],"names":[],"mappings":"AA2DA,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAGjE,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAS5C,OAAO,aAAa,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/index.ts"],"names":[],"mappings":"AA2DA,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAGjE,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAS5C,OAAO,aAAa,MAAM,yBAAyB,CAAC;AA8FpD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
|
package/lib/components/index.js
CHANGED
|
@@ -78,6 +78,7 @@ const LinkViewClass_1 = __importDefault(require("../config/LinkViewClass"));
|
|
|
78
78
|
const useType_1 = require("../useType/useType");
|
|
79
79
|
const ProTableLocalConfigManage_1 = __importDefault(require("../config/ProTableLocalConfigManage/ProTableLocalConfigManage"));
|
|
80
80
|
const baseTimeRangePicker_1 = __importDefault(require("./base/baseTimeRangePicker"));
|
|
81
|
+
const PluginByReferenceByOss_1 = require("../plugin/PluginByReferenceByOss");
|
|
81
82
|
const meixicomponents = [
|
|
82
83
|
baseAnchor_1.default,
|
|
83
84
|
baseAppendix_1.default,
|
|
@@ -151,6 +152,7 @@ const install = (Vue) => {
|
|
|
151
152
|
componentConfig_1.default.createDialogCacheWrap();
|
|
152
153
|
componentConfig_1.default.eventBus = new componentConfig_1.default.Vue();
|
|
153
154
|
ProTableLocalConfigManage_1.default.initByProTableLocalConfigManage();
|
|
155
|
+
(0, PluginByReferenceByOss_1.PluginByReferenceByOss)(Vue);
|
|
154
156
|
};
|
|
155
157
|
//
|
|
156
158
|
if (typeof window !== "undefined" && window[`Vue`]) {
|
|
@@ -62423,6 +62423,30 @@ exports["default"] = useWait;
|
|
|
62423
62423
|
|
|
62424
62424
|
/***/ }),
|
|
62425
62425
|
|
|
62426
|
+
/***/ 38272:
|
|
62427
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
62428
|
+
|
|
62429
|
+
"use strict";
|
|
62430
|
+
|
|
62431
|
+
|
|
62432
|
+
exports.__esModule = true;
|
|
62433
|
+
exports.PluginByReferenceByOss = void 0;
|
|
62434
|
+
var PluginByReferenceByOss = function (Vue) {
|
|
62435
|
+
var metaTag = document.querySelector('meta[name="referrer"][content="no-referrer"]');
|
|
62436
|
+
if (metaTag) {
|
|
62437
|
+
metaTag.remove();
|
|
62438
|
+
}
|
|
62439
|
+
// 创建 meta 元素
|
|
62440
|
+
var metaTagByStrict = document.createElement('meta');
|
|
62441
|
+
metaTagByStrict.name = 'referrer';
|
|
62442
|
+
metaTagByStrict.content = 'strict-origin-when-cross-origin';
|
|
62443
|
+
// 添加到 head
|
|
62444
|
+
document.getElementsByTagName('head')[0].appendChild(metaTagByStrict);
|
|
62445
|
+
};
|
|
62446
|
+
exports.PluginByReferenceByOss = PluginByReferenceByOss;
|
|
62447
|
+
|
|
62448
|
+
/***/ }),
|
|
62449
|
+
|
|
62426
62450
|
/***/ 94667:
|
|
62427
62451
|
/***/ (function(__unused_webpack_module, exports) {
|
|
62428
62452
|
|
|
@@ -63153,6 +63177,7 @@ const LinkViewClass_1 = __importDefault(__webpack_require__(67122));
|
|
|
63153
63177
|
const useType_1 = __webpack_require__(94667);
|
|
63154
63178
|
const ProTableLocalConfigManage_1 = __importDefault(__webpack_require__(94973));
|
|
63155
63179
|
const baseTimeRangePicker_1 = __importDefault(__webpack_require__(63976));
|
|
63180
|
+
const PluginByReferenceByOss_1 = __webpack_require__(38272);
|
|
63156
63181
|
const meixicomponents = [
|
|
63157
63182
|
baseAnchor_1.default,
|
|
63158
63183
|
baseAppendix_1.default,
|
|
@@ -63226,6 +63251,7 @@ const install = (Vue) => {
|
|
|
63226
63251
|
componentConfig_1.default.createDialogCacheWrap();
|
|
63227
63252
|
componentConfig_1.default.eventBus = new componentConfig_1.default.Vue();
|
|
63228
63253
|
ProTableLocalConfigManage_1.default.initByProTableLocalConfigManage();
|
|
63254
|
+
(0, PluginByReferenceByOss_1.PluginByReferenceByOss)(Vue);
|
|
63229
63255
|
};
|
|
63230
63256
|
//
|
|
63231
63257
|
if (typeof window !== "undefined" && window[`Vue`]) {
|
|
@@ -62433,6 +62433,30 @@ exports["default"] = useWait;
|
|
|
62433
62433
|
|
|
62434
62434
|
/***/ }),
|
|
62435
62435
|
|
|
62436
|
+
/***/ 58071:
|
|
62437
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
62438
|
+
|
|
62439
|
+
"use strict";
|
|
62440
|
+
|
|
62441
|
+
|
|
62442
|
+
exports.__esModule = true;
|
|
62443
|
+
exports.PluginByReferenceByOss = void 0;
|
|
62444
|
+
var PluginByReferenceByOss = function (Vue) {
|
|
62445
|
+
var metaTag = document.querySelector('meta[name="referrer"][content="no-referrer"]');
|
|
62446
|
+
if (metaTag) {
|
|
62447
|
+
metaTag.remove();
|
|
62448
|
+
}
|
|
62449
|
+
// 创建 meta 元素
|
|
62450
|
+
var metaTagByStrict = document.createElement('meta');
|
|
62451
|
+
metaTagByStrict.name = 'referrer';
|
|
62452
|
+
metaTagByStrict.content = 'strict-origin-when-cross-origin';
|
|
62453
|
+
// 添加到 head
|
|
62454
|
+
document.getElementsByTagName('head')[0].appendChild(metaTagByStrict);
|
|
62455
|
+
};
|
|
62456
|
+
exports.PluginByReferenceByOss = PluginByReferenceByOss;
|
|
62457
|
+
|
|
62458
|
+
/***/ }),
|
|
62459
|
+
|
|
62436
62460
|
/***/ 15863:
|
|
62437
62461
|
/***/ (function(__unused_webpack_module, exports) {
|
|
62438
62462
|
|
|
@@ -63163,6 +63187,7 @@ const LinkViewClass_1 = __importDefault(__webpack_require__(30958));
|
|
|
63163
63187
|
const useType_1 = __webpack_require__(15863);
|
|
63164
63188
|
const ProTableLocalConfigManage_1 = __importDefault(__webpack_require__(19635));
|
|
63165
63189
|
const baseTimeRangePicker_1 = __importDefault(__webpack_require__(7525));
|
|
63190
|
+
const PluginByReferenceByOss_1 = __webpack_require__(58071);
|
|
63166
63191
|
const meixicomponents = [
|
|
63167
63192
|
baseAnchor_1.default,
|
|
63168
63193
|
baseAppendix_1.default,
|
|
@@ -63236,6 +63261,7 @@ const install = (Vue) => {
|
|
|
63236
63261
|
componentConfig_1.default.createDialogCacheWrap();
|
|
63237
63262
|
componentConfig_1.default.eventBus = new componentConfig_1.default.Vue();
|
|
63238
63263
|
ProTableLocalConfigManage_1.default.initByProTableLocalConfigManage();
|
|
63264
|
+
(0, PluginByReferenceByOss_1.PluginByReferenceByOss)(Vue);
|
|
63239
63265
|
};
|
|
63240
63266
|
//
|
|
63241
63267
|
if (typeof window !== "undefined" && window[`Vue`]) {
|