@cmstops/pro-compo 0.3.68 → 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 +125 -79
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +6 -1
- package/es/config.js +1 -1
- 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 +125 -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/hooks/useAttachement.js +16 -0
- package/lib/hooks/useLocalStorage.js +2 -1
- package/lib/index.css +125 -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 +1 -1
- 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
|
@@ -4350,43 +4350,6 @@
|
|
|
4350
4350
|
opacity: 1;
|
|
4351
4351
|
transition: all 0.3s ease-in-out;
|
|
4352
4352
|
}
|
|
4353
|
-
.card-list-wrapper {
|
|
4354
|
-
display: grid;
|
|
4355
|
-
grid-gap: 20px;
|
|
4356
|
-
grid-template-columns: repeat(5, 1fr);
|
|
4357
|
-
}
|
|
4358
|
-
.list-filter-wrapper .list-filter-tags {
|
|
4359
|
-
display: flex;
|
|
4360
|
-
justify-content: space-between;
|
|
4361
|
-
margin-top: 10px;
|
|
4362
|
-
}
|
|
4363
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag {
|
|
4364
|
-
padding: 5px 16px;
|
|
4365
|
-
border-radius: 15px;
|
|
4366
|
-
cursor: pointer;
|
|
4367
|
-
}
|
|
4368
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
|
|
4369
|
-
background-color: var(--color-fill-3);
|
|
4370
|
-
}
|
|
4371
|
-
.list-filter-wrapper .list-filter-tags .list-filter-tag.active {
|
|
4372
|
-
color: rgb(var(--primary-6));
|
|
4373
|
-
font-weight: bold;
|
|
4374
|
-
background: var(--color-fill-2);
|
|
4375
|
-
}
|
|
4376
|
-
.list-filter-wrapper .list-filter {
|
|
4377
|
-
display: flex;
|
|
4378
|
-
justify-content: space-between;
|
|
4379
|
-
}
|
|
4380
|
-
.list-filter-wrapper .list-filter .filter-list {
|
|
4381
|
-
display: flex;
|
|
4382
|
-
gap: 10px;
|
|
4383
|
-
}
|
|
4384
|
-
.list-filter-wrapper .list-filter .filter-list .filter-item {
|
|
4385
|
-
width: 100px;
|
|
4386
|
-
}
|
|
4387
|
-
.list-filter-wrapper .list-filter .arco-input-prepend {
|
|
4388
|
-
padding: 0;
|
|
4389
|
-
}
|
|
4390
4353
|
.list-panel-wrapper {
|
|
4391
4354
|
width: 420px;
|
|
4392
4355
|
padding: 0 !important;
|
|
@@ -4467,26 +4430,6 @@
|
|
|
4467
4430
|
white-space: nowrap;
|
|
4468
4431
|
text-overflow: ellipsis;
|
|
4469
4432
|
}
|
|
4470
|
-
.upload-list-wrapper .list-content {
|
|
4471
|
-
margin-top: 30px;
|
|
4472
|
-
}
|
|
4473
|
-
.upload-list-wrapper .list-content .list-tips {
|
|
4474
|
-
margin-bottom: 16px;
|
|
4475
|
-
color: #3d3d3d;
|
|
4476
|
-
}
|
|
4477
|
-
.upload-list-wrapper .upload-wrapper {
|
|
4478
|
-
display: flex;
|
|
4479
|
-
flex-direction: column;
|
|
4480
|
-
}
|
|
4481
|
-
.upload-list-wrapper .upload-wrapper .upload-buttons {
|
|
4482
|
-
display: flex;
|
|
4483
|
-
gap: 20px;
|
|
4484
|
-
justify-content: center;
|
|
4485
|
-
margin: 20px 0;
|
|
4486
|
-
}
|
|
4487
|
-
.upload-list-wrapper .upload-wrapper .upload-dragger {
|
|
4488
|
-
width: calc(100% - 2px);
|
|
4489
|
-
}
|
|
4490
4433
|
.card-wrapper-image {
|
|
4491
4434
|
position: relative;
|
|
4492
4435
|
overflow: hidden;
|
|
@@ -4568,8 +4511,132 @@
|
|
|
4568
4511
|
background-color: #165dff;
|
|
4569
4512
|
border-color: #165dff;
|
|
4570
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
|
+
}
|
|
4571
4638
|
.resource-select-modal-body {
|
|
4572
|
-
height:
|
|
4639
|
+
height: 80vh;
|
|
4573
4640
|
padding: 0;
|
|
4574
4641
|
}
|
|
4575
4642
|
.resource-select-main {
|
|
@@ -4587,13 +4654,6 @@
|
|
|
4587
4654
|
box-sizing: border-box;
|
|
4588
4655
|
height: 100%;
|
|
4589
4656
|
}
|
|
4590
|
-
.resource-select-container .resource-select-filter,
|
|
4591
|
-
.resource-select-container .resource-select-footer {
|
|
4592
|
-
padding: 0 40px;
|
|
4593
|
-
}
|
|
4594
|
-
.resource-select-container .resource-select-content .arco-scrollbar-container {
|
|
4595
|
-
padding: 0 40px;
|
|
4596
|
-
}
|
|
4597
4657
|
.resource-select-container .resource-select-header {
|
|
4598
4658
|
padding: 10px 24px 0 24px;
|
|
4599
4659
|
}
|
|
@@ -4603,20 +4663,6 @@
|
|
|
4603
4663
|
.resource-select-container .resource-select-header .arco-tabs-content {
|
|
4604
4664
|
display: none !important;
|
|
4605
4665
|
}
|
|
4606
|
-
.resource-select-container .resource-select-content {
|
|
4607
|
-
flex: 1;
|
|
4608
|
-
overflow: hidden;
|
|
4609
|
-
}
|
|
4610
|
-
.resource-select-container .resource-select-footer {
|
|
4611
|
-
display: flex;
|
|
4612
|
-
justify-content: space-between;
|
|
4613
|
-
padding-bottom: 10px;
|
|
4614
|
-
}
|
|
4615
|
-
.resource-select-container .resource-select-footer .footer-right {
|
|
4616
|
-
display: flex;
|
|
4617
|
-
gap: 10px;
|
|
4618
|
-
align-items: center;
|
|
4619
|
-
}
|
|
4620
4666
|
.iframe-container {
|
|
4621
4667
|
position: relative;
|
|
4622
4668
|
height: 95vh;
|