bi-element-ui 1.0.0 → 1.0.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bi-element-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "基于element-ui编写的ui组件库",
6
6
  "main": "lib/bi-element-ui.common.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@cell-x/el-table-sticky": "^1.0.2",
19
19
  "axios": "^0.19.2",
20
- "bi-eleme": "^2.0.2",
20
+ "bi-eleme": "^2.0.8",
21
21
  "caniuse-lite": "^1.0.30001478",
22
22
  "crypto-js": "^4.2.0",
23
23
  "gemini-scrollbar": "^1.5.3",
package/pnpm-lock.yaml CHANGED
@@ -12,8 +12,8 @@ dependencies:
12
12
  specifier: ^0.19.2
13
13
  version: 0.19.2
14
14
  bi-eleme:
15
- specifier: ^2.0.2
16
- version: 2.0.2(vue@2.7.14)
15
+ specifier: ^2.0.8
16
+ version: 2.0.8(vue@2.7.14)
17
17
  caniuse-lite:
18
18
  specifier: ^1.0.30001478
19
19
  version: 1.0.30001478
@@ -108,13 +108,13 @@ devDependencies:
108
108
  version: 4.3.7
109
109
  commitizen:
110
110
  specifier: ^4.3.0
111
- version: 4.3.0(@types/node@20.12.7)(typescript@5.4.5)
111
+ version: 4.3.0(@types/node@20.12.11)(typescript@5.4.5)
112
112
  core-js:
113
113
  specifier: ^3.30.1
114
114
  version: 3.30.1
115
115
  cz-conventional-changelog:
116
116
  specifier: ^3.3.0
117
- version: 3.3.0(@types/node@20.12.7)(typescript@5.4.5)
117
+ version: 3.3.0(@types/node@20.12.11)(typescript@5.4.5)
118
118
  eslint:
119
119
  specifier: ^6.8.0
120
120
  version: 6.8.0
@@ -181,7 +181,7 @@ packages:
181
181
  resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==}
182
182
  engines: {node: '>=6.9.0'}
183
183
  dependencies:
184
- '@babel/highlight': 7.24.2
184
+ '@babel/highlight': 7.24.5
185
185
  picocolors: 1.0.0
186
186
  dev: true
187
187
 
@@ -479,6 +479,11 @@ packages:
479
479
  requiresBuild: true
480
480
  dev: true
481
481
 
482
+ /@babel/helper-validator-identifier@7.24.5:
483
+ resolution: {integrity: sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==}
484
+ engines: {node: '>=6.9.0'}
485
+ dev: true
486
+
482
487
  /@babel/helper-validator-option@7.21.0:
483
488
  resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==}
484
489
  engines: {node: '>=6.9.0'}
@@ -526,12 +531,12 @@ packages:
526
531
  js-tokens: 4.0.0
527
532
  dev: true
528
533
 
529
- /@babel/highlight@7.24.2:
530
- resolution: {integrity: sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==}
534
+ /@babel/highlight@7.24.5:
535
+ resolution: {integrity: sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==}
531
536
  engines: {node: '>=6.9.0'}
532
537
  requiresBuild: true
533
538
  dependencies:
534
- '@babel/helper-validator-identifier': 7.22.20
539
+ '@babel/helper-validator-identifier': 7.24.5
535
540
  chalk: 2.4.2
536
541
  js-tokens: 4.0.0
537
542
  picocolors: 1.0.0
@@ -1119,7 +1124,7 @@ packages:
1119
1124
  '@babel/helper-hoist-variables': 7.18.6
1120
1125
  '@babel/helper-module-transforms': 7.21.2
1121
1126
  '@babel/helper-plugin-utils': 7.22.5
1122
- '@babel/helper-validator-identifier': 7.22.20
1127
+ '@babel/helper-validator-identifier': 7.24.5
1123
1128
  transitivePeerDependencies:
1124
1129
  - supports-color
1125
1130
  dev: true
@@ -1477,7 +1482,7 @@ packages:
1477
1482
  engines: {node: '>=6.9.0'}
1478
1483
  dependencies:
1479
1484
  '@babel/helper-string-parser': 7.23.4
1480
- '@babel/helper-validator-identifier': 7.22.20
1485
+ '@babel/helper-validator-identifier': 7.24.5
1481
1486
  to-fast-properties: 2.0.0
1482
1487
  dev: true
1483
1488
 
@@ -1495,7 +1500,7 @@ packages:
1495
1500
  requiresBuild: true
1496
1501
  dependencies:
1497
1502
  '@commitlint/types': 19.0.3
1498
- ajv: 8.12.0
1503
+ ajv: 8.13.0
1499
1504
  dev: true
1500
1505
  optional: true
1501
1506
 
@@ -1506,7 +1511,7 @@ packages:
1506
1511
  dev: true
1507
1512
  optional: true
1508
1513
 
1509
- /@commitlint/load@19.2.0(@types/node@20.12.7)(typescript@5.4.5):
1514
+ /@commitlint/load@19.2.0(@types/node@20.12.11)(typescript@5.4.5):
1510
1515
  resolution: {integrity: sha512-XvxxLJTKqZojCxaBQ7u92qQLFMMZc4+p9qrIq/9kJDy8DOrEa7P1yx7Tjdc2u2JxIalqT4KOGraVgCE7eCYJyQ==}
1511
1516
  engines: {node: '>=v18'}
1512
1517
  requiresBuild: true
@@ -1517,7 +1522,7 @@ packages:
1517
1522
  '@commitlint/types': 19.0.3
1518
1523
  chalk: 5.3.0
1519
1524
  cosmiconfig: 9.0.0(typescript@5.4.5)
1520
- cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.7)(cosmiconfig@9.0.0)(typescript@5.4.5)
1525
+ cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.11)(cosmiconfig@9.0.0)(typescript@5.4.5)
1521
1526
  lodash.isplainobject: 4.0.6
1522
1527
  lodash.merge: 4.6.2
1523
1528
  lodash.uniq: 4.5.0
@@ -1535,7 +1540,7 @@ packages:
1535
1540
  '@commitlint/config-validator': 19.0.3
1536
1541
  '@commitlint/types': 19.0.3
1537
1542
  global-directory: 4.0.1
1538
- import-meta-resolve: 4.0.0
1543
+ import-meta-resolve: 4.1.0
1539
1544
  lodash.mergewith: 4.6.2
1540
1545
  resolve-from: 5.0.0
1541
1546
  dev: true
@@ -1719,7 +1724,7 @@ packages:
1719
1724
  resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==}
1720
1725
  requiresBuild: true
1721
1726
  dependencies:
1722
- '@types/node': 20.12.7
1727
+ '@types/node': 20.12.11
1723
1728
  dev: true
1724
1729
  optional: true
1725
1730
 
@@ -1737,7 +1742,7 @@ packages:
1737
1742
  resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
1738
1743
  requiresBuild: true
1739
1744
  dependencies:
1740
- '@types/node': 20.12.7
1745
+ '@types/node': 20.12.11
1741
1746
  dev: false
1742
1747
  optional: true
1743
1748
 
@@ -1749,8 +1754,8 @@ packages:
1749
1754
  dependencies:
1750
1755
  undici-types: 5.26.5
1751
1756
 
1752
- /@types/node@20.12.7:
1753
- resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==}
1757
+ /@types/node@20.12.11:
1758
+ resolution: {integrity: sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==}
1754
1759
  dependencies:
1755
1760
  undici-types: 5.26.5
1756
1761
  optional: true
@@ -1767,7 +1772,7 @@ packages:
1767
1772
  resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==}
1768
1773
  requiresBuild: true
1769
1774
  dependencies:
1770
- '@types/node': 20.12.7
1775
+ '@types/node': 20.12.11
1771
1776
  dev: false
1772
1777
  optional: true
1773
1778
 
@@ -2532,8 +2537,8 @@ packages:
2532
2537
  uri-js: 4.4.1
2533
2538
  dev: true
2534
2539
 
2535
- /ajv@8.12.0:
2536
- resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
2540
+ /ajv@8.13.0:
2541
+ resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==}
2537
2542
  requiresBuild: true
2538
2543
  dependencies:
2539
2544
  fast-deep-equal: 3.1.3
@@ -2982,8 +2987,8 @@ packages:
2982
2987
  tryer: 1.0.1
2983
2988
  dev: true
2984
2989
 
2985
- /bi-eleme@2.0.2(vue@2.7.14):
2986
- resolution: {integrity: sha512-SaCcBpEKkhEAQKFCtkhQcHTPKalNqsj14bOW9WlCeF44+/l0makT3kg12dOyp8oGYNGHr9YVoUr368Rj+SNmlQ==}
2990
+ /bi-eleme@2.0.8(vue@2.7.14):
2991
+ resolution: {integrity: sha512-dg7x9pPM1Z0KZb10z2No3k0cswPLVahB/+82yQTrsmSPd+1YYHqvM1SRSkFcQZM1VuMKVl4FHx3hAe9fdMBwug==}
2987
2992
  peerDependencies:
2988
2993
  vue: ^2.5.17
2989
2994
  dependencies:
@@ -3885,13 +3890,13 @@ packages:
3885
3890
  /commander@2.20.3:
3886
3891
  resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
3887
3892
 
3888
- /commitizen@4.3.0(@types/node@20.12.7)(typescript@5.4.5):
3893
+ /commitizen@4.3.0(@types/node@20.12.11)(typescript@5.4.5):
3889
3894
  resolution: {integrity: sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==}
3890
3895
  engines: {node: '>= 12'}
3891
3896
  hasBin: true
3892
3897
  dependencies:
3893
3898
  cachedir: 2.3.0
3894
- cz-conventional-changelog: 3.3.0(@types/node@20.12.7)(typescript@5.4.5)
3899
+ cz-conventional-changelog: 3.3.0(@types/node@20.12.11)(typescript@5.4.5)
3895
3900
  dedent: 0.7.0
3896
3901
  detect-indent: 6.1.0
3897
3902
  find-node-modules: 2.1.3
@@ -4251,7 +4256,7 @@ packages:
4251
4256
  /core-util-is@1.0.3:
4252
4257
  resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
4253
4258
 
4254
- /cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.7)(cosmiconfig@9.0.0)(typescript@5.4.5):
4259
+ /cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.11)(cosmiconfig@9.0.0)(typescript@5.4.5):
4255
4260
  resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==}
4256
4261
  engines: {node: '>=v16'}
4257
4262
  requiresBuild: true
@@ -4260,7 +4265,7 @@ packages:
4260
4265
  cosmiconfig: '>=8.2'
4261
4266
  typescript: '>=4'
4262
4267
  dependencies:
4263
- '@types/node': 20.12.7
4268
+ '@types/node': 20.12.11
4264
4269
  cosmiconfig: 9.0.0(typescript@5.4.5)
4265
4270
  jiti: 1.21.0
4266
4271
  typescript: 5.4.5
@@ -4617,18 +4622,18 @@ packages:
4617
4622
  yauzl: 2.10.0
4618
4623
  dev: true
4619
4624
 
4620
- /cz-conventional-changelog@3.3.0(@types/node@20.12.7)(typescript@5.4.5):
4625
+ /cz-conventional-changelog@3.3.0(@types/node@20.12.11)(typescript@5.4.5):
4621
4626
  resolution: {integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==}
4622
4627
  engines: {node: '>= 10'}
4623
4628
  dependencies:
4624
4629
  chalk: 2.4.2
4625
- commitizen: 4.3.0(@types/node@20.12.7)(typescript@5.4.5)
4630
+ commitizen: 4.3.0(@types/node@20.12.11)(typescript@5.4.5)
4626
4631
  conventional-commit-types: 3.0.0
4627
4632
  lodash.map: 4.6.0
4628
4633
  longest: 2.0.1
4629
4634
  word-wrap: 1.2.3
4630
4635
  optionalDependencies:
4631
- '@commitlint/load': 19.2.0(@types/node@20.12.7)(typescript@5.4.5)
4636
+ '@commitlint/load': 19.2.0(@types/node@20.12.11)(typescript@5.4.5)
4632
4637
  transitivePeerDependencies:
4633
4638
  - '@types/node'
4634
4639
  - typescript
@@ -7172,8 +7177,8 @@ packages:
7172
7177
  resolve-cwd: 2.0.0
7173
7178
  dev: true
7174
7179
 
7175
- /import-meta-resolve@4.0.0:
7176
- resolution: {integrity: sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==}
7180
+ /import-meta-resolve@4.1.0:
7181
+ resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==}
7177
7182
  requiresBuild: true
7178
7183
  dev: true
7179
7184
  optional: true
@@ -10228,6 +10233,11 @@ packages:
10228
10233
  engines: {node: '>=6'}
10229
10234
  dev: true
10230
10235
 
10236
+ /punycode@2.3.1:
10237
+ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
10238
+ engines: {node: '>=6'}
10239
+ dev: true
10240
+
10231
10241
  /q@1.5.1:
10232
10242
  resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==}
10233
10243
  engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
@@ -11883,7 +11893,7 @@ packages:
11883
11893
  engines: {node: '>=0.8'}
11884
11894
  dependencies:
11885
11895
  psl: 1.9.0
11886
- punycode: 2.3.0
11896
+ punycode: 2.3.1
11887
11897
  dev: true
11888
11898
 
11889
11899
  /tough-cookie@3.0.1:
@@ -11898,7 +11908,7 @@ packages:
11898
11908
  /tr46@1.0.1:
11899
11909
  resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==}
11900
11910
  dependencies:
11901
- punycode: 2.3.0
11911
+ punycode: 2.3.1
11902
11912
  dev: true
11903
11913
 
11904
11914
  /trim-newlines@1.0.0:
@@ -12150,7 +12160,7 @@ packages:
12150
12160
  /uri-js@4.4.1:
12151
12161
  resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
12152
12162
  dependencies:
12153
- punycode: 2.3.0
12163
+ punycode: 2.3.1
12154
12164
  dev: true
12155
12165
 
12156
12166
  /urix@0.1.0:
@@ -20,6 +20,7 @@
20
20
  }"
21
21
  @handleTableColumn="setTableColumn"
22
22
  />
23
+
23
24
  <bi-table
24
25
  :loading="tableLoading"
25
26
  border
@@ -35,7 +36,7 @@
35
36
  ></bi-table>
36
37
  </div>
37
38
 
38
- <div v-if="false">
39
+ <div>
39
40
  <div class="example-table-box">
40
41
  <p>支持render渲染</p>
41
42
  <bi-table
@@ -209,6 +210,7 @@
209
210
  </div>
210
211
  <div class="example-table-box">
211
212
  <p>tooltipIcon在表格内的组件使用</p>
213
+
212
214
  <bi-table
213
215
  border
214
216
  stripe
@@ -239,6 +241,21 @@
239
241
  </template>
240
242
  </bi-table>
241
243
  </div>
244
+ <div class="example-table-box">
245
+ <p>loading表格</p>
246
+ <div>
247
+ <el-button @click="tableLoading=!tableLoading">tableLoading</el-button>
248
+ </div>
249
+ <bi-table
250
+ :loading="tableLoading"
251
+ border
252
+ stripe
253
+ fixed="sticky"
254
+ :data="loadingData"
255
+ :column="fullscreenColumn"
256
+ >
257
+ </bi-table>
258
+ </div>
242
259
  </div>
243
260
  </div>
244
261
  </template>
@@ -257,6 +274,7 @@ export default {
257
274
  mixins: [TableData],
258
275
  data() {
259
276
  return {
277
+ loadingData: [],
260
278
  basicColumn: [
261
279
  { label: '日期', prop: 'date', sortable: true, fixed: true },
262
280
  { label: '姓名', prop: 'name' },
@@ -72,6 +72,7 @@
72
72
  border
73
73
  stripe
74
74
  fixed="sticky"
75
+ :sticky-top="0"
75
76
  :data="data"
76
77
  :column="basicColumn"
77
78
  show-summary