@indfnd/common 1.0.36 → 1.0.37

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,19 @@
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.37](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.36...v1.0.37) (2024-07-31)
6
+
7
+
8
+ ### Features
9
+
10
+ * 表格支持条件过滤 ([9919fd0](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/9919fd0b7e3faf73c200987b702c21e2853b6d10))
11
+ * 树三角箭头放大 ([1886a0e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/1886a0e0bb486252c6ca51e1797b3a0e8be7399f))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * 禁止权限选择树选择父节点 ([8cc1883](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/8cc1883fcd30b6ff3fd1efae76be4122dc1c69ac))
17
+
5
18
  ### [1.0.36](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.35...v1.0.36) (2024-07-29)
6
19
 
7
20
 
@@ -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, listComTreeApi, listUserTreeApi, UC_ENUM, 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 = "1.0.35";
5
+ const version = "1.0.36";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -52343,6 +52343,7 @@ const __vue2_script$10 = {
52343
52343
  AgImage
52344
52344
  },
52345
52345
  props: {
52346
+ showMenu: Boolean,
52346
52347
  rowHeight: Number,
52347
52348
  headerHeight: Number,
52348
52349
  getRowHeightProp: Function,
@@ -52557,14 +52558,31 @@ const __vue2_script$10 = {
52557
52558
  tableColumns: [],
52558
52559
  defaultColDef: {
52559
52560
  unSortIcon: true,
52560
- suppressMenu: true,
52561
+ suppressMenu: !this.showMenu,
52562
+ floatingFilter: this.showMenu,
52563
+ filter: this.showMenu,
52564
+ suppressHeaderFilterButton: true,
52561
52565
  wrapHeaderText: this.headerAutoHeight,
52562
52566
  autoHeaderHeight: this.headerAutoHeight,
52563
52567
  wrapText: this.cellAutoHeight,
52564
52568
  autoHeight: this.cellAutoHeight,
52569
+ filter: "agSetColumnFilter",
52565
52570
  suppressKeyboardEvent: (params) => {
52566
52571
  return suppressNavigation$1(params);
52567
- }
52572
+ },
52573
+ headerComponentParams: this.showMenu ? {
52574
+ template: `<div class="ag-cell-label-container" role="presentation">
52575
+ <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button ag-header-menu-always-show" aria-hidden="true"></span>
52576
+ <span ref="eSortAsc" class="ag-header-icon ag-header-label-icon ag-sort-ascending-icon ag-hidden" aria-hidden="true"></span>
52577
+ <span ref="eSortDesc" class="ag-header-icon ag-header-label-icon ag-sort-descending-icon ag-hidden" aria-hidden="true"></span>
52578
+ <span ref="eSortNone" class="ag-header-icon ag-header-label-icon ag-sort-none-icon ag-hidden" aria-hidden="true"></span>
52579
+ <div ref="eLabel" class="ag-header-cell-label" role="presentation">
52580
+ <span ref="eText" class="ag-header-cell-text"></span>
52581
+ <span ref="eFilter" class="ag-header-icon ag-header-label-icon ag-filter-icon" aria-hidden="true"></span>
52582
+ <span ref="eSortOrder" class="ag-header-icon ag-header-label-icon ag-sort-order" aria-hidden="true"></span>
52583
+ </div>
52584
+ </div>`
52585
+ } : null
52568
52586
  },
52569
52587
  gridApi: null,
52570
52588
  gridColumnApi: null,
@@ -66160,6 +66178,7 @@ const __vue2_script$1 = {
66160
66178
  title: "\u6743\u9650\u7C7B\u578B\uFF1A",
66161
66179
  type: "treeselect",
66162
66180
  props: {
66181
+ selectLeafOnly: true,
66163
66182
  dataApi: listComTreeApi,
66164
66183
  urlParams: {
66165
66184
  bizType: "40",
@@ -66513,6 +66532,7 @@ const __vue2_script = {
66513
66532
  title: "\u6743\u9650\u7C7B\u578B\uFF1A",
66514
66533
  type: "treeselect",
66515
66534
  props: {
66535
+ selectLeafOnly: true,
66516
66536
  dataApi: listComTreeApi,
66517
66537
  urlParams: {
66518
66538
  bizType: "40",