@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.
Files changed (88) hide show
  1. package/dist/index.css +139 -79
  2. package/dist/index.min.css +1 -1
  3. package/es/baseFilter/component.js +6 -1
  4. package/es/config.js +1 -1
  5. package/es/contentDetailList/components/CustomWrp/CustomItem.js +15 -9
  6. package/es/contentDetailList/style/CustomItem.less +18 -0
  7. package/es/contentDetailList/style/index.css +14 -0
  8. package/es/contentDetailList/style/index.less +1 -0
  9. package/es/hooks/useAttachement.d.ts +14 -6
  10. package/es/hooks/useAttachement.js +15 -1
  11. package/es/hooks/useLocalStorage.d.ts +1 -0
  12. package/es/hooks/useLocalStorage.js +2 -1
  13. package/es/index.css +139 -79
  14. package/es/selectResourceModal/assets/images/sys_load_more.js +2 -0
  15. package/es/selectResourceModal/component.js +71 -170
  16. package/es/selectResourceModal/components/{ListCardWrapper/index.js → List/ListCardWrapper.js} +13 -11
  17. package/es/selectResourceModal/components/List/ListLocal/index.js +92 -0
  18. package/es/selectResourceModal/components/{ListFilter/index.js → List/ListNormal/Filter.js} +14 -14
  19. package/es/selectResourceModal/components/List/ListNormal/index.js +77 -0
  20. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  21. package/es/selectResourceModal/components/List/ListSystem/Filter.js +141 -0
  22. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  23. package/es/selectResourceModal/components/List/ListSystem/SubList.js +67 -0
  24. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  25. package/es/selectResourceModal/components/List/ListSystem/index.js +109 -0
  26. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  27. package/es/selectResourceModal/components/List/ListWraper.js +61 -0
  28. package/es/selectResourceModal/components/ListTabs/index.js +9 -18
  29. package/es/selectResourceModal/{components/ListFilter/scripts/api.d.ts → scripts/selectionApis.d.ts} +1 -0
  30. package/es/selectResourceModal/scripts/selectionApis.js +15 -0
  31. package/es/selectResourceModal/scripts/useCompoLf.d.ts +21 -0
  32. package/es/selectResourceModal/scripts/useCompoLf.js +32 -0
  33. package/es/selectResourceModal/scripts/useResourceSelect.js +7 -3
  34. package/es/selectResourceModal/scripts/useTabFilter.d.ts +21 -0
  35. package/es/selectResourceModal/scripts/useTabFilter.js +37 -0
  36. package/es/selectResourceModal/style/index.css +125 -79
  37. package/es/selectResourceModal/style/index.less +3 -32
  38. package/es/selectResourceModal/style/list.less +163 -0
  39. package/es/selectThumb/component.js +25 -13
  40. package/es/utils/filter.js +0 -1
  41. package/lib/baseFilter/component.js +6 -1
  42. package/lib/config.js +1 -1
  43. package/lib/contentDetailList/components/CustomWrp/CustomItem.js +14 -8
  44. package/lib/contentDetailList/style/CustomItem.less +18 -0
  45. package/lib/contentDetailList/style/index.css +14 -0
  46. package/lib/contentDetailList/style/index.less +1 -0
  47. package/lib/hooks/useAttachement.js +16 -0
  48. package/lib/hooks/useLocalStorage.js +2 -1
  49. package/lib/index.css +139 -79
  50. package/lib/selectResourceModal/assets/images/sys_load_more.js +3 -0
  51. package/lib/selectResourceModal/component.js +71 -170
  52. package/lib/selectResourceModal/components/{ListCardWrapper/index.js → List/ListCardWrapper.js} +12 -10
  53. package/lib/selectResourceModal/components/List/ListLocal/index.js +93 -0
  54. package/lib/selectResourceModal/components/{ListFilter/index.js → List/ListNormal/Filter.js} +15 -15
  55. package/lib/selectResourceModal/components/List/ListNormal/index.js +78 -0
  56. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +142 -0
  57. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +68 -0
  58. package/lib/selectResourceModal/components/List/ListSystem/index.js +110 -0
  59. package/lib/selectResourceModal/components/List/ListWraper.js +62 -0
  60. package/lib/selectResourceModal/components/ListTabs/index.js +8 -17
  61. package/lib/selectResourceModal/{components/ListFilter/scripts/api.js → scripts/selectionApis.js} +8 -1
  62. package/lib/selectResourceModal/scripts/useCompoLf.js +33 -0
  63. package/lib/selectResourceModal/scripts/useResourceSelect.js +7 -3
  64. package/lib/selectResourceModal/scripts/useTabFilter.js +38 -0
  65. package/lib/selectResourceModal/style/index.css +125 -79
  66. package/lib/selectResourceModal/style/index.less +3 -32
  67. package/lib/selectResourceModal/style/list.less +163 -0
  68. package/lib/selectThumb/component.js +25 -13
  69. package/lib/utils/filter.js +0 -1
  70. package/package.json +3 -3
  71. package/es/selectResourceModal/components/ListContent/index.js +0 -46
  72. package/es/selectResourceModal/components/ListContentLocal/index.js +0 -93
  73. package/es/selectResourceModal/components/ListFilter/scripts/api.js +0 -9
  74. package/es/selectResourceModal/style/listContent.less +0 -5
  75. package/es/selectResourceModal/style/listContentLocal.less +0 -26
  76. package/es/selectResourceModal/style/listFilter.less +0 -41
  77. package/lib/selectResourceModal/components/ListContent/index.js +0 -47
  78. package/lib/selectResourceModal/components/ListContentLocal/index.js +0 -94
  79. package/lib/selectResourceModal/style/listContent.less +0 -5
  80. package/lib/selectResourceModal/style/listContentLocal.less +0 -26
  81. package/lib/selectResourceModal/style/listFilter.less +0 -41
  82. /package/es/selectResourceModal/components/{ListCardWrapper/index.d.ts → List/ListCardWrapper.d.ts} +0 -0
  83. /package/es/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.d.ts +0 -0
  84. /package/es/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.js +0 -0
  85. /package/es/selectResourceModal/components/{ListContent → List/ListLocal}/index.d.ts +0 -0
  86. /package/es/selectResourceModal/components/{ListContentLocal/index.d.ts → List/ListNormal/Filter.d.ts} +0 -0
  87. /package/es/selectResourceModal/components/{ListFilter → List/ListNormal}/index.d.ts +0 -0
  88. /package/lib/selectResourceModal/components/{ListContentLocal/components → List/ListLocal}/Upload.js +0 -0
@@ -13,6 +13,7 @@
13
13
  @import './MatrixItem.less';
14
14
  @import './ShowQRCode.less';
15
15
  @import './QrCodeView.less';
16
+ @import './CustomItem.less';
16
17
 
17
18
  .gray-for-state-hide {
18
19
  -webkit-filter: grayscale(100%);
@@ -1,3 +1,4 @@
1
+ import { Ref } from 'vue';
1
2
  export declare function getAttachmentsAll(BASE_API: string, query?: any): import("axios").AxiosPromise<any>;
2
3
  export declare function getAttachmentsMy(BASE_API: string, query?: any): import("axios").AxiosPromise<any>;
3
4
  export declare function getAttachmentsMyMessage(BASE_API: string, query: any): import("axios").AxiosPromise<any>;
@@ -6,12 +7,12 @@ declare type OptionsType = {
6
7
  BASE_API: string;
7
8
  };
8
9
  export default function useAttachement(options: OptionsType): {
9
- list: import("vue").Ref<any[]>;
10
- total: import("vue").Ref<number>;
11
- limit: import("vue").Ref<number>;
12
- offset: import("vue").Ref<number>;
10
+ list: Ref<any[]>;
11
+ total: Ref<number>;
12
+ limit: Ref<number>;
13
+ offset: Ref<number>;
13
14
  pageIdx: import("vue").ComputedRef<number>;
14
- loading: import("vue").Ref<boolean>;
15
+ loading: Ref<boolean>;
15
16
  changeFilter: (f: any) => void;
16
17
  changeKey: (k: string) => void;
17
18
  changePage: (o: number) => void;
@@ -19,8 +20,15 @@ export default function useAttachement(options: OptionsType): {
19
20
  loadData: () => Promise<void>;
20
21
  };
21
22
  export declare function useLocalRecource(): {
22
- localList: import("vue").Ref<any[]>;
23
+ localList: Ref<any[]>;
23
24
  initLocalList: () => void;
24
25
  setLocalList: (list: any[]) => void;
25
26
  };
27
+ export declare type MediaUseType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
28
+ export declare const mediaUseEnum: {
29
+ [key: string]: MediaUseType;
30
+ };
31
+ export declare function getSysRsByTag(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
32
+ export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): import("axios").AxiosPromise<any>;
33
+ export declare function getSysRsPage(BASE_API: string, params: any): import("axios").AxiosPromise<any>;
26
34
  export {};
@@ -94,4 +94,18 @@ function useAttachement(options) {
94
94
  loadData
95
95
  };
96
96
  }
97
- export { useAttachement as default, getAttachmentsAll, getAttachmentsMy, getAttachmentsMyMessage };
97
+ function getSysRsByTag(BASE_API, params) {
98
+ return request(BASE_API, {
99
+ url: "/poplar/v3/classified/sys_attachments",
100
+ method: "get",
101
+ params
102
+ });
103
+ }
104
+ function getSysRsPage(BASE_API, params) {
105
+ return request(BASE_API, {
106
+ url: "/poplar/v3/sys_attachments",
107
+ method: "get",
108
+ params
109
+ });
110
+ }
111
+ export { useAttachement as default, getAttachmentsAll, getAttachmentsMy, getAttachmentsMyMessage, getSysRsByTag, getSysRsPage };
@@ -1,6 +1,7 @@
1
1
  export declare const LOCALSTORAGE_KEYS: {
2
2
  LOCAL_RESOURCES: string;
3
3
  LOCAL_UPLOAD_CONFIG: string;
4
+ USER_INFO: string;
4
5
  };
5
6
  export default function useLocalstorage(key: keyof typeof LOCALSTORAGE_KEYS): {
6
7
  get: () => any;
@@ -1,6 +1,7 @@
1
1
  const LOCALSTORAGE_KEYS = {
2
2
  LOCAL_RESOURCES: "cmstop-local-resources",
3
- LOCAL_UPLOAD_CONFIG: "cmstop-local-upload-config"
3
+ LOCAL_UPLOAD_CONFIG: "cmstop-local-upload-config",
4
+ USER_INFO: "cmstop-user-info"
4
5
  };
5
6
  function useLocalstorage(key) {
6
7
  function get() {
package/es/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: 70vh;
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;
@@ -0,0 +1,2 @@
1
+ var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAYAAADnRuK4AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABReSURBVHgB7V1rctvGlj4ARIp62BKj2LFdd8pU1dya8f0xUVZw5RVMsoLYK7CzgtgrSLyCK68gyQqsHViZqqnM3D+ia1JxLD9IPSiSIIme8zXYEggCIECCBEj2V0WbIkECRH845zuPbhi0ZDg+rm0XClSxirRHPaqYlnlfCLHNb1X4sd3frBLy8ar813D/N8ioOj3nDVn8N7/WuqCj3d1ynZYIBi0wQJbSBn0tHNozTeNL/rF7QlyRZCowDKoLoiPHEb8Kgw5Nh47u3i1XaUGxUAQCYYrrtG8I2jcN4z8p3JLMGkeGYRx1hfOLfUmHi2Sl5p5AIM3aGj0ikwnDxKF5AFsm0RMv+dnhvFunuSSQsjSWYTyZG9KEoU8mJtIBzSHmikBv39Yq5or5LQnxdNpaJgNU2c0dsih/Pk9WaS4IxMTZNyzj+7m3NjHBRDpwDOfl3VvlQ8o5ck2gZSPO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kI9X8Y/hLvfHz4264zhv+LuqFtFRo0HVRSZLEP4fk2v7Crb/X/wAAAAASUVORK5CYII=";
2
+ export { _imports_0 as default };
@@ -1,14 +1,12 @@
1
- import { defineComponent, computed, ref, provide, watch, openBlock, createElementBlock, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createElementVNode, createCommentVNode, createVNode, withDirectives, vShow, isRef, createTextVNode } from "vue";
2
- import { Drawer, Modal, Scrollbar, Pagination, Button } from "@arco-design/web-vue";
1
+ import { defineComponent, openBlock, createElementBlock, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createElementVNode, createCommentVNode, createVNode, isRef, createTextVNode } from "vue";
2
+ import { Drawer, Modal, Button } from "@arco-design/web-vue";
3
3
  import emptyData from "../emptyData/index.js";
4
4
  import _sfc_main$1 from "./components/ListTabs/index.js";
5
- import _sfc_main$2 from "./components/ListFilter/index.js";
6
- import _sfc_main$3 from "./components/ListContent/index.js";
7
- import _sfc_main$5 from "./components/ListSelected/index.js";
8
- import _sfc_main$4 from "./components/ListContentLocal/index.js";
9
- import useAttachement from "../hooks/useAttachement.js";
10
- import { DEFAULT_BASE_API } from "../config.js";
5
+ import _sfc_main$3 from "./components/ListSelected/index.js";
6
+ import _sfc_main$2 from "./components/List/ListCardWrapper.js";
11
7
  import { useResourceSelect } from "./scripts/useResourceSelect.js";
8
+ import useTabFilter from "./scripts/useTabFilter.js";
9
+ import useCompoentLifycycle from "./scripts/useCompoLf.js";
12
10
  const _hoisted_1 = { class: "resource-select-wrap" };
13
11
  const _hoisted_2 = { class: "resource-select-main" };
14
12
  const _hoisted_3 = {
@@ -16,13 +14,6 @@ const _hoisted_3 = {
16
14
  class: "resource-select-container"
17
15
  };
18
16
  const _hoisted_4 = {
19
- key: 0,
20
- class: "resource-select-filter"
21
- };
22
- const _hoisted_5 = { class: "resource-select-content" };
23
- const _hoisted_6 = { class: "resource-select-footer" };
24
- const _hoisted_7 = { class: "footer-left" };
25
- const _hoisted_8 = {
26
17
  key: 0,
27
18
  class: "footer-right"
28
19
  };
@@ -35,179 +26,89 @@ const _sfc_main = defineComponent({
35
26
  userInfo: {},
36
27
  maxcount: {},
37
28
  wrap: {},
38
- filterOptions: {}
29
+ filterOptions: {},
30
+ tabKeys: {},
31
+ mediaUseType: {}
39
32
  },
40
33
  emits: ["update:visible", "submit"],
41
34
  setup(__props, { emit: __emit }) {
42
35
  const props = __props;
43
36
  const emits = __emit;
44
- const BASE_API = props.BASE_API || DEFAULT_BASE_API;
45
- const wrapProps = computed(() => {
46
- if (props.wrap === "drawer") {
47
- return {
48
- class: "resource-select-drawer",
49
- header: false,
50
- width: "1024px",
51
- footer: false
52
- };
37
+ const { selected, selectedKeys, disableSelect, handleSelect, handleClear } = useResourceSelect(props);
38
+ const { activeKey, activeComponent, tabKeyList } = useTabFilter(props);
39
+ const { wrapProps, close, submit } = useCompoentLifycycle(props, emits);
40
+ const handleOptions = (options, handleOptions2) => {
41
+ const { key, meta } = options;
42
+ if (key === "select-one") {
43
+ if (Array.isArray(meta))
44
+ submit(meta);
45
+ else
46
+ submit([meta]);
47
+ close();
48
+ return;
53
49
  }
54
- return {
55
- bodyClass: "resource-select-modal-body",
56
- width: "986px",
57
- closable: false,
58
- hideTitle: false,
59
- footer: false
60
- };
61
- });
62
- const activeKey = ref("all");
63
- provide("filterOptions", computed(() => props.filterOptions));
64
- provide("userInfo", computed(() => props.userInfo));
65
- provide("baseAPI", BASE_API);
66
- const {
67
- list,
68
- total,
69
- limit,
70
- pageIdx,
71
- loading,
72
- changeKey,
73
- changeFilter,
74
- changePage,
75
- changeSize
76
- } = useAttachement({ key: "all", BASE_API });
77
- const {
78
- selected,
79
- selectedKeys,
80
- disableSelect,
81
- handleSelect,
82
- handleClear
83
- } = useResourceSelect(props);
84
- function handleClose() {
85
- handleClear();
86
- emits("update:visible", false);
87
- }
88
- const handleSubmit = (data) => {
89
- emits("submit", JSON.parse(JSON.stringify(data)));
90
- };
91
- const handleSelectOne = (params) => {
92
- if (Array.isArray(params))
93
- handleSubmit(params);
94
- else
95
- handleSubmit([params]);
96
- handleClose();
50
+ handleOptions2 && handleOptions2(options);
97
51
  };
98
52
  function handleConfirm() {
99
- handleSelectOne(selected.value);
53
+ submit(selected.value);
100
54
  }
101
- function handleToUpload() {
102
- changeKey("local");
103
- activeKey.value = "local";
55
+ function handelChangeTab(tabKey) {
56
+ activeKey.value = tabKey;
104
57
  }
105
- const FilterRef = ref();
106
- watch(
107
- () => props.visible,
108
- () => {
109
- if (props.visible) {
110
- activeKey.value = "all";
111
- changeKey("all");
112
- if (FilterRef.value)
113
- FilterRef.value.resetFilter();
114
- }
115
- }
116
- );
117
58
  return (_ctx, _cache) => {
118
59
  return openBlock(), createElementBlock("div", _hoisted_1, [
119
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.wrap === "drawer" ? unref(Drawer) : unref(Modal)), mergeProps({ visible: _ctx.visible }, wrapProps.value), {
60
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.wrap === "drawer" ? unref(Drawer) : unref(Modal)), mergeProps({ visible: _ctx.visible }, unref(wrapProps)), {
120
61
  default: withCtx(() => [
121
62
  createElementVNode("div", _hoisted_2, [
122
63
  _ctx.userInfo ? (openBlock(), createElementBlock("div", _hoisted_3, [
123
64
  createCommentVNode(" \u5934\u90E8 "),
124
65
  createVNode(_sfc_main$1, {
125
- "model-value": activeKey.value,
126
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeKey.value = $event),
127
- onChange: unref(changeKey),
128
- onClose: handleClose
129
- }, null, 8, ["model-value", "onChange"]),
130
- createCommentVNode(" \u7B5B\u9009 "),
131
- activeKey.value !== "local" ? (openBlock(), createElementBlock("div", _hoisted_4, [
132
- createVNode(_sfc_main$2, {
133
- ref_key: "FilterRef",
134
- ref: FilterRef,
135
- "disable-upload-by": !["all", "remind"].includes(activeKey.value),
136
- filterOptions: _ctx.filterOptions,
137
- onChange: unref(changeFilter),
138
- onUpload: handleToUpload
139
- }, null, 8, ["disable-upload-by", "filterOptions", "onChange"])
140
- ])) : createCommentVNode("v-if", true),
141
- createCommentVNode(" \u5217\u8868\u90E8\u5206 "),
142
- createElementVNode("div", _hoisted_5, [
143
- createVNode(unref(Scrollbar), {
144
- "outer-style": { height: "100%" },
145
- style: { "height": "100%", "overflow": "auto" }
146
- }, {
147
- default: withCtx(() => [
148
- withDirectives(createVNode(_sfc_main$3, {
149
- loading: unref(loading),
150
- list: unref(list),
151
- disable: unref(disableSelect),
152
- "select-keys": unref(selectedKeys),
153
- onSelect: unref(handleSelect),
154
- onSelectOne: handleSelectOne
155
- }, null, 8, ["loading", "list", "disable", "select-keys", "onSelect"]), [
156
- [vShow, activeKey.value !== "local"]
157
- ]),
158
- withDirectives(createVNode(_sfc_main$4, {
159
- disable: unref(disableSelect),
160
- "select-keys": unref(selectedKeys),
161
- onSelect: unref(handleSelect),
162
- onSelectOne: handleSelectOne
163
- }, null, 8, ["disable", "select-keys", "onSelect"]), [
164
- [vShow, activeKey.value === "local"]
165
- ])
166
- ]),
167
- _: 1
168
- })
169
- ]),
170
- createCommentVNode(" \u5E95\u90E8 "),
171
- createElementVNode("div", _hoisted_6, [
172
- createElementVNode("div", _hoisted_7, [
173
- activeKey.value !== "local" ? (openBlock(), createBlock(unref(Pagination), {
174
- key: 0,
175
- current: unref(pageIdx),
176
- "onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(pageIdx) ? pageIdx.value = $event : null),
177
- total: unref(total),
178
- "page-size": unref(limit),
179
- "show-total": "",
180
- "show-page-size": "",
181
- "base-size": 3,
182
- "buffer-size": 1,
183
- onChange: _cache[2] || (_cache[2] = (e) => unref(changePage)((e - 1) * unref(limit))),
184
- onPageSizeChange: unref(changeSize)
185
- }, null, 8, ["current", "total", "page-size", "onPageSizeChange"])) : createCommentVNode("v-if", true)
66
+ "model-value": unref(activeKey),
67
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(activeKey) ? activeKey.value = $event : null),
68
+ tabList: unref(tabKeyList),
69
+ onClose: unref(close)
70
+ }, null, 8, ["model-value", "tabList", "onClose"]),
71
+ createCommentVNode(" \u5217\u8868\u5206\u53D1\u5668 "),
72
+ (openBlock(), createBlock(resolveDynamicComponent(unref(activeComponent)), {
73
+ "active-key": unref(activeKey),
74
+ onChangeTab: handelChangeTab
75
+ }, {
76
+ item: withCtx(({ item, onOptions }) => [
77
+ createVNode(_sfc_main$2, {
78
+ item,
79
+ "select-keys": unref(selectedKeys),
80
+ disable: unref(disableSelect),
81
+ onSelect: unref(handleSelect),
82
+ onOptions: (e) => handleOptions(e, onOptions)
83
+ }, null, 8, ["item", "select-keys", "disable", "onSelect", "onOptions"])
84
+ ]),
85
+ "footer-extra": withCtx(() => [
86
+ unref(selected).length ? (openBlock(), createElementBlock("div", _hoisted_4, [
87
+ createVNode(_sfc_main$3, {
88
+ maxcount: _ctx.maxcount,
89
+ selected: unref(selected),
90
+ onRemove: unref(handleSelect),
91
+ onClear: unref(handleClear)
92
+ }, null, 8, ["maxcount", "selected", "onRemove", "onClear"]),
93
+ createVNode(unref(Button), { onClick: unref(close) }, {
94
+ default: withCtx(() => [
95
+ createTextVNode("\u53D6\u6D88")
96
+ ]),
97
+ _: 1
98
+ }, 8, ["onClick"]),
99
+ createVNode(unref(Button), {
100
+ type: "primary",
101
+ onClick: handleConfirm
102
+ }, {
103
+ default: withCtx(() => [
104
+ createTextVNode(" \u786E\u5B9A ")
105
+ ]),
106
+ _: 1
107
+ })
108
+ ])) : createCommentVNode("v-if", true)
186
109
  ]),
187
- unref(selected).length ? (openBlock(), createElementBlock("div", _hoisted_8, [
188
- createVNode(_sfc_main$5, {
189
- maxcount: _ctx.maxcount,
190
- selected: unref(selected),
191
- onRemove: unref(handleSelect),
192
- onClear: unref(handleClear)
193
- }, null, 8, ["maxcount", "selected", "onRemove", "onClear"]),
194
- createVNode(unref(Button), { onClick: handleClose }, {
195
- default: withCtx(() => [
196
- createTextVNode("\u53D6\u6D88")
197
- ]),
198
- _: 1
199
- }),
200
- createVNode(unref(Button), {
201
- type: "primary",
202
- onClick: handleConfirm
203
- }, {
204
- default: withCtx(() => [
205
- createTextVNode("\u786E\u5B9A")
206
- ]),
207
- _: 1
208
- })
209
- ])) : createCommentVNode("v-if", true)
210
- ])
110
+ _: 1
111
+ }, 40, ["active-key"]))
211
112
  ])) : (openBlock(), createBlock(unref(emptyData), {
212
113
  key: 1,
213
114
  type: "empty",