woodao-pc-ui 0.0.57 → 0.0.58
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/package.json
CHANGED
|
@@ -46766,7 +46766,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
46766
46766
|
"default": function() { return /* binding */ entry_lib; }
|
|
46767
46767
|
});
|
|
46768
46768
|
|
|
46769
|
-
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
46769
|
+
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile, setApiConfig, setNiftyUrl
|
|
46770
46770
|
|
|
46771
46771
|
// NAMESPACE OBJECT: ./node_modules/echarts/lib/util/graphic.js
|
|
46772
46772
|
var graphic_namespaceObject = {};
|
|
@@ -161259,7 +161259,7 @@ function useEcharts(dom, theme) {
|
|
|
161259
161259
|
return instance;
|
|
161260
161260
|
}
|
|
161261
161261
|
;// ./package.json
|
|
161262
|
-
var package_namespaceObject = {"rE":"0.0.
|
|
161262
|
+
var package_namespaceObject = {"rE":"0.0.58"};
|
|
161263
161263
|
;// ./src/setting/index.ts
|
|
161264
161264
|
|
|
161265
161265
|
const primaryColors = (/* unused pure expression or super */ null && (["#409eff", "#13C2C2", "#F5222D", "#722ED1", "#f7acbc", "#ef5b9c", "#bd6758", "#f47920", "#2e3a1f", "#b2d235", "#121a2a", "#6a6da9", "#867892", "#fcaf17", "#76becc", "#1b315e", "#b4532a", "#008792"]));
|
|
@@ -165701,6 +165701,21 @@ const sysConfigUtils_SysConfigUtils = {
|
|
|
165701
165701
|
};
|
|
165702
165702
|
}
|
|
165703
165703
|
};
|
|
165704
|
+
// 添加静态方法,方便外部调用
|
|
165705
|
+
sysConfigUtils_SysConfigUtils.setNiftyUrl = function (url) {
|
|
165706
|
+
sysConfigUtils_SysConfigUtils.niftyUrl = url;
|
|
165707
|
+
sysConfigUtils_SysConfigUtils.niftyRelUrl = url;
|
|
165708
|
+
if (window.SysConfigUtils) {
|
|
165709
|
+
window.SysConfigUtils.niftyUrl = url;
|
|
165710
|
+
window.SysConfigUtils.niftyRelUrl = url;
|
|
165711
|
+
}
|
|
165712
|
+
};
|
|
165713
|
+
sysConfigUtils_SysConfigUtils.setApiConfig = function (config) {
|
|
165714
|
+
Object.assign(sysConfigUtils_SysConfigUtils, config);
|
|
165715
|
+
if (window.SysConfigUtils) {
|
|
165716
|
+
Object.assign(window.SysConfigUtils, config);
|
|
165717
|
+
}
|
|
165718
|
+
};
|
|
165704
165719
|
window.SysConfigUtils = sysConfigUtils_SysConfigUtils;
|
|
165705
165720
|
/* harmony default export */ var sysConfigUtils = (sysConfigUtils_SysConfigUtils);
|
|
165706
165721
|
// EXTERNAL MODULE: ./node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs + 1 modules
|
|
@@ -242675,98 +242690,6 @@ const CommentListCustomvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
242675
242690
|
const CommentListCustom_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(CommentListCustomvue_type_script_setup_true_lang_ts, [['__scopeId',"data-v-249c0f6e"]])
|
|
242676
242691
|
|
|
242677
242692
|
/* harmony default export */ var CommentListCustom = (CommentListCustom_exports_);
|
|
242678
|
-
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
242679
|
-
function typeof_typeof(o) {
|
|
242680
|
-
"@babel/helpers - typeof";
|
|
242681
|
-
|
|
242682
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
242683
|
-
return typeof o;
|
|
242684
|
-
} : function (o) {
|
|
242685
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
242686
|
-
}, typeof_typeof(o);
|
|
242687
|
-
}
|
|
242688
|
-
|
|
242689
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
242690
|
-
|
|
242691
|
-
function toPrimitive(t, r) {
|
|
242692
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
242693
|
-
var e = t[Symbol.toPrimitive];
|
|
242694
|
-
if (void 0 !== e) {
|
|
242695
|
-
var i = e.call(t, r || "default");
|
|
242696
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
242697
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
242698
|
-
}
|
|
242699
|
-
return ("string" === r ? String : Number)(t);
|
|
242700
|
-
}
|
|
242701
|
-
|
|
242702
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
242703
|
-
|
|
242704
|
-
|
|
242705
|
-
function toPropertyKey(t) {
|
|
242706
|
-
var i = toPrimitive(t, "string");
|
|
242707
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
242708
|
-
}
|
|
242709
|
-
|
|
242710
|
-
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
242711
|
-
|
|
242712
|
-
function defineProperty_defineProperty(e, r, t) {
|
|
242713
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
242714
|
-
value: t,
|
|
242715
|
-
enumerable: !0,
|
|
242716
|
-
configurable: !0,
|
|
242717
|
-
writable: !0
|
|
242718
|
-
}) : e[r] = t, e;
|
|
242719
|
-
}
|
|
242720
|
-
|
|
242721
|
-
;// ./src/utils/configManager.ts
|
|
242722
|
-
|
|
242723
|
-
// 配置管理器 - 专门用于外部项目配置API地址
|
|
242724
|
-
class ConfigManager {
|
|
242725
|
-
constructor() {
|
|
242726
|
-
defineProperty_defineProperty(this, "config", {});
|
|
242727
|
-
}
|
|
242728
|
-
static getInstance() {
|
|
242729
|
-
if (!ConfigManager.instance) {
|
|
242730
|
-
ConfigManager.instance = new ConfigManager();
|
|
242731
|
-
}
|
|
242732
|
-
return ConfigManager.instance;
|
|
242733
|
-
}
|
|
242734
|
-
// 设置配置
|
|
242735
|
-
setConfig(config) {
|
|
242736
|
-
this.config = {
|
|
242737
|
-
...this.config,
|
|
242738
|
-
...config
|
|
242739
|
-
};
|
|
242740
|
-
// 同时更新全局配置
|
|
242741
|
-
if (window.SysConfigUtils) {
|
|
242742
|
-
Object.assign(window.SysConfigUtils, config);
|
|
242743
|
-
}
|
|
242744
|
-
}
|
|
242745
|
-
// 获取配置
|
|
242746
|
-
getConfig() {
|
|
242747
|
-
return this.config;
|
|
242748
|
-
}
|
|
242749
|
-
// 获取API前缀
|
|
242750
|
-
getApiPrefix() {
|
|
242751
|
-
return this.config.niftyUrl || window.SysConfigUtils?.niftyUrl || '/woodao-backend';
|
|
242752
|
-
}
|
|
242753
|
-
// 更新niftyUrl
|
|
242754
|
-
setNiftyUrl(url) {
|
|
242755
|
-
this.setConfig({
|
|
242756
|
-
niftyUrl: url
|
|
242757
|
-
});
|
|
242758
|
-
}
|
|
242759
|
-
}
|
|
242760
|
-
// 创建单例实例
|
|
242761
|
-
defineProperty_defineProperty(ConfigManager, "instance", void 0);
|
|
242762
|
-
const configManager = ConfigManager.getInstance();
|
|
242763
|
-
// 导出配置管理器
|
|
242764
|
-
/* harmony default export */ var utils_configManager = ((/* unused pure expression or super */ null && (configManager)));
|
|
242765
|
-
// 导出便捷方法
|
|
242766
|
-
const setApiConfig = config => configManager.setConfig(config);
|
|
242767
|
-
const getApiConfig = () => configManager.getConfig();
|
|
242768
|
-
const setNiftyUrl = url => configManager.setNiftyUrl(url);
|
|
242769
|
-
const getApiPrefix = () => configManager.getApiPrefix();
|
|
242770
242693
|
;// ./src/package/index.js
|
|
242771
242694
|
// 导入所有组件
|
|
242772
242695
|
// 按钮组件
|
|
@@ -242790,7 +242713,6 @@ const getApiPrefix = () => configManager.getApiPrefix();
|
|
|
242790
242713
|
// 导入工具类
|
|
242791
242714
|
|
|
242792
242715
|
|
|
242793
|
-
|
|
242794
242716
|
// 所有组件集合
|
|
242795
242717
|
const coms = [PigButton, BaseForm, BaseFormItem, SelectBySystemCode, SelectByParentCode, BaseGrid, GoVxeGrid, RadioVxeGrid, ImportWin, SelPeople, SelPerson, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
242796
242718
|
// 评论组件
|
|
@@ -242805,6 +242727,10 @@ const package_install = function (Vue) {
|
|
|
242805
242727
|
|
|
242806
242728
|
// 导出所有组件和工具类
|
|
242807
242729
|
|
|
242730
|
+
|
|
242731
|
+
// 导出便捷方法
|
|
242732
|
+
const setNiftyUrl = sysConfigUtils.setNiftyUrl;
|
|
242733
|
+
const setApiConfig = sysConfigUtils.setApiConfig;
|
|
242808
242734
|
/* harmony default export */ var src_package = (package_install); // 这个方法以后再使用的时候可以被use调用
|
|
242809
242735
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
242810
242736
|
|
|
@@ -46766,7 +46766,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
46766
46766
|
"default": function() { return /* binding */ entry_lib; }
|
|
46767
46767
|
});
|
|
46768
46768
|
|
|
46769
|
-
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
46769
|
+
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile, setApiConfig, setNiftyUrl
|
|
46770
46770
|
|
|
46771
46771
|
// NAMESPACE OBJECT: ./node_modules/echarts/lib/util/graphic.js
|
|
46772
46772
|
var graphic_namespaceObject = {};
|
|
@@ -161259,7 +161259,7 @@ function useEcharts(dom, theme) {
|
|
|
161259
161259
|
return instance;
|
|
161260
161260
|
}
|
|
161261
161261
|
;// ./package.json
|
|
161262
|
-
var package_namespaceObject = {"rE":"0.0.
|
|
161262
|
+
var package_namespaceObject = {"rE":"0.0.58"};
|
|
161263
161263
|
;// ./src/setting/index.ts
|
|
161264
161264
|
|
|
161265
161265
|
const primaryColors = (/* unused pure expression or super */ null && (["#409eff", "#13C2C2", "#F5222D", "#722ED1", "#f7acbc", "#ef5b9c", "#bd6758", "#f47920", "#2e3a1f", "#b2d235", "#121a2a", "#6a6da9", "#867892", "#fcaf17", "#76becc", "#1b315e", "#b4532a", "#008792"]));
|
|
@@ -165701,6 +165701,21 @@ const sysConfigUtils_SysConfigUtils = {
|
|
|
165701
165701
|
};
|
|
165702
165702
|
}
|
|
165703
165703
|
};
|
|
165704
|
+
// 添加静态方法,方便外部调用
|
|
165705
|
+
sysConfigUtils_SysConfigUtils.setNiftyUrl = function (url) {
|
|
165706
|
+
sysConfigUtils_SysConfigUtils.niftyUrl = url;
|
|
165707
|
+
sysConfigUtils_SysConfigUtils.niftyRelUrl = url;
|
|
165708
|
+
if (window.SysConfigUtils) {
|
|
165709
|
+
window.SysConfigUtils.niftyUrl = url;
|
|
165710
|
+
window.SysConfigUtils.niftyRelUrl = url;
|
|
165711
|
+
}
|
|
165712
|
+
};
|
|
165713
|
+
sysConfigUtils_SysConfigUtils.setApiConfig = function (config) {
|
|
165714
|
+
Object.assign(sysConfigUtils_SysConfigUtils, config);
|
|
165715
|
+
if (window.SysConfigUtils) {
|
|
165716
|
+
Object.assign(window.SysConfigUtils, config);
|
|
165717
|
+
}
|
|
165718
|
+
};
|
|
165704
165719
|
window.SysConfigUtils = sysConfigUtils_SysConfigUtils;
|
|
165705
165720
|
/* harmony default export */ var sysConfigUtils = (sysConfigUtils_SysConfigUtils);
|
|
165706
165721
|
// EXTERNAL MODULE: ./node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs + 1 modules
|
|
@@ -242675,98 +242690,6 @@ const CommentListCustomvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
242675
242690
|
const CommentListCustom_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(CommentListCustomvue_type_script_setup_true_lang_ts, [['__scopeId',"data-v-249c0f6e"]])
|
|
242676
242691
|
|
|
242677
242692
|
/* harmony default export */ var CommentListCustom = (CommentListCustom_exports_);
|
|
242678
|
-
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
242679
|
-
function typeof_typeof(o) {
|
|
242680
|
-
"@babel/helpers - typeof";
|
|
242681
|
-
|
|
242682
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
242683
|
-
return typeof o;
|
|
242684
|
-
} : function (o) {
|
|
242685
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
242686
|
-
}, typeof_typeof(o);
|
|
242687
|
-
}
|
|
242688
|
-
|
|
242689
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
242690
|
-
|
|
242691
|
-
function toPrimitive(t, r) {
|
|
242692
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
242693
|
-
var e = t[Symbol.toPrimitive];
|
|
242694
|
-
if (void 0 !== e) {
|
|
242695
|
-
var i = e.call(t, r || "default");
|
|
242696
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
242697
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
242698
|
-
}
|
|
242699
|
-
return ("string" === r ? String : Number)(t);
|
|
242700
|
-
}
|
|
242701
|
-
|
|
242702
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
242703
|
-
|
|
242704
|
-
|
|
242705
|
-
function toPropertyKey(t) {
|
|
242706
|
-
var i = toPrimitive(t, "string");
|
|
242707
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
242708
|
-
}
|
|
242709
|
-
|
|
242710
|
-
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
242711
|
-
|
|
242712
|
-
function defineProperty_defineProperty(e, r, t) {
|
|
242713
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
242714
|
-
value: t,
|
|
242715
|
-
enumerable: !0,
|
|
242716
|
-
configurable: !0,
|
|
242717
|
-
writable: !0
|
|
242718
|
-
}) : e[r] = t, e;
|
|
242719
|
-
}
|
|
242720
|
-
|
|
242721
|
-
;// ./src/utils/configManager.ts
|
|
242722
|
-
|
|
242723
|
-
// 配置管理器 - 专门用于外部项目配置API地址
|
|
242724
|
-
class ConfigManager {
|
|
242725
|
-
constructor() {
|
|
242726
|
-
defineProperty_defineProperty(this, "config", {});
|
|
242727
|
-
}
|
|
242728
|
-
static getInstance() {
|
|
242729
|
-
if (!ConfigManager.instance) {
|
|
242730
|
-
ConfigManager.instance = new ConfigManager();
|
|
242731
|
-
}
|
|
242732
|
-
return ConfigManager.instance;
|
|
242733
|
-
}
|
|
242734
|
-
// 设置配置
|
|
242735
|
-
setConfig(config) {
|
|
242736
|
-
this.config = {
|
|
242737
|
-
...this.config,
|
|
242738
|
-
...config
|
|
242739
|
-
};
|
|
242740
|
-
// 同时更新全局配置
|
|
242741
|
-
if (window.SysConfigUtils) {
|
|
242742
|
-
Object.assign(window.SysConfigUtils, config);
|
|
242743
|
-
}
|
|
242744
|
-
}
|
|
242745
|
-
// 获取配置
|
|
242746
|
-
getConfig() {
|
|
242747
|
-
return this.config;
|
|
242748
|
-
}
|
|
242749
|
-
// 获取API前缀
|
|
242750
|
-
getApiPrefix() {
|
|
242751
|
-
return this.config.niftyUrl || window.SysConfigUtils?.niftyUrl || '/woodao-backend';
|
|
242752
|
-
}
|
|
242753
|
-
// 更新niftyUrl
|
|
242754
|
-
setNiftyUrl(url) {
|
|
242755
|
-
this.setConfig({
|
|
242756
|
-
niftyUrl: url
|
|
242757
|
-
});
|
|
242758
|
-
}
|
|
242759
|
-
}
|
|
242760
|
-
// 创建单例实例
|
|
242761
|
-
defineProperty_defineProperty(ConfigManager, "instance", void 0);
|
|
242762
|
-
const configManager = ConfigManager.getInstance();
|
|
242763
|
-
// 导出配置管理器
|
|
242764
|
-
/* harmony default export */ var utils_configManager = ((/* unused pure expression or super */ null && (configManager)));
|
|
242765
|
-
// 导出便捷方法
|
|
242766
|
-
const setApiConfig = config => configManager.setConfig(config);
|
|
242767
|
-
const getApiConfig = () => configManager.getConfig();
|
|
242768
|
-
const setNiftyUrl = url => configManager.setNiftyUrl(url);
|
|
242769
|
-
const getApiPrefix = () => configManager.getApiPrefix();
|
|
242770
242693
|
;// ./src/package/index.js
|
|
242771
242694
|
// 导入所有组件
|
|
242772
242695
|
// 按钮组件
|
|
@@ -242790,7 +242713,6 @@ const getApiPrefix = () => configManager.getApiPrefix();
|
|
|
242790
242713
|
// 导入工具类
|
|
242791
242714
|
|
|
242792
242715
|
|
|
242793
|
-
|
|
242794
242716
|
// 所有组件集合
|
|
242795
242717
|
const coms = [PigButton, BaseForm, BaseFormItem, SelectBySystemCode, SelectByParentCode, BaseGrid, GoVxeGrid, RadioVxeGrid, ImportWin, SelPeople, SelPerson, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
242796
242718
|
// 评论组件
|
|
@@ -242805,6 +242727,10 @@ const package_install = function (Vue) {
|
|
|
242805
242727
|
|
|
242806
242728
|
// 导出所有组件和工具类
|
|
242807
242729
|
|
|
242730
|
+
|
|
242731
|
+
// 导出便捷方法
|
|
242732
|
+
const setNiftyUrl = sysConfigUtils.setNiftyUrl;
|
|
242733
|
+
const setApiConfig = sysConfigUtils.setApiConfig;
|
|
242808
242734
|
/* harmony default export */ var src_package = (package_install); // 这个方法以后再使用的时候可以被use调用
|
|
242809
242735
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
242810
242736
|
|
|
@@ -46766,7 +46766,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
46766
46766
|
"default": function() { return /* binding */ entry_lib; }
|
|
46767
46767
|
});
|
|
46768
46768
|
|
|
46769
|
-
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
46769
|
+
// UNUSED EXPORTS: BaseForm, BaseFormItem, BaseGrid, CommentListCustom, GoVxeGrid, ImportWin, PigButton, RadioVxeGrid, SelPeople, SelPerson, SelectByParentCode, SelectBySystemCode, SysConfigUtils, TableBody, TableConfig, TableFooter, TableHeader, UploadFile, setApiConfig, setNiftyUrl
|
|
46770
46770
|
|
|
46771
46771
|
// NAMESPACE OBJECT: ./node_modules/echarts/lib/util/graphic.js
|
|
46772
46772
|
var graphic_namespaceObject = {};
|
|
@@ -161259,7 +161259,7 @@ function useEcharts(dom, theme) {
|
|
|
161259
161259
|
return instance;
|
|
161260
161260
|
}
|
|
161261
161261
|
;// ./package.json
|
|
161262
|
-
var package_namespaceObject = {"rE":"0.0.
|
|
161262
|
+
var package_namespaceObject = {"rE":"0.0.58"};
|
|
161263
161263
|
;// ./src/setting/index.ts
|
|
161264
161264
|
|
|
161265
161265
|
const primaryColors = (/* unused pure expression or super */ null && (["#409eff", "#13C2C2", "#F5222D", "#722ED1", "#f7acbc", "#ef5b9c", "#bd6758", "#f47920", "#2e3a1f", "#b2d235", "#121a2a", "#6a6da9", "#867892", "#fcaf17", "#76becc", "#1b315e", "#b4532a", "#008792"]));
|
|
@@ -165701,6 +165701,21 @@ const sysConfigUtils_SysConfigUtils = {
|
|
|
165701
165701
|
};
|
|
165702
165702
|
}
|
|
165703
165703
|
};
|
|
165704
|
+
// 添加静态方法,方便外部调用
|
|
165705
|
+
sysConfigUtils_SysConfigUtils.setNiftyUrl = function (url) {
|
|
165706
|
+
sysConfigUtils_SysConfigUtils.niftyUrl = url;
|
|
165707
|
+
sysConfigUtils_SysConfigUtils.niftyRelUrl = url;
|
|
165708
|
+
if (window.SysConfigUtils) {
|
|
165709
|
+
window.SysConfigUtils.niftyUrl = url;
|
|
165710
|
+
window.SysConfigUtils.niftyRelUrl = url;
|
|
165711
|
+
}
|
|
165712
|
+
};
|
|
165713
|
+
sysConfigUtils_SysConfigUtils.setApiConfig = function (config) {
|
|
165714
|
+
Object.assign(sysConfigUtils_SysConfigUtils, config);
|
|
165715
|
+
if (window.SysConfigUtils) {
|
|
165716
|
+
Object.assign(window.SysConfigUtils, config);
|
|
165717
|
+
}
|
|
165718
|
+
};
|
|
165704
165719
|
window.SysConfigUtils = sysConfigUtils_SysConfigUtils;
|
|
165705
165720
|
/* harmony default export */ var sysConfigUtils = (sysConfigUtils_SysConfigUtils);
|
|
165706
165721
|
// EXTERNAL MODULE: ./node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs + 1 modules
|
|
@@ -242675,98 +242690,6 @@ const CommentListCustomvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
242675
242690
|
const CommentListCustom_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(CommentListCustomvue_type_script_setup_true_lang_ts, [['__scopeId',"data-v-249c0f6e"]])
|
|
242676
242691
|
|
|
242677
242692
|
/* harmony default export */ var CommentListCustom = (CommentListCustom_exports_);
|
|
242678
|
-
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
242679
|
-
function typeof_typeof(o) {
|
|
242680
|
-
"@babel/helpers - typeof";
|
|
242681
|
-
|
|
242682
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
242683
|
-
return typeof o;
|
|
242684
|
-
} : function (o) {
|
|
242685
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
242686
|
-
}, typeof_typeof(o);
|
|
242687
|
-
}
|
|
242688
|
-
|
|
242689
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
242690
|
-
|
|
242691
|
-
function toPrimitive(t, r) {
|
|
242692
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
242693
|
-
var e = t[Symbol.toPrimitive];
|
|
242694
|
-
if (void 0 !== e) {
|
|
242695
|
-
var i = e.call(t, r || "default");
|
|
242696
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
242697
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
242698
|
-
}
|
|
242699
|
-
return ("string" === r ? String : Number)(t);
|
|
242700
|
-
}
|
|
242701
|
-
|
|
242702
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
242703
|
-
|
|
242704
|
-
|
|
242705
|
-
function toPropertyKey(t) {
|
|
242706
|
-
var i = toPrimitive(t, "string");
|
|
242707
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
242708
|
-
}
|
|
242709
|
-
|
|
242710
|
-
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
242711
|
-
|
|
242712
|
-
function defineProperty_defineProperty(e, r, t) {
|
|
242713
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
242714
|
-
value: t,
|
|
242715
|
-
enumerable: !0,
|
|
242716
|
-
configurable: !0,
|
|
242717
|
-
writable: !0
|
|
242718
|
-
}) : e[r] = t, e;
|
|
242719
|
-
}
|
|
242720
|
-
|
|
242721
|
-
;// ./src/utils/configManager.ts
|
|
242722
|
-
|
|
242723
|
-
// 配置管理器 - 专门用于外部项目配置API地址
|
|
242724
|
-
class ConfigManager {
|
|
242725
|
-
constructor() {
|
|
242726
|
-
defineProperty_defineProperty(this, "config", {});
|
|
242727
|
-
}
|
|
242728
|
-
static getInstance() {
|
|
242729
|
-
if (!ConfigManager.instance) {
|
|
242730
|
-
ConfigManager.instance = new ConfigManager();
|
|
242731
|
-
}
|
|
242732
|
-
return ConfigManager.instance;
|
|
242733
|
-
}
|
|
242734
|
-
// 设置配置
|
|
242735
|
-
setConfig(config) {
|
|
242736
|
-
this.config = {
|
|
242737
|
-
...this.config,
|
|
242738
|
-
...config
|
|
242739
|
-
};
|
|
242740
|
-
// 同时更新全局配置
|
|
242741
|
-
if (window.SysConfigUtils) {
|
|
242742
|
-
Object.assign(window.SysConfigUtils, config);
|
|
242743
|
-
}
|
|
242744
|
-
}
|
|
242745
|
-
// 获取配置
|
|
242746
|
-
getConfig() {
|
|
242747
|
-
return this.config;
|
|
242748
|
-
}
|
|
242749
|
-
// 获取API前缀
|
|
242750
|
-
getApiPrefix() {
|
|
242751
|
-
return this.config.niftyUrl || window.SysConfigUtils?.niftyUrl || '/woodao-backend';
|
|
242752
|
-
}
|
|
242753
|
-
// 更新niftyUrl
|
|
242754
|
-
setNiftyUrl(url) {
|
|
242755
|
-
this.setConfig({
|
|
242756
|
-
niftyUrl: url
|
|
242757
|
-
});
|
|
242758
|
-
}
|
|
242759
|
-
}
|
|
242760
|
-
// 创建单例实例
|
|
242761
|
-
defineProperty_defineProperty(ConfigManager, "instance", void 0);
|
|
242762
|
-
const configManager = ConfigManager.getInstance();
|
|
242763
|
-
// 导出配置管理器
|
|
242764
|
-
/* harmony default export */ var utils_configManager = ((/* unused pure expression or super */ null && (configManager)));
|
|
242765
|
-
// 导出便捷方法
|
|
242766
|
-
const setApiConfig = config => configManager.setConfig(config);
|
|
242767
|
-
const getApiConfig = () => configManager.getConfig();
|
|
242768
|
-
const setNiftyUrl = url => configManager.setNiftyUrl(url);
|
|
242769
|
-
const getApiPrefix = () => configManager.getApiPrefix();
|
|
242770
242693
|
;// ./src/package/index.js
|
|
242771
242694
|
// 导入所有组件
|
|
242772
242695
|
// 按钮组件
|
|
@@ -242790,7 +242713,6 @@ const getApiPrefix = () => configManager.getApiPrefix();
|
|
|
242790
242713
|
// 导入工具类
|
|
242791
242714
|
|
|
242792
242715
|
|
|
242793
|
-
|
|
242794
242716
|
// 所有组件集合
|
|
242795
242717
|
const coms = [PigButton, BaseForm, BaseFormItem, SelectBySystemCode, SelectByParentCode, BaseGrid, GoVxeGrid, RadioVxeGrid, ImportWin, SelPeople, SelPerson, TableBody, TableConfig, TableFooter, TableHeader, UploadFile,
|
|
242796
242718
|
// 评论组件
|
|
@@ -242805,6 +242727,10 @@ const package_install = function (Vue) {
|
|
|
242805
242727
|
|
|
242806
242728
|
// 导出所有组件和工具类
|
|
242807
242729
|
|
|
242730
|
+
|
|
242731
|
+
// 导出便捷方法
|
|
242732
|
+
const setNiftyUrl = sysConfigUtils.setNiftyUrl;
|
|
242733
|
+
const setApiConfig = sysConfigUtils.setApiConfig;
|
|
242808
242734
|
/* harmony default export */ var src_package = (package_install); // 这个方法以后再使用的时候可以被use调用
|
|
242809
242735
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
242810
242736
|
|