@indfnd/common 0.1.91 → 0.1.95

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 CHANGED
@@ -2,6 +2,29 @@
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
+ ### [0.1.95](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.93...v0.1.95) (2024-06-13)
6
+
7
+
8
+ ### Features
9
+
10
+ * 关闭登录页面 ([4cba3ef](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4cba3ef3cc9a4d3f3fbb6a0da316d65161e0a348))
11
+
12
+ ### [0.1.94](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.93...v0.1.94) (2024-06-13)
13
+
14
+
15
+ ### Features
16
+
17
+ * 关闭登录页面 ([4cba3ef](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4cba3ef3cc9a4d3f3fbb6a0da316d65161e0a348))
18
+
19
+ ### [0.1.93](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.92...v0.1.93) (2024-06-13)
20
+
21
+ ### [0.1.92](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.91...v0.1.92) (2024-06-13)
22
+
23
+
24
+ ### Features
25
+
26
+ * 表格组件支持导出excel自动计算合并行定义 ([f9fe99e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/f9fe99e4e5f3c1e7d47483af7924830c0b12ea91))
27
+
5
28
  ### [0.1.91](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.90...v0.1.91) (2024-06-11)
6
29
 
7
30
  ### [0.1.90](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.89...v0.1.90) (2024-06-11)
@@ -2,7 +2,7 @@ import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Draw
2
2
  import { isNil, formatDate as formatDate$1, useConfig, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  const name$1 = "@indfnd/common";
5
- const version = "0.1.90";
5
+ const version = "0.1.94";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -52159,7 +52159,7 @@ var render$Y = function() {
52159
52159
  return _vm.$emit("revertColumnRow");
52160
52160
  } } }, [_vm._v(" \u8F6C\u7F6E ")]) : _vm._e(), _c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": function($event) {
52161
52161
  return _vm.tableSettingToggle("3");
52162
- } } }, [_vm._v(" \u5BFC\u51FA ")])], 1), _c("DropdownMenu", { style: { width: _vm.btnSel != "1" ? "400px" : "200px", padding: "5px 10px" }, attrs: { "slot": "list" }, slot: "list" }, [_c("ExportData", { directives: [{ name: "show", rawName: "v-show", value: _vm.btnSel == "3", expression: "btnSel == '3'" }], ref: "exportData", attrs: { "rowSpanDefs": _vm.rowSpanDefs, "exportFileName": _vm.exportFileName, "paramLeft": _vm.paramLeft, "paramRight": _vm.paramRight || _vm.paramRightUnit, "rowSpanColumns": _vm.rowSpanColumns, "rowSpanIndexCol": _vm.rowSpanIndexCol, "pinnedTopRowData": _vm.topRows, "tableColumns": _vm.tableColumns, "data": _vm.tableData, "dataApi": _vm.dataApi, "searchParams": _vm.searchParams, "sortParams": _vm.sortParams, "paginationParams": _vm.paginationParams, "show-summary": _vm.tableShowSummary, "summary-method": _vm.tableSummaryMethod, "parsedColumns": _vm.parsedColumns, "exportEnum": _vm.exportEnum, "data-children": _vm.dataChildren, "defaultUnitType": _vm.defaultUnitType, "unitType": _vm.unitType, "switchCols": _vm.switchCols }, on: { "doExport": function($event) {
52162
+ } } }, [_vm._v(" \u5BFC\u51FA ")])], 1), _c("DropdownMenu", { style: { width: _vm.btnSel != "1" ? "400px" : "200px", padding: "5px 10px" }, attrs: { "slot": "list" }, slot: "list" }, [_c("ExportData", { directives: [{ name: "show", rawName: "v-show", value: _vm.btnSel == "3", expression: "btnSel == '3'" }], ref: "exportData", attrs: { "rowSpanDefs": _vm.rowSpanDefs, "exportFileName": _vm.exportFileName, "paramLeft": _vm.paramLeft, "paramRight": _vm.paramRight || _vm.paramRightUnit, "rowSpanColumns": _vm.rowSpanColumns || _vm.mergeColumns, "rowSpanIndexCol": _vm.rowSpanIndexCol || _vm.mergeIndexCol, "pinnedTopRowData": _vm.topRows, "tableColumns": _vm.tableColumns, "data": _vm.tableData, "dataApi": _vm.dataApi, "searchParams": _vm.searchParams, "sortParams": _vm.sortParams, "paginationParams": _vm.paginationParams, "show-summary": _vm.tableShowSummary, "summary-method": _vm.tableSummaryMethod, "parsedColumns": _vm.parsedColumns, "exportEnum": _vm.exportEnum, "data-children": _vm.dataChildren, "defaultUnitType": _vm.defaultUnitType, "unitType": _vm.unitType, "switchCols": _vm.switchCols }, on: { "doExport": function($event) {
52163
52163
  _vm.optionDropdownVisible = false;
52164
52164
  } } }), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.btnSel == "2", expression: "btnSel == '2'" }], staticStyle: { "border-bottom": "1px solid #e9e9e9", "padding-bottom": "6px", "margin-bottom": "6px" } }, [_c("Checkbox", { attrs: { "value": _vm.checkAll }, on: { "on-change": _vm.handleCheckAll } }, [_vm._v("\u5168\u9009")])], 1), _c("CheckboxGroup", { directives: [{ name: "show", rawName: "v-show", value: _vm.btnSel == "2", expression: "btnSel == '2'" }], on: { "on-change": _vm.checkAllGroupChange }, model: { value: _vm.checkAllGroup, callback: function($$v) {
52165
52165
  _vm.checkAllGroup = $$v;
@@ -52497,6 +52497,17 @@ const __vue2_script$Z = {
52497
52497
  };
52498
52498
  },
52499
52499
  computed: {
52500
+ mergeIndexCol() {
52501
+ let mergeIndex = _.find(this.columns, (d) => {
52502
+ return d.autoMergeRow === true;
52503
+ });
52504
+ return mergeIndex.key || mergeIndex.field;
52505
+ },
52506
+ mergeColumns() {
52507
+ return _.filter(this.columns, (d) => {
52508
+ return !!d.autoMergeRow;
52509
+ }).map((d) => d.key || d.field);
52510
+ },
52500
52511
  paramRightUnit() {
52501
52512
  return _.some(this.flatColumns, (d) => {
52502
52513
  return d.isSwitchUnit;
@@ -64318,7 +64329,11 @@ function createMacroBasicRoutes({ homeComponent, rootChildren } = {}) {
64318
64329
  if (rootChildren && rootChildren.length) {
64319
64330
  rootRouteTemp.children.push(...rootChildren);
64320
64331
  }
64321
- return [rootRouteTemp, loginRoute, userRoute, notFoundRoute];
64332
+ let routesTmp = [rootRouteTemp, userRoute, notFoundRoute];
64333
+ if (location.host.includes("localhost")) {
64334
+ routesTmp.push(loginRoute);
64335
+ }
64336
+ return routesTmp;
64322
64337
  }
64323
64338
  function createMicroBasicRoutes({ rootChildren } = {}) {
64324
64339
  const rootRouteTemp = _.cloneDeep(rootRoute);