@wfrog/vc-ui 1.3.1 → 1.5.0
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/es/chunk/{CCmEeM7D.mjs → B3GxuXVE.mjs} +6 -6
- package/dist/es/chunk/BL8WhaLp.mjs +427 -0
- package/dist/es/chunk/{BiHWk71g.mjs → BPqrpkTb.mjs} +4 -4
- package/dist/es/chunk/{C_7t9blX.mjs → BZ1uhZQF.mjs} +1 -1
- package/dist/es/chunk/{-ga82G_B.mjs → BdVq9mV6.mjs} +1 -1
- package/dist/es/chunk/{DGGhWn1A.mjs → BfjuZmry.mjs} +6 -5
- package/dist/es/chunk/{BLLKi_0v.mjs → Bu3XHP55.mjs} +1 -1
- package/dist/es/chunk/{DEiqPcuO.mjs → BvNFaD5d.mjs} +3 -3
- package/dist/es/chunk/BxibBO68.mjs +5741 -0
- package/dist/es/chunk/{DO-mBaf5.mjs → By7FMB3I.mjs} +1 -43
- package/dist/es/chunk/{DATKTbFj.mjs → CGhekNBa.mjs} +5 -5
- package/dist/es/chunk/{plK2vnjp.mjs → CJ0afvkJ.mjs} +1 -1
- package/dist/es/chunk/{CtYp4FB7.mjs → CK5Bluh4.mjs} +2 -2
- package/dist/es/chunk/{Vv8g5_A1.mjs → CKZGL4_3.mjs} +9 -8
- package/dist/es/chunk/CNEMJL35.mjs +69 -0
- package/dist/es/chunk/{C9ldJ8Hh.mjs → CPCieLBG.mjs} +1 -1
- package/dist/es/chunk/{C50_dziC.mjs → CQz3lhyS.mjs} +2 -1
- package/dist/es/chunk/{Cekqdlxf.mjs → CbYM6R_O.mjs} +12 -77
- package/dist/es/chunk/{CQbpo0im.mjs → CboHfRXN.mjs} +5 -6
- package/dist/es/chunk/{BambM7zX.mjs → Cdh3HNZa.mjs} +2 -2
- package/dist/es/chunk/{aX4SRHmD.mjs → Cg-Krnly.mjs} +2 -1
- package/dist/es/chunk/{9qQNa4bM.mjs → Cjp0Czyu.mjs} +1 -1
- package/dist/es/chunk/Cmb_E8Ip.mjs +184 -0
- package/dist/es/chunk/{BIK5Djc_.mjs → Co77DVCw.mjs} +2 -2
- package/dist/es/chunk/CqTa_Vd-.mjs +375 -0
- package/dist/es/{components/dual-pane/dual-pane.mjs → chunk/CsjEhAYY.mjs} +11 -91
- package/dist/es/chunk/{BQyZW57B.mjs → CwXV7M2F.mjs} +3 -3
- package/dist/es/chunk/{b9dx0jdT.mjs → D1MHFKtN.mjs} +3 -3
- package/dist/es/chunk/{DskGUrkJ.mjs → D6m3vWpc.mjs} +2 -1
- package/dist/es/chunk/{4F1xxyju.mjs → D6nWUATi.mjs} +48 -2117
- package/dist/es/chunk/{C6bIuBQg.mjs → D7CQDxqy.mjs} +3 -3
- package/dist/es/chunk/{Dqk3gyUk.mjs → D9Lr0Bzb.mjs} +1 -374
- package/dist/es/chunk/{Xk5kfdyT.mjs → DAIuzoFs.mjs} +2 -1
- package/dist/es/chunk/{OVbHCQoq.mjs → DCS0eqqM.mjs} +3 -101
- package/dist/es/chunk/{BJTCqgn1.mjs → DDR6UjaC.mjs} +1 -1
- package/dist/es/chunk/{BKmk2ptO.mjs → DNsAO9iB.mjs} +2 -2
- package/dist/es/chunk/{-_x5oKYF.mjs → DQK0ezHm.mjs} +5 -4
- package/dist/es/chunk/{BQHHM_Gw.mjs → DQi1QPak.mjs} +30 -70
- package/dist/es/chunk/{BaqDgAvL.mjs → DSt2uDNE.mjs} +22 -434
- package/dist/es/chunk/DSw4GnC6.mjs +44 -0
- package/dist/es/chunk/DTbnchOm.mjs +94 -0
- package/dist/es/chunk/DViraU6I.mjs +45 -0
- package/dist/es/chunk/{C540ZOUa.mjs → DX84QR5M.mjs} +10 -9
- package/dist/es/chunk/DYKOYbzT.mjs +2003 -0
- package/dist/es/chunk/{D1PKXAql.mjs → D_F7nIja.mjs} +3 -4
- package/dist/es/chunk/{DcTh6n4x.mjs → D_Mvdscy.mjs} +5 -4
- package/dist/es/chunk/DhGOsWxx.mjs +6 -0
- package/dist/es/chunk/{DFxeI_lP.mjs → DhGcJR5p.mjs} +6 -6
- package/dist/es/chunk/DxxbB5jY.mjs +34 -0
- package/dist/es/chunk/EMeQxUfH.mjs +49 -0
- package/dist/es/chunk/{eN6VJ63C.mjs → F2ph6lWu.mjs} +9 -8
- package/dist/es/chunk/{Dn-BFXcJ.mjs → dN0VcQc2.mjs} +1 -1
- package/dist/es/chunk/{DTpr71Gd.mjs → e5i7OJY-.mjs} +4 -4
- package/dist/es/chunk/fueZ9sVu.mjs +890 -0
- package/dist/es/chunk/{CV2NA_2e.mjs → ipA7n6-J.mjs} +1 -1
- package/dist/es/chunk/{Dw-yyl2m.mjs → q2jRgbir.mjs} +2 -2
- package/dist/es/chunk/{C72pWnuz.mjs → w7VqVeWU.mjs} +5 -4
- package/dist/es/chunk/{DWcIzeMM.mjs → ytiKcA3H.mjs} +108 -10
- package/dist/es/chunk/{DFHjl3eL.mjs → yuIXvUxc.mjs} +1 -1
- package/dist/es/components/backbottom/backbottom.mjs +2 -2
- package/dist/es/components/button/button.d.ts +2 -1
- package/dist/es/components/button/button.mjs +68 -17
- package/dist/es/components/button/button.vue.d.ts +4 -1
- package/dist/es/components/choice/choice.mjs +3 -2
- package/dist/es/components/color-switcher/color-switcher.d.ts +15 -0
- package/dist/es/components/color-switcher/color-switcher.mjs +1215 -0
- package/dist/es/components/color-switcher/color-switcher.vue.d.ts +122 -0
- package/dist/es/components/color-switcher/index.css +5 -0
- package/dist/es/components/color-switcher/index.d.ts +4 -0
- package/dist/es/components/color-switcher/index.mjs +6 -0
- package/dist/es/components/cropper/cropper.mjs +12 -11
- package/dist/es/components/cropper/cropper.vue.d.ts +2 -2
- package/dist/es/components/currency/currency.mjs +7 -7
- package/dist/es/components/dark-switcher/dark-switcher.d.ts +10 -0
- package/dist/es/components/dark-switcher/dark-switcher.mjs +87 -0
- package/dist/es/components/dark-switcher/dark-switcher.vue.d.ts +12 -0
- package/dist/es/components/dark-switcher/index.css +11 -0
- package/dist/es/components/dark-switcher/index.d.ts +4 -0
- package/dist/es/components/dark-switcher/index.mjs +6 -0
- package/dist/es/components/daterange-picker/daterange-picker.mjs +21 -20
- package/dist/es/components/dialog/dialog.d.ts +1 -1
- package/dist/es/components/dialog/dialog.mjs +47 -62
- package/dist/es/components/dialog/dialog.vue.d.ts +2 -3
- package/dist/es/components/dialog/index.css +31 -32
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +12 -12
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +5 -5
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -13
- package/dist/es/components/drag-verify/drag-verify.mjs +14 -14
- package/dist/es/components/drag-verify/drag-verify.vue.d.ts +1 -1
- package/dist/es/components/drag-verify/index.css +11 -11
- package/dist/es/components/drawer/drawer.mjs +14 -14
- package/dist/es/components/drawer/index.css +16 -15
- package/dist/es/components/easy-pagination/easy-pagination.mjs +4 -4
- package/dist/es/components/el-icon/el-icon.mjs +2 -2
- package/dist/es/components/explorer/docs/data.d.ts +13 -0
- package/dist/es/components/explorer/explorer.d.ts +12 -0
- package/dist/es/components/explorer/explorer.mjs +64 -0
- package/dist/es/components/explorer/explorer.vue.d.ts +183 -0
- package/dist/es/components/explorer/explorer2.mjs +6 -0
- package/dist/es/components/explorer/index.css +14 -0
- package/dist/es/components/explorer/index.d.ts +4 -0
- package/dist/es/components/explorer/index.mjs +6 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.d.ts +23 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +2948 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.vue.d.ts +1486 -0
- package/dist/es/components/explorer-column-table/index.css +49 -0
- package/dist/es/components/explorer-column-table/index.d.ts +4 -0
- package/dist/es/components/explorer-column-table/index.mjs +6 -0
- package/dist/es/components/explorer-container/explorer-container.d.ts +5 -0
- package/dist/es/components/explorer-container/explorer-container.mjs +76 -0
- package/dist/es/components/explorer-container/explorer-container.vue.d.ts +23 -0
- package/dist/es/components/explorer-container/index.css +26 -0
- package/dist/es/components/explorer-container/index.d.ts +4 -0
- package/dist/es/components/explorer-container/index.mjs +6 -0
- package/dist/es/components/explorer-filter/explorer-filter.d.ts +12 -0
- package/dist/es/components/explorer-filter/explorer-filter.mjs +81 -0
- package/dist/es/components/explorer-filter/explorer-filter.vue.d.ts +14 -0
- package/dist/es/components/explorer-filter/index.css +7 -0
- package/dist/es/components/explorer-filter/index.d.ts +4 -0
- package/dist/es/components/explorer-filter/index.mjs +6 -0
- package/dist/es/components/explorer-footer/explorer-footer.d.ts +5 -0
- package/dist/es/components/explorer-footer/explorer-footer.mjs +92 -0
- package/dist/es/components/explorer-footer/explorer-footer.vue.d.ts +21 -0
- package/dist/es/components/explorer-footer/index.css +7 -0
- package/dist/es/components/explorer-footer/index.d.ts +4 -0
- package/dist/es/components/explorer-footer/index.mjs +6 -0
- package/dist/es/components/explorer-form/explorer-form.d.ts +19 -0
- package/dist/es/components/explorer-form/explorer-form.mjs +174 -0
- package/dist/es/components/explorer-form/explorer-form.vue.d.ts +33 -0
- package/dist/es/components/explorer-form/index.css +33 -0
- package/dist/es/components/explorer-form/index.d.ts +4 -0
- package/dist/es/components/explorer-form/index.mjs +6 -0
- package/dist/es/components/explorer-list/explorer-list.d.ts +23 -0
- package/dist/es/components/explorer-list/explorer-list.mjs +160 -0
- package/dist/es/components/explorer-list/explorer-list.vue.d.ts +38 -0
- package/dist/es/components/explorer-list/index.css +51 -0
- package/dist/es/components/explorer-list/index.d.ts +4 -0
- package/dist/es/components/explorer-list/index.mjs +6 -0
- package/dist/es/components/explorer-panel/explorer-panel.d.ts +14 -0
- package/dist/es/components/explorer-panel/explorer-panel.mjs +77 -0
- package/dist/es/components/explorer-panel/explorer-panel.vue.d.ts +253 -0
- package/dist/es/components/explorer-panel/explorer-panel2.mjs +6 -0
- package/dist/es/components/explorer-panel/index.css +12 -0
- package/dist/es/components/explorer-panel/index.d.ts +4 -0
- package/dist/es/components/explorer-panel/index.mjs +6 -0
- package/dist/es/components/explorer-query/explorer-query.d.ts +11 -0
- package/dist/es/components/explorer-query/explorer-query.mjs +2376 -0
- package/dist/es/components/explorer-query/explorer-query.vue.d.ts +396 -0
- package/dist/es/components/explorer-query/index.css +40 -0
- package/dist/es/components/explorer-query/index.d.ts +4 -0
- package/dist/es/components/explorer-query/index.mjs +6 -0
- package/dist/es/components/explorer-table/explorer-table.d.ts +11 -0
- package/dist/es/components/explorer-table/explorer-table.mjs +116 -0
- package/dist/es/components/explorer-table/explorer-table.vue.d.ts +25 -0
- package/dist/es/components/explorer-table/index.css +18 -0
- package/dist/es/components/explorer-table/index.d.ts +4 -0
- package/dist/es/components/explorer-table/index.mjs +6 -0
- package/dist/es/components/explorer-tools/components/column-setter.vue.d.ts +3028 -0
- package/dist/es/components/explorer-tools/explorer-tools.d.ts +35 -0
- package/dist/es/components/explorer-tools/explorer-tools.mjs +585 -0
- package/dist/es/components/explorer-tools/explorer-tools.vue.d.ts +43 -0
- package/dist/es/components/explorer-tools/index.css +60 -0
- package/dist/es/components/explorer-tools/index.d.ts +4 -0
- package/dist/es/components/explorer-tools/index.mjs +6 -0
- package/dist/es/components/explorer-tree/explorer-tree.d.ts +22 -0
- package/dist/es/components/explorer-tree/explorer-tree.mjs +177 -0
- package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +2055 -0
- package/dist/es/components/explorer-tree/index.css +58 -0
- package/dist/es/components/explorer-tree/index.d.ts +4 -0
- package/dist/es/components/explorer-tree/index.mjs +6 -0
- package/dist/es/components/icon/icon.mjs +4 -3
- package/dist/es/components/icon/icon2.mjs +2 -2
- package/dist/es/components/icon-picker/components/collections.vue.d.ts +245 -199
- package/dist/es/components/icon-picker/icon-picker.mjs +38 -921
- package/dist/es/components/icon-picker/index.css +31 -29
- package/dist/es/components/iconify-icon/iconify-icon.mjs +2 -2
- package/dist/es/components/image/image.mjs +5 -5
- package/dist/es/components/image/image.vue.d.ts +9 -9
- package/dist/es/components/input/index.css +4 -5
- package/dist/es/components/input/input.mjs +7 -7
- package/dist/es/components/input/input.vue.d.ts +6 -6
- package/dist/es/components/input-number/input-number.mjs +5 -5
- package/dist/es/components/pca-picker/components/c.vue.d.ts +3 -3
- package/dist/es/components/pca-picker/index.css +4 -4
- package/dist/es/components/pca-picker/pca-picker.mjs +21 -209
- package/dist/es/components/pca-picker/pca-picker.vue.d.ts +11 -11
- package/dist/es/components/screenfull/screenfull.mjs +4 -4
- package/dist/es/components/scrollbar/index.css +6 -5
- package/dist/es/components/scrollbar/scrollbar.d.ts +2 -0
- package/dist/es/components/scrollbar/scrollbar.mjs +17 -11
- package/dist/es/components/scrollbar/scrollbar.vue.d.ts +158 -136
- package/dist/es/components/select/select.mjs +7 -7
- package/dist/es/components/single-player/index.css +11 -11
- package/dist/es/components/single-player/single-player.mjs +20 -19
- package/dist/es/components/splitter/index.d.ts +4 -0
- package/dist/es/components/splitter/index.mjs +6 -0
- package/dist/es/components/splitter/splitter.d.ts +4 -0
- package/dist/es/components/splitter/splitter.mjs +28 -0
- package/dist/es/components/{dual-pane/dual-pane.vue.d.ts → splitter/splitter.vue.d.ts} +3 -5
- package/dist/es/components/splitter-panel/index.css +5 -0
- package/dist/es/components/splitter-panel/index.d.ts +4 -0
- package/dist/es/components/splitter-panel/index.mjs +6 -0
- package/dist/es/components/splitter-panel/splitter-panel.d.ts +3 -0
- package/dist/es/components/splitter-panel/splitter-panel.mjs +49 -0
- package/dist/es/components/splitter-panel/splitter-panel.vue.d.ts +20 -0
- package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
- package/dist/es/components/switch/switch.mjs +2 -2
- package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +2 -2
- package/dist/es/components/tags/tags.mjs +12 -11
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
- package/dist/es/components/text-ellipsis/text-ellipsis.vue.d.ts +1 -1
- package/dist/es/components/thousand-input/thousand-input.mjs +3 -3
- package/dist/es/components/thousand-input/thousand-input.vue.d.ts +14 -14
- package/dist/es/components/tinymce/index.css +1 -1
- package/dist/es/components/tinymce/tinymce.d.ts +1 -0
- package/dist/es/components/tinymce/tinymce.mjs +20 -11
- package/dist/es/components/tinymce/tinymce.vue.d.ts +3 -2
- package/dist/es/components/tree-picker/popover-cascader.css +1 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +11 -10
- package/dist/es/components/tree-picker/tree-picker.vue.d.ts +11 -11
- package/dist/es/components/upload-file/upload-file.mjs +2 -2
- package/dist/es/index.d.ts +16 -1
- package/dist/es/index.mjs +73 -39
- package/dist/es/use/usePersistentModel/index.d.ts +4 -0
- package/dist/es/use/usePersistentModel/index.mjs +19 -0
- package/dist/global.d.ts +16 -1
- package/dist/index.css +520 -123
- package/package.json +4 -1
- package/dist/es/chunk/DVNTpOBR.mjs +0 -4
- package/dist/es/components/dual-pane/dual-pane.d.ts +0 -8
- package/dist/es/components/dual-pane/index.css +0 -8
- package/dist/es/components/dual-pane/index.d.ts +0 -4
- package/dist/es/components/dual-pane/index.mjs +0 -6
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* source: src/components/explorer-column-table/explorer-column-table.vue */
|
|
2
|
+
.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#ffffff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#ffffff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}._table_ysja6_1 {
|
|
3
|
+
flex-grow: 1;
|
|
4
|
+
height: 100px;
|
|
5
|
+
--el-table-header-bg-color: var(--el-color-info-light-9);
|
|
6
|
+
--el-table-row-hover-bg-color: var(--el-color-primary-light-9);
|
|
7
|
+
}
|
|
8
|
+
._label_ysja6_8 {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
._label_ysja6_8 .el-checkbox {
|
|
13
|
+
width: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
cursor: move;
|
|
17
|
+
}
|
|
18
|
+
._label_ysja6_8 .el-checkbox > span {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
23
|
+
._label_ysja6_8 .el-checkbox__label {
|
|
24
|
+
min-width: 0;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
._item-container_ysja6_31 {
|
|
31
|
+
display: inline-flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
column-gap: 4px;
|
|
34
|
+
padding: 1px 0;
|
|
35
|
+
line-height: 0;
|
|
36
|
+
vertical-align: middle;
|
|
37
|
+
}
|
|
38
|
+
._item-container_ysja6_31 > div {
|
|
39
|
+
vertical-align: middle;
|
|
40
|
+
}
|
|
41
|
+
._truncate_ysja6_43 {
|
|
42
|
+
padding: 0 9px !important;
|
|
43
|
+
}
|
|
44
|
+
._truncate_ysja6_43.el-checkbox--small {
|
|
45
|
+
padding: 0 7px !important;
|
|
46
|
+
}
|
|
47
|
+
._truncate_ysja6_43.el-checkbox--large {
|
|
48
|
+
padding: 0 11px !important;
|
|
49
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import { v as vLoading } from '../../chunk/CwXV7M2F.mjs';
|
|
4
|
+
import { defineComponent, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString, withCtx } from 'vue';
|
|
5
|
+
import { C as Component$1 } from '../iconify-icon/iconify-icon.mjs';
|
|
6
|
+
import { C as Component$2 } from '../scrollbar/scrollbar.mjs';
|
|
7
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
8
|
+
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "explorer-container",
|
|
11
|
+
props: {
|
|
12
|
+
title: {},
|
|
13
|
+
icon: { default: "carbon:information-square" },
|
|
14
|
+
loading: { type: Boolean, default: false }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
const _directive_loading = vLoading;
|
|
19
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
20
|
+
class: normalizeClass(_ctx.$style["explorer-container"])
|
|
21
|
+
}, [
|
|
22
|
+
createElementVNode("div", {
|
|
23
|
+
class: normalizeClass(_ctx.$style.header)
|
|
24
|
+
}, [
|
|
25
|
+
createElementVNode("div", {
|
|
26
|
+
class: normalizeClass(_ctx.$style["header-container"])
|
|
27
|
+
}, [
|
|
28
|
+
__props.icon ? (openBlock(), createBlock(Component$1, {
|
|
29
|
+
key: 0,
|
|
30
|
+
name: __props.icon,
|
|
31
|
+
class: normalizeClass(_ctx.$style.icon)
|
|
32
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true),
|
|
33
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
34
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
35
|
+
])
|
|
36
|
+
], 2),
|
|
37
|
+
_ctx.$slots.action ? (openBlock(), createElementBlock("div", {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: normalizeClass(_ctx.$style.actions)
|
|
40
|
+
}, [
|
|
41
|
+
renderSlot(_ctx.$slots, "action")
|
|
42
|
+
], 2)) : createCommentVNode("", true)
|
|
43
|
+
], 2),
|
|
44
|
+
createVNode(Component$2, { always: "" }, {
|
|
45
|
+
default: withCtx(() => [
|
|
46
|
+
renderSlot(_ctx.$slots, "default")
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
})
|
|
50
|
+
], 2)), [
|
|
51
|
+
[_directive_loading, __props.loading]
|
|
52
|
+
]);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/* unplugin-vue-components disabled */const header = "_header_1sfkk_8";
|
|
58
|
+
const icon = "_icon_1sfkk_26";
|
|
59
|
+
const style0 = {
|
|
60
|
+
"explorer-container": "_explorer-container_1sfkk_1",
|
|
61
|
+
header: header,
|
|
62
|
+
"header-container": "_header-container_1sfkk_22",
|
|
63
|
+
icon: icon
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const cssModules = {
|
|
67
|
+
"$style": style0
|
|
68
|
+
};
|
|
69
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
70
|
+
|
|
71
|
+
const __vite_glob_0_21 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
72
|
+
__proto__: null,
|
|
73
|
+
default: Component
|
|
74
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
75
|
+
|
|
76
|
+
export { Component as C, __vite_glob_0_21 as _ };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IExplorerContainerProps } from './explorer-container';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
title?(_: {}): any;
|
|
6
|
+
action?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<IExplorerContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IExplorerContainerProps> & Readonly<{}>, {
|
|
14
|
+
icon: string;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* source: src/components/explorer-container/explorer-container.vue */
|
|
2
|
+
._explorer-container_1sfkk_1 {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
flex-grow: 1;
|
|
6
|
+
height: 100px;
|
|
7
|
+
}
|
|
8
|
+
._header_1sfkk_8 {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
13
|
+
min-height: 40px;
|
|
14
|
+
padding-bottom: 7px;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
color: var(--el-text-color-regular);
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
row-gap: 8px;
|
|
20
|
+
}
|
|
21
|
+
._header-container_1sfkk_22 {
|
|
22
|
+
font-size: 1.2em;
|
|
23
|
+
}
|
|
24
|
+
._icon_1sfkk_26 {
|
|
25
|
+
margin-right: 4px;
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface IExplorerFilterProps {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
clearable?: boolean;
|
|
4
|
+
paddingBottom?: number;
|
|
5
|
+
create?: boolean;
|
|
6
|
+
debounce?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface IExplorerFilterEmits {
|
|
10
|
+
(e: 'filter', keyword: string): void;
|
|
11
|
+
(e: 'create'): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import { E as ElButton } from '../../chunk/CqTa_Vd-.mjs';
|
|
4
|
+
import { E as ElInput } from '../../chunk/CKZGL4_3.mjs';
|
|
5
|
+
import { defineComponent, useCssVars, ref, createElementBlock, openBlock, normalizeClass, createVNode, createBlock, createCommentVNode, unref, withKeys, isRef } from 'vue';
|
|
6
|
+
import { Search, Plus } from '@element-plus/icons-vue';
|
|
7
|
+
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
8
|
+
import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
|
|
9
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
10
|
+
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "explorer-filter",
|
|
13
|
+
props: {
|
|
14
|
+
placeholder: { default: "查询" },
|
|
15
|
+
clearable: { type: Boolean, default: true },
|
|
16
|
+
paddingBottom: { default: 8 },
|
|
17
|
+
create: { type: Boolean },
|
|
18
|
+
debounce: { default: 300 },
|
|
19
|
+
disabled: { type: Boolean }
|
|
20
|
+
},
|
|
21
|
+
emits: ["filter", "create"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
useCssVars((_ctx) => ({
|
|
24
|
+
"b224534e": `${_ctx.paddingBottom}px`
|
|
25
|
+
}));
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emits = __emit;
|
|
28
|
+
const { filterKeyword } = injectExplorerPanelState();
|
|
29
|
+
const keyword = ref("");
|
|
30
|
+
function handleFilter() {
|
|
31
|
+
if (filterKeyword.value === keyword.value) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
filterKeyword.value = keyword.value;
|
|
35
|
+
emits("filter", keyword.value);
|
|
36
|
+
}
|
|
37
|
+
const keywordChange = debounce(() => handleFilter(), props.debounce);
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
const _component_ElInput = ElInput;
|
|
40
|
+
const _component_ElButton = ElButton;
|
|
41
|
+
return openBlock(), createElementBlock("div", {
|
|
42
|
+
class: normalizeClass(_ctx.$style["explorer-filter"])
|
|
43
|
+
}, [
|
|
44
|
+
createVNode(_component_ElInput, {
|
|
45
|
+
modelValue: unref(keyword),
|
|
46
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(keyword) ? keyword.value = $event : null),
|
|
47
|
+
placeholder: __props.placeholder,
|
|
48
|
+
clearable: __props.clearable,
|
|
49
|
+
"prefix-icon": unref(Search),
|
|
50
|
+
disabled: __props.disabled,
|
|
51
|
+
onKeydown: withKeys(handleFilter, ["enter"]),
|
|
52
|
+
onClear: handleFilter,
|
|
53
|
+
onChange: handleFilter,
|
|
54
|
+
onInput: unref(keywordChange)
|
|
55
|
+
}, null, 8, ["modelValue", "placeholder", "clearable", "prefix-icon", "disabled", "onInput"]),
|
|
56
|
+
__props.create ? (openBlock(), createBlock(_component_ElButton, {
|
|
57
|
+
key: 0,
|
|
58
|
+
icon: unref(Plus),
|
|
59
|
+
disabled: __props.disabled,
|
|
60
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emits("create"))
|
|
61
|
+
}, null, 8, ["icon", "disabled"])) : createCommentVNode("", true)
|
|
62
|
+
], 2);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
/* unplugin-vue-components disabled */const style0 = {
|
|
68
|
+
"explorer-filter": "_explorer-filter_1l5g5_1"
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const cssModules = {
|
|
72
|
+
"$style": style0
|
|
73
|
+
};
|
|
74
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
75
|
+
|
|
76
|
+
const __vite_glob_0_22 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
77
|
+
__proto__: null,
|
|
78
|
+
default: Component
|
|
79
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
80
|
+
|
|
81
|
+
export { Component as C, __vite_glob_0_22 as _ };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IExplorerFilterProps } from './explorer-filter';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IExplorerFilterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
filter: (keyword: string) => any;
|
|
4
|
+
create: () => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<IExplorerFilterProps> & Readonly<{
|
|
6
|
+
onFilter?: ((keyword: string) => any) | undefined;
|
|
7
|
+
onCreate?: (() => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
placeholder: string;
|
|
10
|
+
clearable: boolean;
|
|
11
|
+
debounce: number;
|
|
12
|
+
paddingBottom: number;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import { E as ElPagination } from '../../chunk/fueZ9sVu.mjs';
|
|
4
|
+
/* empty css */
|
|
5
|
+
import '../../chunk/DQi1QPak.mjs';
|
|
6
|
+
import '../../chunk/D_Mvdscy.mjs';
|
|
7
|
+
import '../../chunk/BfjuZmry.mjs';
|
|
8
|
+
import '../../chunk/CKZGL4_3.mjs';
|
|
9
|
+
import { defineComponent, useCssVars, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, renderSlot, unref, mergeProps } from 'vue';
|
|
10
|
+
import { i as isObjectLike, b as baseGetTag } from '../../chunk/ytiKcA3H.mjs';
|
|
11
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
12
|
+
|
|
13
|
+
/** `Object#toString` result references. */
|
|
14
|
+
var numberTag = '[object Number]';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Checks if `value` is classified as a `Number` primitive or object.
|
|
18
|
+
*
|
|
19
|
+
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
|
|
20
|
+
* classified as numbers, use the `_.isFinite` method.
|
|
21
|
+
*
|
|
22
|
+
* @static
|
|
23
|
+
* @memberOf _
|
|
24
|
+
* @since 0.1.0
|
|
25
|
+
* @category Lang
|
|
26
|
+
* @param {*} value The value to check.
|
|
27
|
+
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
|
|
28
|
+
* @example
|
|
29
|
+
*
|
|
30
|
+
* _.isNumber(3);
|
|
31
|
+
* // => true
|
|
32
|
+
*
|
|
33
|
+
* _.isNumber(Number.MIN_VALUE);
|
|
34
|
+
* // => true
|
|
35
|
+
*
|
|
36
|
+
* _.isNumber(Infinity);
|
|
37
|
+
* // => true
|
|
38
|
+
*
|
|
39
|
+
* _.isNumber('3');
|
|
40
|
+
* // => false
|
|
41
|
+
*/
|
|
42
|
+
function isNumber(value) {
|
|
43
|
+
return typeof value == 'number' ||
|
|
44
|
+
(isObjectLike(value) && baseGetTag(value) == numberTag);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
|
+
__name: "explorer-footer",
|
|
49
|
+
props: {
|
|
50
|
+
paddingTop: { default: 8 },
|
|
51
|
+
layout: { default: "total, prev, pager, next" },
|
|
52
|
+
total: {}
|
|
53
|
+
},
|
|
54
|
+
setup(__props) {
|
|
55
|
+
useCssVars((_ctx) => ({
|
|
56
|
+
"v2844fd33": `${_ctx.paddingTop}px`
|
|
57
|
+
}));
|
|
58
|
+
const props = __props;
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
const _component_ElPagination = ElPagination;
|
|
61
|
+
return openBlock(), createElementBlock("div", {
|
|
62
|
+
class: normalizeClass(_ctx.$style["explorer-footer"])
|
|
63
|
+
}, [
|
|
64
|
+
createElementVNode("div", null, [
|
|
65
|
+
renderSlot(_ctx.$slots, "default")
|
|
66
|
+
]),
|
|
67
|
+
unref(isNumber)(props.total) ? (openBlock(), createBlock(_component_ElPagination, mergeProps({
|
|
68
|
+
key: 0,
|
|
69
|
+
background: "",
|
|
70
|
+
layout: __props.layout,
|
|
71
|
+
total: __props.total
|
|
72
|
+
}, _ctx.$attrs), null, 16, ["layout", "total"])) : createCommentVNode("", true)
|
|
73
|
+
], 2);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
/* unplugin-vue-components disabled */const style0 = {
|
|
79
|
+
"explorer-footer": "_explorer-footer_1szke_1"
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const cssModules = {
|
|
83
|
+
"$style": style0
|
|
84
|
+
};
|
|
85
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
86
|
+
|
|
87
|
+
const __vite_glob_0_23 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
88
|
+
__proto__: null,
|
|
89
|
+
default: Component
|
|
90
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
91
|
+
|
|
92
|
+
export { Component as C, __vite_glob_0_23 as _ };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IExplorerFooterProps } from './explorer-footer';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IExplorerFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IExplorerFooterProps> & Readonly<{}>, {
|
|
12
|
+
layout: string;
|
|
13
|
+
paddingTop: number;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormProps } from 'element-plus';
|
|
2
|
+
import { Reactive } from 'vue';
|
|
3
|
+
export interface IExplorerFormProps {
|
|
4
|
+
title: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
form: Reactive<{
|
|
7
|
+
fields: Record<string, any>;
|
|
8
|
+
rules?: Record<string, any>;
|
|
9
|
+
}>;
|
|
10
|
+
formProps?: Partial<FormProps>;
|
|
11
|
+
initialValues?: Record<string, any>;
|
|
12
|
+
autoInitial?: boolean;
|
|
13
|
+
defaultEditing?: boolean;
|
|
14
|
+
onCancel?: () => void | Promise<void>;
|
|
15
|
+
onSave?: (data: Record<string, any>) => void | Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
export interface IExplorerFormEmits {
|
|
18
|
+
(e: 'clickEdit'): void;
|
|
19
|
+
}
|