ftdsy-attr 2.1.7 → 2.1.8
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/ftdsy-attr.cjs.js +33 -12
- package/dist/ftdsy-attr.cjs.js.map +1 -1
- package/dist/ftdsy-attr.d.ts +2 -1
- package/dist/ftdsy-attr.esm.mjs +30 -12
- package/dist/ftdsy-attr.esm.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ftdsy-attr.cjs.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
(function(l, r) { if (!l || l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (self.location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(self.document);
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
+
|
|
5
7
|
var axios = require('axios');
|
|
6
8
|
|
|
7
9
|
function _arrayLikeToArray(r, a) {
|
|
@@ -74975,18 +74977,36 @@ var error = {
|
|
|
74975
74977
|
}
|
|
74976
74978
|
};
|
|
74977
74979
|
|
|
74978
|
-
//
|
|
74979
|
-
|
|
74980
|
-
|
|
74981
|
-
|
|
74982
|
-
|
|
74983
|
-
globalThis.global = globalThis;
|
|
74984
|
-
}
|
|
74980
|
+
// 增强全局对象 polyfill
|
|
74981
|
+
(function () {
|
|
74982
|
+
if (typeof globalThisThis !== 'undefined') return globalThisThis;
|
|
74983
|
+
return globalThis;
|
|
74984
|
+
})();
|
|
74985
74985
|
|
|
74986
|
-
//
|
|
74987
|
-
|
|
74988
|
-
|
|
74989
|
-
|
|
74986
|
+
// 确保所有全局对象引用都指向 globalThisThis
|
|
74987
|
+
Object.defineProperty(globalThisObject, 'globalThis', {
|
|
74988
|
+
value: globalThisObject,
|
|
74989
|
+
writable: true,
|
|
74990
|
+
enumerable: false,
|
|
74991
|
+
configurable: true
|
|
74992
|
+
});
|
|
74993
|
+
Object.defineProperty(globalThisObject, 'globalThis', {
|
|
74994
|
+
value: globalThisObject,
|
|
74995
|
+
writable: true,
|
|
74996
|
+
enumerable: false,
|
|
74997
|
+
configurable: true
|
|
74998
|
+
});
|
|
74999
|
+
Object.defineProperty(globalThisObject, 'globalThis', {
|
|
75000
|
+
value: globalThisObject,
|
|
75001
|
+
writable: true,
|
|
75002
|
+
enumerable: false,
|
|
75003
|
+
configurable: true
|
|
75004
|
+
});
|
|
75005
|
+
|
|
75006
|
+
// 导出全局对象
|
|
75007
|
+
var getGlobal = function getGlobal() {
|
|
75008
|
+
return globalThisObject;
|
|
75009
|
+
};
|
|
74990
75010
|
var main = {
|
|
74991
75011
|
createCategoryProperties: createCategoryProperties,
|
|
74992
75012
|
getOriginProperty: getOriginProperty,
|
|
@@ -75243,5 +75263,6 @@ function createCategoryPropertyTemplate(properties) {
|
|
|
75243
75263
|
return attrs;
|
|
75244
75264
|
}
|
|
75245
75265
|
|
|
75246
|
-
|
|
75266
|
+
exports.default = main;
|
|
75267
|
+
exports.getGlobal = getGlobal;
|
|
75247
75268
|
//# sourceMappingURL=ftdsy-attr.cjs.js.map
|