@indfnd/common 1.0.122 → 1.0.124
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/CHANGELOG.md +14 -0
- package/dist/ind-common.es.js +23 -17
- package/dist/ind-common.umd.cjs +28 -28
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.124](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.123...v1.0.124) (2025-08-09)
|
|
6
|
+
|
|
7
|
+
### [1.0.123](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.122...v1.0.123) (2025-08-08)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 修复ag-table ([46196eb](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/46196eb27c5d1daf8fa453c3300a91c8ccd45ad6))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 导出install ([12477be](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/12477be03728074b4b9d8b10f71dd8e1bf123b86))
|
|
18
|
+
|
|
5
19
|
### [1.0.122](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.121...v1.0.122) (2025-07-17)
|
|
6
20
|
|
|
7
21
|
### [1.0.121](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.120...v1.0.121) (2025-07-15)
|
package/dist/ind-common.es.js
CHANGED
|
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
|
|
|
5460
5460
|
})(lodash, lodash.exports);
|
|
5461
5461
|
var _ = lodash.exports;
|
|
5462
5462
|
const name$1 = "@indfnd/common";
|
|
5463
|
-
const version = "1.0.
|
|
5463
|
+
const version = "1.0.123";
|
|
5464
5464
|
const author = "huxuetong";
|
|
5465
5465
|
const publishConfig = {
|
|
5466
5466
|
registry: "https://registry.npmjs.org/"
|
|
@@ -54799,10 +54799,14 @@ const __vue2_script$14 = {
|
|
|
54799
54799
|
}
|
|
54800
54800
|
},
|
|
54801
54801
|
flattenData(data) {
|
|
54802
|
-
return _.reduce(
|
|
54803
|
-
|
|
54804
|
-
|
|
54805
|
-
|
|
54802
|
+
return _.reduce(
|
|
54803
|
+
data,
|
|
54804
|
+
(rlt, item2) => {
|
|
54805
|
+
let children = item2.children && item2.children.length ? this.flattenData(item2.children) : [];
|
|
54806
|
+
return [...rlt, item2, ...children];
|
|
54807
|
+
},
|
|
54808
|
+
[]
|
|
54809
|
+
);
|
|
54806
54810
|
},
|
|
54807
54811
|
async updateTableData(callback, isUpdateOriginValue = true) {
|
|
54808
54812
|
if (!this.rowKey) {
|
|
@@ -72246,18 +72250,20 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
72246
72250
|
initWps();
|
|
72247
72251
|
const theme = opts.theme || getDefaultTheme();
|
|
72248
72252
|
doChangeTheme(theme);
|
|
72249
|
-
|
|
72250
|
-
|
|
72251
|
-
|
|
72252
|
-
|
|
72253
|
-
|
|
72254
|
-
|
|
72255
|
-
|
|
72256
|
-
|
|
72253
|
+
if (!location.pathname.includes("scyxweb")) {
|
|
72254
|
+
let url = location.protocol + "//" + location.host + "/ibp-sc/manage/global?t=" + new Date().getTime();
|
|
72255
|
+
axios.get(url).then((data) => {
|
|
72256
|
+
if (data.smallTheme) {
|
|
72257
|
+
let smallThemeDom = document.getElementsByClassName("ind-small-theme")[0];
|
|
72258
|
+
if (smallThemeDom) {
|
|
72259
|
+
_.forIn(data.smallTheme, (v, k) => {
|
|
72260
|
+
smallThemeDom.style.setProperty(k, v);
|
|
72261
|
+
});
|
|
72262
|
+
}
|
|
72257
72263
|
}
|
|
72258
|
-
|
|
72259
|
-
|
|
72260
|
-
}
|
|
72264
|
+
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data);
|
|
72265
|
+
});
|
|
72266
|
+
}
|
|
72261
72267
|
Object.keys(components).forEach((key) => {
|
|
72262
72268
|
Vue2.component(`Ind${key}`, components[key]);
|
|
72263
72269
|
});
|
|
@@ -72317,4 +72323,4 @@ const API = {
|
|
|
72317
72323
|
getDefaultTheme,
|
|
72318
72324
|
doChangeTheme
|
|
72319
72325
|
};
|
|
72320
|
-
export { AppMenu, auditLogModal as AuditLogModal, auditModal as AuditModal, BackTop, backTopPanel as BackTopPanel, BasicLayout, brandInputModal as BrandInputModal, Button, ButtonGroup, Collect, comInputModal as ComInputModal, ConditionPanel, datePicker as DatePicker, detailView as DetailView, Drawer, Dropdown, dropdownItem as DropdownItem, dropdownMenu as DropdownMenu, EmptyLayout, ErrorContent, errorStore as ErrorStore, index$4 as ExcelFlowModal, FormWrap, Fullscreen as FullScreen, helpTableModal as HelpTableModal, helpTreeModal as HelpTreeModal, Icons, imagePreview as ImagePreview, configPlugin as IndConfigPlugin, routerPlugin as IndRouterPlugin, index$2 as ItemCompInputModal, itemInputModal as ItemInputModal, itemTypeCombineSelect as ItemTypeCombineSelect, language as Language, LoadingPanel, Login, materialItemModal as MaterialItemModal, mobileindex as MobileTable, Modal, NotFound, IndOption as Option, optionGroup as OptionGroup, OtherMenu, pageLayout as PageLayout, pageView as PageView, Poptip, reportIndexModal as ReportIndexModal, reportOptionModal as ReportOptionModal, roleAuth as RoleAuth, index$1 as RowSumSettingInputModal, Select, SideMenu, SideMenuItem, SiderTrigger, Sign, signModal as SignModal, index as StepTrack, Table, TagsNav, Tooltip, Tree, index$3 as TreeModal, ImpTreeSelect as TreeSelect, unitRadio as UnitRadio, uploadFile as UploadFile, uploadImg as UploadImg, User, userAuth as UserAuth, editor as WangEditor, zeroRadio as ZeroRadio, addRouterGuards, clickOutside, createMacroBasicRoutes, createMicroBasicRoutes, API as default, permission, print, routerOptions, store, transferDom };
|
|
72326
|
+
export { AppMenu, auditLogModal as AuditLogModal, auditModal as AuditModal, BackTop, backTopPanel as BackTopPanel, BasicLayout, brandInputModal as BrandInputModal, Button, ButtonGroup, Collect, comInputModal as ComInputModal, ConditionPanel, datePicker as DatePicker, detailView as DetailView, Drawer, Dropdown, dropdownItem as DropdownItem, dropdownMenu as DropdownMenu, EmptyLayout, ErrorContent, errorStore as ErrorStore, index$4 as ExcelFlowModal, FormWrap, Fullscreen as FullScreen, helpTableModal as HelpTableModal, helpTreeModal as HelpTreeModal, Icons, imagePreview as ImagePreview, configPlugin as IndConfigPlugin, routerPlugin as IndRouterPlugin, index$2 as ItemCompInputModal, itemInputModal as ItemInputModal, itemTypeCombineSelect as ItemTypeCombineSelect, language as Language, LoadingPanel, Login, materialItemModal as MaterialItemModal, mobileindex as MobileTable, Modal, NotFound, IndOption as Option, optionGroup as OptionGroup, OtherMenu, pageLayout as PageLayout, pageView as PageView, Poptip, reportIndexModal as ReportIndexModal, reportOptionModal as ReportOptionModal, roleAuth as RoleAuth, index$1 as RowSumSettingInputModal, Select, SideMenu, SideMenuItem, SiderTrigger, Sign, signModal as SignModal, index as StepTrack, Table, TagsNav, Tooltip, Tree, index$3 as TreeModal, ImpTreeSelect as TreeSelect, unitRadio as UnitRadio, uploadFile as UploadFile, uploadImg as UploadImg, User, userAuth as UserAuth, editor as WangEditor, zeroRadio as ZeroRadio, addRouterGuards, clickOutside, createMacroBasicRoutes, createMicroBasicRoutes, API as default, install, permission, print, routerOptions, store, transferDom };
|