@cmstops/pro-compo 0.3.67 → 0.3.69
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/dist/index.css +139 -79
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +6 -1
- package/es/config.js +1 -1
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +15 -9
- package/es/contentDetailList/style/CustomItem.less +18 -0
- package/es/contentDetailList/style/index.css +14 -0
- package/es/contentDetailList/style/index.less +1 -0
- package/es/hooks/useAttachement.d.ts +14 -6
- package/es/hooks/useAttachement.js +15 -1
- package/es/hooks/useLocalStorage.d.ts +1 -0
- package/es/hooks/useLocalStorage.js +2 -1
- package/es/index.css +139 -79
- package/es/selectResourceModal/assets/images/sys_load_more.js +2 -0
- package/es/selectResourceModal/component.js +71 -170
- package/es/selectResourceModal/components/{ListCardWrapper/index.js → List/ListCardWrapper.js} +13 -11
- package/es/selectResourceModal/components/List/ListLocal/index.js +92 -0
- package/es/selectResourceModal/components/{ListFilter/index.js → List/ListNormal/Filter.js} +14 -14
- package/es/selectResourceModal/components/List/ListNormal/index.js +77 -0
- package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +141 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +67 -0
- package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListSystem/index.js +109 -0
- package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
- package/es/selectResourceModal/components/List/ListWraper.js +61 -0
- package/es/selectResourceModal/components/ListTabs/index.js +9 -18
- package/es/selectResourceModal/{components/ListFilter/scripts/api.d.ts → scripts/selectionApis.d.ts} +1 -0
- package/es/selectResourceModal/scripts/selectionApis.js +15 -0
- package/es/selectResourceModal/scripts/useCompoLf.d.ts +21 -0
- package/es/selectResourceModal/scripts/useCompoLf.js +32 -0
- package/es/selectResourceModal/scripts/useResourceSelect.js +7 -3
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +21 -0
- package/es/selectResourceModal/scripts/useTabFilter.js +37 -0
- package/es/selectResourceModal/style/index.css +125 -79
- package/es/selectResourceModal/style/index.less +3 -32
- package/es/selectResourceModal/style/list.less +163 -0
- package/es/selectThumb/component.js +25 -13
- package/es/utils/filter.js +0 -1
- package/lib/baseFilter/component.js +6 -1
- package/lib/config.js +1 -1
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +14 -8
- package/lib/contentDetailList/style/CustomItem.less +18 -0
- package/lib/contentDetailList/style/index.css +14 -0
- package/lib/contentDetailList/style/index.less +1 -0
- package/lib/hooks/useAttachement.js +16 -0
- package/lib/hooks/useLocalStorage.js +2 -1
- package/lib/index.css +139 -79
- package/lib/selectResourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/selectResourceModal/component.js +71 -170
- package/lib/selectResourceModal/components/{ListCardWrapper/index.js → List/ListCardWrapper.js} +12 -10
- package/lib/selectResourceModal/components/List/ListLocal/index.js +93 -0
- package/lib/selectResourceModal/components/{ListFilter/index.js → List/ListNormal/Filter.js} +15 -15
- package/lib/selectResourceModal/components/List/ListNormal/index.js +78 -0
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +142 -0
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +68 -0
- package/lib/selectResourceModal/components/List/ListSystem/index.js +110 -0
- package/lib/selectResourceModal/components/List/ListWraper.js +62 -0
- package/lib/selectResourceModal/components/ListTabs/index.js +8 -17
- package/lib/selectResourceModal/{components/ListFilter/scripts/api.js → scripts/selectionApis.js} +8 -1
- package/lib/selectResourceModal/scripts/useCompoLf.js +33 -0
- package/lib/selectResourceModal/scripts/useResourceSelect.js +7 -3
- package/lib/selectResourceModal/scripts/useTabFilter.js +38 -0
- package/lib/selectResourceModal/style/index.css +125 -79
- package/lib/selectResourceModal/style/index.less +3 -32
- package/lib/selectResourceModal/style/list.less +163 -0
- package/lib/selectThumb/component.js +25 -13
- package/lib/utils/filter.js +0 -1
- package/package.json +3 -3
- package/es/selectResourceModal/components/ListContent/index.js +0 -46
- package/es/selectResourceModal/components/ListContentLocal/index.js +0 -93
- package/es/selectResourceModal/components/ListFilter/scripts/api.js +0 -9
- package/es/selectResourceModal/style/listContent.less +0 -5
- package/es/selectResourceModal/style/listContentLocal.less +0 -26
- package/es/selectResourceModal/style/listFilter.less +0 -41
- package/lib/selectResourceModal/components/ListContent/index.js +0 -47
- package/lib/selectResourceModal/components/ListContentLocal/index.js +0 -94
- package/lib/selectResourceModal/style/listContent.less +0 -5
- package/lib/selectResourceModal/style/listContentLocal.less +0 -26
- package/lib/selectResourceModal/style/listFilter.less +0 -41
- /package/es/selectResourceModal/components/{ListCardWrapper/index.d.ts → List/ListCardWrapper.d.ts} +0 -0
- /package/es/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.d.ts +0 -0
- /package/es/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.js +0 -0
- /package/es/selectResourceModal/components/{ListContent → List/ListLocal}/index.d.ts +0 -0
- /package/es/selectResourceModal/components/{ListContentLocal/index.d.ts → List/ListNormal/Filter.d.ts} +0 -0
- /package/es/selectResourceModal/components/{ListFilter → List/ListNormal}/index.d.ts +0 -0
- /package/lib/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.js +0 -0
package/dist/index.css
CHANGED
|
@@ -3325,6 +3325,20 @@
|
|
|
3325
3325
|
.doc-qrcode-preview-container-v .time-go {
|
|
3326
3326
|
font-size: 12px;
|
|
3327
3327
|
}
|
|
3328
|
+
.title-desc:hover {
|
|
3329
|
+
color: #165dff;
|
|
3330
|
+
text-decoration: underline;
|
|
3331
|
+
cursor: pointer;
|
|
3332
|
+
}
|
|
3333
|
+
.abttr-content {
|
|
3334
|
+
display: flex;
|
|
3335
|
+
gap: 5px;
|
|
3336
|
+
align-items: center;
|
|
3337
|
+
}
|
|
3338
|
+
.abttr-content .cms-icon-topic {
|
|
3339
|
+
width: 18px;
|
|
3340
|
+
height: 18px;
|
|
3341
|
+
}
|
|
3328
3342
|
.gray-for-state-hide {
|
|
3329
3343
|
-webkit-filter: grayscale(100%);
|
|
3330
3344
|
-moz-filter: grayscale(100%);
|
|
@@ -4336,43 +4350,6 @@
|
|
|
4336
4350
|
opacity: 1;
|
|
4337
4351
|
transition: all 0.3s ease-in-out;
|
|
4338
4352
|
}
|
|
4339
|
-
.card-list-wrapper {
|
|
4340
|
-
display: grid;
|
|
4341
|
-
grid-gap: 20px;
|
|
4342
|
-
grid-template-columns: repeat(5, 1fr);
|
|
4343
|
-
}
|
|
4344
|
-
.list-filter-wrapper .list-filter-tags {
|
|
4345
|
-
display: flex;
|
|
4346
|
-
justify-content: space-between;
|
|
4347
|
-
margin-top: 10px;
|
|
4348
|
-
}
|
|
4349
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
4350
|
-
padding: 5px 16px;
|
|
4351
|
-
border-radius: 15px;
|
|
4352
|
-
cursor: pointer;
|
|
4353
|
-
}
|
|
4354
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
4355
|
-
background-color: var(--color-fill-3);
|
|
4356
|
-
}
|
|
4357
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
4358
|
-
color: rgb(var(--primary-6));
|
|
4359
|
-
font-weight: bold;
|
|
4360
|
-
background: var(--color-fill-2);
|
|
4361
|
-
}
|
|
4362
|
-
.list-filter-wrapper .list-filter {
|
|
4363
|
-
display: flex;
|
|
4364
|
-
justify-content: space-between;
|
|
4365
|
-
}
|
|
4366
|
-
.list-filter-wrapper .list-filter .filter-list {
|
|
4367
|
-
display: flex;
|
|
4368
|
-
gap: 10px;
|
|
4369
|
-
}
|
|
4370
|
-
.list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4371
|
-
width: 100px;
|
|
4372
|
-
}
|
|
4373
|
-
.list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4374
|
-
padding: 0;
|
|
4375
|
-
}
|
|
4376
4353
|
.list-panel-wrapper {
|
|
4377
4354
|
width: 420px;
|
|
4378
4355
|
padding: 0 !important;
|
|
@@ -4453,26 +4430,6 @@
|
|
|
4453
4430
|
white-space: nowrap;
|
|
4454
4431
|
text-overflow: ellipsis;
|
|
4455
4432
|
}
|
|
4456
|
-
.upload-list-wrapper .list-content {
|
|
4457
|
-
margin-top: 30px;
|
|
4458
|
-
}
|
|
4459
|
-
.upload-list-wrapper .list-content .list-tips {
|
|
4460
|
-
margin-bottom: 16px;
|
|
4461
|
-
color: #3d3d3d;
|
|
4462
|
-
}
|
|
4463
|
-
.upload-list-wrapper .upload-wrapper {
|
|
4464
|
-
display: flex;
|
|
4465
|
-
flex-direction: column;
|
|
4466
|
-
}
|
|
4467
|
-
.upload-list-wrapper .upload-wrapper .upload-buttons {
|
|
4468
|
-
display: flex;
|
|
4469
|
-
gap: 20px;
|
|
4470
|
-
justify-content: center;
|
|
4471
|
-
margin: 20px 0;
|
|
4472
|
-
}
|
|
4473
|
-
.upload-list-wrapper .upload-wrapper .upload-dragger {
|
|
4474
|
-
width: calc(100% - 2px);
|
|
4475
|
-
}
|
|
4476
4433
|
.card-wrapper-image {
|
|
4477
4434
|
position: relative;
|
|
4478
4435
|
overflow: hidden;
|
|
@@ -4554,8 +4511,132 @@
|
|
|
4554
4511
|
background-color: #165dff;
|
|
4555
4512
|
border-color: #165dff;
|
|
4556
4513
|
}
|
|
4514
|
+
.resource-list {
|
|
4515
|
+
display: flex;
|
|
4516
|
+
flex: 1;
|
|
4517
|
+
flex-direction: column;
|
|
4518
|
+
gap: 10px;
|
|
4519
|
+
overflow: hidden;
|
|
4520
|
+
}
|
|
4521
|
+
.resource-list-content {
|
|
4522
|
+
flex: 1;
|
|
4523
|
+
overflow: hidden;
|
|
4524
|
+
}
|
|
4525
|
+
.resource-list-footer,
|
|
4526
|
+
.resource-list-header,
|
|
4527
|
+
.resource-list-content .arco-scrollbar-container {
|
|
4528
|
+
padding: 0 40px;
|
|
4529
|
+
}
|
|
4530
|
+
.resource-list-footer {
|
|
4531
|
+
display: flex;
|
|
4532
|
+
justify-content: space-between;
|
|
4533
|
+
padding-bottom: 10px;
|
|
4534
|
+
}
|
|
4535
|
+
.resource-list-footer .footer-right {
|
|
4536
|
+
display: flex;
|
|
4537
|
+
flex: 1;
|
|
4538
|
+
gap: 10px;
|
|
4539
|
+
align-items: center;
|
|
4540
|
+
justify-content: flex-end;
|
|
4541
|
+
}
|
|
4542
|
+
.resource-list-content-loading {
|
|
4543
|
+
display: flex;
|
|
4544
|
+
align-items: center;
|
|
4545
|
+
justify-content: center;
|
|
4546
|
+
width: 100%;
|
|
4547
|
+
height: 100%;
|
|
4548
|
+
}
|
|
4549
|
+
.resource-list .list-item-grid {
|
|
4550
|
+
display: grid;
|
|
4551
|
+
grid-gap: 20px;
|
|
4552
|
+
grid-template-columns: repeat(5, 1fr);
|
|
4553
|
+
}
|
|
4554
|
+
.resource-list .list-content {
|
|
4555
|
+
margin-top: 30px;
|
|
4556
|
+
}
|
|
4557
|
+
.resource-list .list-content .list-tips {
|
|
4558
|
+
margin-bottom: 16px;
|
|
4559
|
+
color: #3d3d3d;
|
|
4560
|
+
}
|
|
4561
|
+
.resource-list .upload-wrapper {
|
|
4562
|
+
display: flex;
|
|
4563
|
+
flex-direction: column;
|
|
4564
|
+
}
|
|
4565
|
+
.resource-list .upload-wrapper .upload-buttons {
|
|
4566
|
+
display: flex;
|
|
4567
|
+
gap: 20px;
|
|
4568
|
+
justify-content: center;
|
|
4569
|
+
margin: 20px 0;
|
|
4570
|
+
}
|
|
4571
|
+
.resource-list .upload-wrapper .upload-dragger {
|
|
4572
|
+
width: calc(100% - 2px);
|
|
4573
|
+
}
|
|
4574
|
+
.resource-list .scen-module {
|
|
4575
|
+
margin-bottom: 20px;
|
|
4576
|
+
}
|
|
4577
|
+
.resource-list .scen-module .title {
|
|
4578
|
+
display: flex;
|
|
4579
|
+
gap: 8px;
|
|
4580
|
+
align-items: center;
|
|
4581
|
+
margin-bottom: 20px;
|
|
4582
|
+
font-weight: bold;
|
|
4583
|
+
font-size: 16px;
|
|
4584
|
+
}
|
|
4585
|
+
.resource-list .scen-module .title .line {
|
|
4586
|
+
width: 3px;
|
|
4587
|
+
height: 16px;
|
|
4588
|
+
background-color: #4886ff;
|
|
4589
|
+
}
|
|
4590
|
+
.resource-list .item-load-more {
|
|
4591
|
+
display: flex;
|
|
4592
|
+
flex-direction: column;
|
|
4593
|
+
gap: 10px;
|
|
4594
|
+
align-items: center;
|
|
4595
|
+
justify-content: center;
|
|
4596
|
+
width: 100%;
|
|
4597
|
+
overflow: hidden;
|
|
4598
|
+
color: #9a9a9a;
|
|
4599
|
+
font-size: 12px;
|
|
4600
|
+
cursor: pointer;
|
|
4601
|
+
aspect-ratio: 4 / 3;
|
|
4602
|
+
}
|
|
4603
|
+
.resource-list .item-load-more img {
|
|
4604
|
+
height: calc(100% - 40px);
|
|
4605
|
+
}
|
|
4606
|
+
.resource-list .list-filter-wrapper .list-filter-tags {
|
|
4607
|
+
display: flex;
|
|
4608
|
+
justify-content: space-between;
|
|
4609
|
+
margin-top: 10px;
|
|
4610
|
+
}
|
|
4611
|
+
.resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
4612
|
+
padding: 5px 16px;
|
|
4613
|
+
border-radius: 15px;
|
|
4614
|
+
cursor: pointer;
|
|
4615
|
+
}
|
|
4616
|
+
.resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
4617
|
+
background-color: var(--color-fill-3);
|
|
4618
|
+
}
|
|
4619
|
+
.resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
4620
|
+
color: rgb(var(--primary-6));
|
|
4621
|
+
font-weight: bold;
|
|
4622
|
+
background: var(--color-fill-2);
|
|
4623
|
+
}
|
|
4624
|
+
.resource-list .list-filter-wrapper .list-filter {
|
|
4625
|
+
display: flex;
|
|
4626
|
+
justify-content: space-between;
|
|
4627
|
+
}
|
|
4628
|
+
.resource-list .list-filter-wrapper .list-filter .filter-list {
|
|
4629
|
+
display: flex;
|
|
4630
|
+
gap: 10px;
|
|
4631
|
+
}
|
|
4632
|
+
.resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4633
|
+
width: 100px;
|
|
4634
|
+
}
|
|
4635
|
+
.resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4636
|
+
padding: 0;
|
|
4637
|
+
}
|
|
4557
4638
|
.resource-select-modal-body {
|
|
4558
|
-
height:
|
|
4639
|
+
height: 80vh;
|
|
4559
4640
|
padding: 0;
|
|
4560
4641
|
}
|
|
4561
4642
|
.resource-select-main {
|
|
@@ -4573,13 +4654,6 @@
|
|
|
4573
4654
|
box-sizing: border-box;
|
|
4574
4655
|
height: 100%;
|
|
4575
4656
|
}
|
|
4576
|
-
.resource-select-container .resource-select-filter,
|
|
4577
|
-
.resource-select-container .resource-select-footer {
|
|
4578
|
-
padding: 0 40px;
|
|
4579
|
-
}
|
|
4580
|
-
.resource-select-container .resource-select-content .arco-scrollbar-container {
|
|
4581
|
-
padding: 0 40px;
|
|
4582
|
-
}
|
|
4583
4657
|
.resource-select-container .resource-select-header {
|
|
4584
4658
|
padding: 10px 24px 0 24px;
|
|
4585
4659
|
}
|
|
@@ -4589,20 +4663,6 @@
|
|
|
4589
4663
|
.resource-select-container .resource-select-header .arco-tabs-content {
|
|
4590
4664
|
display: none !important;
|
|
4591
4665
|
}
|
|
4592
|
-
.resource-select-container .resource-select-content {
|
|
4593
|
-
flex: 1;
|
|
4594
|
-
overflow: hidden;
|
|
4595
|
-
}
|
|
4596
|
-
.resource-select-container .resource-select-footer {
|
|
4597
|
-
display: flex;
|
|
4598
|
-
justify-content: space-between;
|
|
4599
|
-
padding-bottom: 10px;
|
|
4600
|
-
}
|
|
4601
|
-
.resource-select-container .resource-select-footer .footer-right {
|
|
4602
|
-
display: flex;
|
|
4603
|
-
gap: 10px;
|
|
4604
|
-
align-items: center;
|
|
4605
|
-
}
|
|
4606
4666
|
.iframe-container {
|
|
4607
4667
|
position: relative;
|
|
4608
4668
|
height: 95vh;
|