@web-utils/form-ui 1.0.0-beta70 → 1.0.0-beta72
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/address-input/index.d.ts +52 -0
- package/address-input/index.mjs +1 -1
- package/affix/index.d.ts +32 -0
- package/awesome-button/index.d.ts +60 -0
- package/capsule-tab/index.d.ts +22 -0
- package/capsule-tab/index.mjs +1 -1
- package/card/index.d.ts +41 -0
- package/card/index.mjs +4 -2
- package/chunks/{B3d4fdGH.mjs → -UHCmZBh.mjs} +1 -1
- package/chunks/{BvcK4D8A2.mjs → 5oaTzHT-2.mjs} +9 -6
- package/chunks/{CGM03LI5.mjs → BCwAowl1.mjs} +2 -1
- package/chunks/{CwBq1JZV.mjs → BEIlrURf.mjs} +2 -1
- package/chunks/{D8r81QxD.mjs → BHVyaqk0.mjs} +7 -3
- package/chunks/{DxL9oojv2.mjs → BHwRv4F0.mjs} +13 -13
- package/chunks/{DhQF2ZlD.mjs → BJNI7n9Z.mjs} +2 -0
- package/chunks/{B8wGY5Hs2.mjs → BJuAz5lX2.mjs} +2 -2
- package/chunks/{uqKZ4RIo.mjs → BMWg0Wyj.mjs} +1 -0
- package/chunks/{DoNfjRR1.mjs → BOsml5YC.mjs} +4 -3
- package/chunks/{CsLrkldT2.mjs → BPwFiWYl2.mjs} +2 -1
- package/chunks/BWqFKbFT.mjs +1 -0
- package/chunks/{Calzy0Az.mjs → Bcpewc6H.mjs} +4 -0
- package/chunks/{CuoF9V8s.mjs → BgKQXQO_.mjs} +3 -1
- package/chunks/{CIybFvu92.mjs → Bhkk9TmJ2.mjs} +1 -1
- package/chunks/{BvbjlaN02.mjs → BiYsC43_.mjs} +13 -13
- package/chunks/BmP9lQmT.mjs +1 -0
- package/chunks/{TtxSplBB.mjs → Bnm0osro.mjs} +9 -3
- package/chunks/{CjmfMN1X2.mjs → BrJzSp9f.mjs} +2 -2
- package/chunks/{CDqVJ7U3.mjs → BrSZZNRc.mjs} +9 -4
- package/chunks/{DNSPORak.mjs → Bxo1Of95.mjs} +1 -1
- package/chunks/{Dls3rTka2.mjs → BzFYbCpR.mjs} +3 -2
- package/chunks/{DXiLi19u2.mjs → C6puxasG.mjs} +3 -2
- package/chunks/{CaRunrOV2.mjs → C9nRNgwm2.mjs} +25 -22
- package/chunks/{Csiz_xCa2.mjs → CDRNaOEg2.mjs} +1 -0
- package/chunks/CG7AYiWy.mjs +1 -0
- package/chunks/{BI-ZFlSw2.mjs → CIerTjpq2.mjs} +2 -2
- package/chunks/{B5voIv4_.mjs → CJl5ZiUq2.mjs} +10 -4
- package/chunks/{CbbjpJFg2.mjs → CKWgRCN52.mjs} +2 -2
- package/chunks/{DbtlO6wD.mjs → CKbOqPFm2.mjs} +3 -1
- package/chunks/{BUAQybGW.mjs → CLzc_j7_.mjs} +6 -2
- package/chunks/{BJby9uHB2.mjs → CU8bKuD12.mjs} +5 -1
- package/chunks/CUF58PQ6.mjs +1 -0
- package/chunks/{BsM0L7CS.mjs → CUMFv5zJ2.mjs} +4 -0
- package/chunks/{CR29QUwT2.mjs → Cb6Zx6UC.mjs} +3 -2
- package/chunks/{DL0o_C092.mjs → Cb_S4x_i2.mjs} +7 -2
- package/chunks/CcnjxILx.mjs +1 -0
- package/chunks/ChkCT6Mm.mjs +4 -0
- package/chunks/CiOqOUkG.mjs +1 -0
- package/chunks/{5itVLmv82.mjs → CidE_6Q52.mjs} +3 -1
- package/chunks/{BeWNlclr.mjs → Ciy3EJGG2.mjs} +8 -3
- package/chunks/CkXf_DVJ2.mjs +1 -0
- package/chunks/{BBqq6o072.mjs → CnqWFDqp2.mjs} +1 -0
- package/chunks/{CPejK_GQ2.mjs → Cq0oEWRi2.mjs} +2 -1
- package/chunks/{BoId6V9J.mjs → CsA_9MVv.mjs} +1 -1
- package/chunks/{CwWfRmD3.mjs → CtBIjjQc2.mjs} +3 -2
- package/chunks/{DsYXqJLZ.mjs → CuoYjthQ.mjs} +3 -1
- package/chunks/CwhXr2Qc.mjs +1 -0
- package/chunks/{BQNqBw8h2.mjs → Czi7_tAe.mjs} +2 -2
- package/chunks/{3gUkQF12.mjs → D2FNAA1a.mjs} +1 -1
- package/chunks/{BCVhSMZN.mjs → D3VpXXqv.mjs} +11 -8
- package/chunks/{D9qn1x3X2.mjs → D6TSUCGL.mjs} +2 -2
- package/chunks/{CWvo-ucD.mjs → D7O9ov79.mjs} +1 -0
- package/chunks/{Cy8jqgun2.mjs → D8fid28s2.mjs} +1 -0
- package/chunks/{BecO0t0_2.mjs → DJdhVUFO2.mjs} +6 -1
- package/chunks/{DLgn1tQG2.mjs → DJo_1CEK2.mjs} +1 -0
- package/chunks/{Cu2A_1vk2.mjs → DMBx2EQl.mjs} +3 -2
- package/chunks/{Wl17p0C82.mjs → DN2qkQvd.mjs} +2 -0
- package/chunks/{Cjkq49252.mjs → DOCwznnS.mjs} +4 -2
- package/chunks/{T_jwNKBr.mjs → DSnICEQN.mjs} +1 -1
- package/chunks/{9rQitPz7.mjs → DWjZMJ1e2.mjs} +14 -8
- package/chunks/{C5f3Xfsc2.mjs → D_5z5Xeq2.mjs} +3 -2
- package/chunks/Df9VO_Wn2.mjs +2 -0
- package/chunks/{DfJJr053.mjs → Diidem-9.mjs} +1 -1
- package/chunks/{Baam4z-g.mjs → Diyl8upM.mjs} +2 -0
- package/chunks/DjIPzCCR.mjs +2 -0
- package/chunks/{BkEMJ725.mjs → DlROUHPJ2.mjs} +8 -4
- package/chunks/{D6vTCC1Z2.mjs → DmEOzzaP2.mjs} +2 -1
- package/chunks/Dp195RgF.mjs +2 -0
- package/chunks/{EA6hte7s2.mjs → Dqu1Etz62.mjs} +5 -2
- package/chunks/{Q2Mal3Qn2.mjs → DrXfCf172.mjs} +1 -0
- package/chunks/{mD3gmiOy2.mjs → DssopN-n2.mjs} +4 -3
- package/chunks/{CdBytH8S.mjs → IheQdJ0z.mjs} +2 -1
- package/chunks/{CwqeV7002.mjs → PNyFONog2.mjs} +3 -1
- package/chunks/{6kdakei5.mjs → QAHALDuF2.mjs} +14 -8
- package/chunks/{B1GA44yT2.mjs → SEQG09ut.mjs} +2 -2
- package/chunks/{D_qwjNah.mjs → T70m4caR.mjs} +3 -2
- package/chunks/{Ch_zaHx9.mjs → Vrr45MGv.mjs} +1 -1
- package/chunks/{Z0BPDZlb.mjs → X6BItEt1.mjs} +3 -1
- package/chunks/{BaLjN8Ow.mjs → YS7hFnUB2.mjs} +6 -2
- package/chunks/{nLBvkerV2.mjs → ZBsqmcIN2.mjs} +2 -1
- package/chunks/{DZ0frL1U.mjs → fX1GD0G5.mjs} +1 -0
- package/chunks/{DTUh8o0p2.mjs → iPHgzcZ0.mjs} +3 -3
- package/chunks/{cMuWbLPt.mjs → iu5J8EF_.mjs} +1 -0
- package/chunks/{DoOkwYtO.mjs → qFn9SqfB2.mjs} +12 -6
- package/chunks/r8gDbwly.mjs +1 -0
- package/chunks/{CFvkR9Ze2.mjs → vpwjmKdg2.mjs} +3 -2
- package/code-mirror-editor/index.d.ts +50 -0
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.d.ts +122 -0
- package/confirmable/index.d.ts +93 -0
- package/context-menu/index.d.ts +183 -0
- package/context-menu/index.mjs +1 -1
- package/count-up/index.d.ts +70 -0
- package/count-up/index.mjs +1 -1
- package/css/style.css +1 -0
- package/css/style10.css +1 -0
- package/css/style11.css +1 -0
- package/css/style12.css +1 -0
- package/css/style13.css +1 -0
- package/css/style14.css +1 -0
- package/css/style15.css +1 -0
- package/css/style16.css +1 -0
- package/css/style17.css +1 -0
- package/css/style18.css +1 -0
- package/css/style19.css +1 -0
- package/css/style2.css +1 -0
- package/css/style20.css +1 -0
- package/css/style21.css +1 -0
- package/css/style22.css +1 -0
- package/css/style23.css +1 -0
- package/css/style24.css +1 -0
- package/css/style25.css +1 -0
- package/css/style26.css +1 -0
- package/css/style27.css +1 -0
- package/css/style28.css +1 -0
- package/css/style29.css +1 -0
- package/css/style3.css +1 -0
- package/css/style4.css +1 -0
- package/css/style5.css +1 -0
- package/css/style6.css +1 -0
- package/css/style7.css +1 -0
- package/css/style8.css +1 -0
- package/css/style9.css +1 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.d.ts +19 -0
- package/data-box/index.mjs +4 -2
- package/data-card/index.d.ts +20 -0
- package/data-card/index.mjs +4 -2
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.mjs +4 -2
- package/data-display/index.d.ts +20 -0
- package/data-display/index.mjs +4 -2
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.mjs +4 -2
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.mjs +5 -2
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.mjs +4 -2
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.mjs +4 -2
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.mjs +5 -2
- package/data-price/index.d.ts +17 -0
- package/data-price/index.mjs +4 -2
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.mjs +5 -3
- package/data-rotate/index.d.ts +19 -0
- package/data-rotate/index.mjs +4 -2
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +5 -3
- package/data-tabs/index.d.ts +19 -0
- package/data-tabs/index.mjs +4 -2
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.d.ts +79 -0
- package/e-charts/index.mjs +1 -1
- package/easy-popup/index.d.ts +114 -0
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.d.ts +68 -0
- package/editable-progress/index.mjs +4 -3
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +1 -1
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.d.ts +376 -0
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/element-resize-observer/index.d.ts +8 -0
- package/element-resize-observer/index.mjs +1 -1
- package/empty-view/index.d.ts +29 -0
- package/error-view/index.d.ts +25 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.d.ts +41 -0
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.d.ts +77 -0
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.d.ts +41 -0
- package/flex-row/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroller/index.d.ts +26 -0
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.d.ts +353 -0
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.d.ts +62 -0
- package/flow-viewer/index.mjs +1 -1
- package/form-advice/index.d.ts +9 -0
- package/form-button/index.d.ts +123 -0
- package/form-card/index.d.ts +14 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +1 -1
- package/form-cell/index.d.ts +25 -0
- package/form-checkbox/index.d.ts +314 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +1 -1
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.d.ts +487 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-date-picker/style.css +1 -0
- package/form-holder/index.d.ts +162 -0
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +220 -0
- package/form-image/index.mjs +1 -1
- package/form-image/style.css +1 -0
- package/form-input/index.d.ts +378 -0
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +376 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +376 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +329 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +376 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +270 -0
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +441 -0
- package/form-input-time/index.mjs +1 -1
- package/form-input-time/style.css +1 -0
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-group/index.d.ts +92 -0
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +190 -0
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +374 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-radio-group/style.css +1 -0
- package/form-rate/index.d.ts +325 -0
- package/form-rate/index.mjs +1 -1
- package/form-rate/style.css +1 -0
- package/form-red-table/index.d.ts +21 -0
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +606 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +352 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +343 -0
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +287 -0
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +235 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +1 -1
- package/form-time-select/style.css +1 -0
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.d.ts +226 -0
- package/form-view/index.mjs +3 -3
- package/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.mjs +1 -1
- package/guide-steps/style.css +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.d.ts +18 -0
- package/highlight-j-s/index.mjs +1 -1
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.d.ts +365 -0
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.d.ts +213 -0
- package/image-preview/index.mjs +1 -1
- package/image-preview/style.css +1 -1
- package/image-viewer/index.d.ts +25 -0
- package/image-viewer/index.mjs +1 -1
- package/index.d.ts +0 -2
- package/index.mjs +55 -55
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.mjs +3 -2
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.d.ts +65 -0
- package/loading-view/index.mjs +1 -1
- package/name-avatar/index.d.ts +62 -0
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.d.ts +21 -0
- package/nav-bar/index.mjs +2 -0
- package/package.json +11 -4
- package/page/index.d.ts +21 -0
- package/page-header/index.d.ts +27 -0
- package/page-index/index.d.ts +82 -0
- package/page-index/index.mjs +3 -2
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.mjs +4 -2
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/pageable-table/index.d.ts +400 -0
- package/pageable-table/index.mjs +1 -1
- package/pageable-table/style.css +1 -1
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +1 -1
- package/resolver/components.d.ts +2 -0
- package/resolver/components.mjs +4 -0
- package/resolver/index.mjs +2 -2
- package/sign-panel/index.d.ts +85 -0
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.d.ts +27 -0
- package/skeleton-panel/index.mjs +2 -1
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +1 -1
- package/stateful/index.d.ts +92 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.d.ts +27 -0
- package/swiper/index.mjs +2 -2
- package/table-column/index.d.ts +163 -0
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.d.ts +97 -0
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.d.ts +346 -0
- package/table-view/index.mjs +10 -7
- package/table-view/style.css +1 -1
- package/tag-render/index.d.ts +48 -0
- package/tag-render/index.mjs +4 -1
- package/text-ellipsis/index.d.ts +111 -0
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.d.ts +189 -0
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +117 -0
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +6 -2
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +1 -1
- /package/chunks/{BwYEpK-u.mjs → BQ0e8kIi.mjs} +0 -0
- /package/chunks/{BPpMbPS8.mjs → B_80qPvY.mjs} +0 -0
- /package/chunks/{h-Uhst9y.mjs → BxRjXAwz.mjs} +0 -0
- /package/chunks/{C1RsHtGI.mjs → CRjUGi_-.mjs} +0 -0
- /package/chunks/{B31ub5xS.mjs → CZnBtJW02.mjs} +0 -0
- /package/chunks/{BMTtnkb7.mjs → DWhGFQkb2.mjs} +0 -0
- /package/chunks/{7Cv9Cq-02.mjs → GYddfy8T.mjs} +0 -0
- /package/chunks/{e70aZf3z.mjs → iIozz7ce.mjs} +0 -0
- /package/chunks/{BVuwiZGi.mjs → q5iCsXNv.mjs} +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
labelAsValue: boolean;
|
|
8
|
+
type: string;
|
|
9
|
+
treeDict: boolean;
|
|
10
|
+
idAsValue: boolean;
|
|
11
|
+
filterable: boolean;
|
|
12
|
+
align: string;
|
|
13
|
+
showOverflowTooltip: boolean | Record<string, any>;
|
|
14
|
+
clickable: boolean;
|
|
15
|
+
autoUpdate: boolean;
|
|
16
|
+
allowSort: boolean;
|
|
17
|
+
sortOrders: unknown[];
|
|
18
|
+
resizable: boolean;
|
|
19
|
+
headerAlign: string;
|
|
20
|
+
reserveSelection: boolean;
|
|
21
|
+
filterMultiple: boolean;
|
|
22
|
+
filteredValue: unknown[];
|
|
23
|
+
options?: unknown[] | undefined;
|
|
24
|
+
label?: string | undefined;
|
|
25
|
+
filters?: unknown[] | undefined;
|
|
26
|
+
fixed?: string | boolean | undefined;
|
|
27
|
+
width?: string | number | undefined;
|
|
28
|
+
dictType?: string | undefined;
|
|
29
|
+
prop?: string | undefined;
|
|
30
|
+
filterMethod?: Function | undefined;
|
|
31
|
+
formatter?: Function | undefined;
|
|
32
|
+
index?: number | Function | undefined;
|
|
33
|
+
className?: string | undefined;
|
|
34
|
+
tooltipFormatter?: Function | undefined;
|
|
35
|
+
property?: string | undefined;
|
|
36
|
+
cellClick?: Function | undefined;
|
|
37
|
+
maxWidth?: string | undefined;
|
|
38
|
+
columnKey?: string | undefined;
|
|
39
|
+
minWidth?: string | number | undefined;
|
|
40
|
+
renderHeader?: Function | undefined;
|
|
41
|
+
sortable?: string | boolean | undefined;
|
|
42
|
+
sortMethod?: Function | undefined;
|
|
43
|
+
sortBy?: string | Function | unknown[] | undefined;
|
|
44
|
+
labelClassName?: string | undefined;
|
|
45
|
+
selectable?: Function | undefined;
|
|
46
|
+
filterPlacement?: string | undefined;
|
|
47
|
+
filterClassName?: string | undefined;
|
|
48
|
+
$props: {
|
|
49
|
+
readonly labelAsValue?: boolean | undefined;
|
|
50
|
+
readonly type?: string | undefined;
|
|
51
|
+
readonly treeDict?: boolean | undefined;
|
|
52
|
+
readonly idAsValue?: boolean | undefined;
|
|
53
|
+
readonly filterable?: boolean | undefined;
|
|
54
|
+
readonly align?: string | undefined;
|
|
55
|
+
readonly showOverflowTooltip?: boolean | Record<string, any> | undefined;
|
|
56
|
+
readonly clickable?: boolean | undefined;
|
|
57
|
+
readonly autoUpdate?: boolean | undefined;
|
|
58
|
+
readonly allowSort?: boolean | undefined;
|
|
59
|
+
readonly sortOrders?: unknown[] | undefined;
|
|
60
|
+
readonly resizable?: boolean | undefined;
|
|
61
|
+
readonly headerAlign?: string | undefined;
|
|
62
|
+
readonly reserveSelection?: boolean | undefined;
|
|
63
|
+
readonly filterMultiple?: boolean | undefined;
|
|
64
|
+
readonly filteredValue?: unknown[] | undefined;
|
|
65
|
+
readonly options?: unknown[] | undefined;
|
|
66
|
+
readonly label?: string | undefined;
|
|
67
|
+
readonly filters?: unknown[] | undefined;
|
|
68
|
+
readonly fixed?: string | boolean | undefined;
|
|
69
|
+
readonly width?: string | number | undefined;
|
|
70
|
+
readonly dictType?: string | undefined;
|
|
71
|
+
readonly prop?: string | undefined;
|
|
72
|
+
readonly filterMethod?: Function | undefined;
|
|
73
|
+
readonly formatter?: Function | undefined;
|
|
74
|
+
readonly index?: number | Function | undefined;
|
|
75
|
+
readonly className?: string | undefined;
|
|
76
|
+
readonly tooltipFormatter?: Function | undefined;
|
|
77
|
+
readonly property?: string | undefined;
|
|
78
|
+
readonly cellClick?: Function | undefined;
|
|
79
|
+
readonly maxWidth?: string | undefined;
|
|
80
|
+
readonly columnKey?: string | undefined;
|
|
81
|
+
readonly minWidth?: string | number | undefined;
|
|
82
|
+
readonly renderHeader?: Function | undefined;
|
|
83
|
+
readonly sortable?: string | boolean | undefined;
|
|
84
|
+
readonly sortMethod?: Function | undefined;
|
|
85
|
+
readonly sortBy?: string | Function | unknown[] | undefined;
|
|
86
|
+
readonly labelClassName?: string | undefined;
|
|
87
|
+
readonly selectable?: Function | undefined;
|
|
88
|
+
readonly filterPlacement?: string | undefined;
|
|
89
|
+
readonly filterClassName?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
type __VLS_TemplateResult = {
|
|
93
|
+
attrs: Partial<{}>;
|
|
94
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
95
|
+
refs: {};
|
|
96
|
+
rootEl: any;
|
|
97
|
+
};
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { tableViewContextKey, cellClickHandlerContextKey } from '../../constants';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
+
data: ArrayConstructor;
|
|
4
|
+
viewId: (ArrayConstructor | StringConstructor)[];
|
|
5
|
+
searchPanelAttrs: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: () => void;
|
|
8
|
+
};
|
|
9
|
+
toolbarAttrs: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => void;
|
|
12
|
+
};
|
|
13
|
+
toolbarListeners: ObjectConstructor;
|
|
14
|
+
treeAttrs: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => void;
|
|
17
|
+
};
|
|
18
|
+
treeListeners: ObjectConstructor;
|
|
19
|
+
tableAttrs: ObjectConstructor;
|
|
20
|
+
searchModel: ObjectConstructor;
|
|
21
|
+
tableListeners: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default: () => void;
|
|
24
|
+
};
|
|
25
|
+
deleteApi: FunctionConstructor;
|
|
26
|
+
borderTop: BooleanConstructor;
|
|
27
|
+
borderBottom: BooleanConstructor;
|
|
28
|
+
borderLeft: BooleanConstructor;
|
|
29
|
+
borderRight: BooleanConstructor;
|
|
30
|
+
border: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
labelWidth: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
formPath: (StringConstructor | FunctionConstructor)[];
|
|
39
|
+
searchFormPosition: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
embed: BooleanConstructor;
|
|
44
|
+
deleteTips: StringConstructor;
|
|
45
|
+
selectTips: StringConstructor;
|
|
46
|
+
rowKey: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
expandSearch: BooleanConstructor;
|
|
51
|
+
showToolbar: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {
|
|
56
|
+
importDialogVisible: boolean;
|
|
57
|
+
selectedRows: never[];
|
|
58
|
+
isSearchVisible: boolean;
|
|
59
|
+
}, {
|
|
60
|
+
buttonSlots(): string[];
|
|
61
|
+
toolbarProps(): any;
|
|
62
|
+
treeProps(): Record<string, any>;
|
|
63
|
+
tableProps(): Record<string, any>;
|
|
64
|
+
searchPanelProps(): Record<string, any>;
|
|
65
|
+
toolbarEventHandlers(): {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
};
|
|
68
|
+
tableScopeSlotNames(): any;
|
|
69
|
+
}, {
|
|
70
|
+
toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
|
|
71
|
+
onTreeScroll(): void;
|
|
72
|
+
toggleSearch(): void;
|
|
73
|
+
onSearchClick(): void;
|
|
74
|
+
onClearClick(): void;
|
|
75
|
+
openFrom(row: any): void;
|
|
76
|
+
rowDbClick(row: any): void;
|
|
77
|
+
onSelectionChange(rows: any): void;
|
|
78
|
+
create(): void;
|
|
79
|
+
del(): Promise<void>;
|
|
80
|
+
reloadTable(): void;
|
|
81
|
+
refreshTable(useLoading: any): Promise<void>;
|
|
82
|
+
reloadTree(): void;
|
|
83
|
+
reloadTableAndTree(): void;
|
|
84
|
+
currentRow(): any;
|
|
85
|
+
getPageQuery(): any;
|
|
86
|
+
exp(): void;
|
|
87
|
+
getTableColumns(): any;
|
|
88
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reset"[], "reset", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
89
|
+
data: ArrayConstructor;
|
|
90
|
+
viewId: (ArrayConstructor | StringConstructor)[];
|
|
91
|
+
searchPanelAttrs: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
default: () => void;
|
|
94
|
+
};
|
|
95
|
+
toolbarAttrs: {
|
|
96
|
+
type: ObjectConstructor;
|
|
97
|
+
default: () => void;
|
|
98
|
+
};
|
|
99
|
+
toolbarListeners: ObjectConstructor;
|
|
100
|
+
treeAttrs: {
|
|
101
|
+
type: ObjectConstructor;
|
|
102
|
+
default: () => void;
|
|
103
|
+
};
|
|
104
|
+
treeListeners: ObjectConstructor;
|
|
105
|
+
tableAttrs: ObjectConstructor;
|
|
106
|
+
searchModel: ObjectConstructor;
|
|
107
|
+
tableListeners: {
|
|
108
|
+
type: ObjectConstructor;
|
|
109
|
+
default: () => void;
|
|
110
|
+
};
|
|
111
|
+
deleteApi: FunctionConstructor;
|
|
112
|
+
borderTop: BooleanConstructor;
|
|
113
|
+
borderBottom: BooleanConstructor;
|
|
114
|
+
borderLeft: BooleanConstructor;
|
|
115
|
+
borderRight: BooleanConstructor;
|
|
116
|
+
border: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
labelWidth: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
formPath: (StringConstructor | FunctionConstructor)[];
|
|
125
|
+
searchFormPosition: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
embed: BooleanConstructor;
|
|
130
|
+
deleteTips: StringConstructor;
|
|
131
|
+
selectTips: StringConstructor;
|
|
132
|
+
rowKey: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
expandSearch: BooleanConstructor;
|
|
137
|
+
showToolbar: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
embed: boolean;
|
|
145
|
+
border: boolean;
|
|
146
|
+
labelWidth: string;
|
|
147
|
+
toolbarAttrs: Record<string, any>;
|
|
148
|
+
showToolbar: boolean;
|
|
149
|
+
rowKey: string;
|
|
150
|
+
borderTop: boolean;
|
|
151
|
+
borderBottom: boolean;
|
|
152
|
+
borderLeft: boolean;
|
|
153
|
+
borderRight: boolean;
|
|
154
|
+
expandSearch: boolean;
|
|
155
|
+
searchPanelAttrs: Record<string, any>;
|
|
156
|
+
treeAttrs: Record<string, any>;
|
|
157
|
+
tableListeners: Record<string, any>;
|
|
158
|
+
searchFormPosition: string;
|
|
159
|
+
}, {}, {}, {}, string, () => {
|
|
160
|
+
[tableViewContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
161
|
+
data: ArrayConstructor;
|
|
162
|
+
viewId: (ArrayConstructor | StringConstructor)[];
|
|
163
|
+
searchPanelAttrs: {
|
|
164
|
+
type: ObjectConstructor;
|
|
165
|
+
default: () => void;
|
|
166
|
+
};
|
|
167
|
+
toolbarAttrs: {
|
|
168
|
+
type: ObjectConstructor;
|
|
169
|
+
default: () => void;
|
|
170
|
+
};
|
|
171
|
+
toolbarListeners: ObjectConstructor;
|
|
172
|
+
treeAttrs: {
|
|
173
|
+
type: ObjectConstructor;
|
|
174
|
+
default: () => void;
|
|
175
|
+
};
|
|
176
|
+
treeListeners: ObjectConstructor;
|
|
177
|
+
tableAttrs: ObjectConstructor;
|
|
178
|
+
searchModel: ObjectConstructor;
|
|
179
|
+
tableListeners: {
|
|
180
|
+
type: ObjectConstructor;
|
|
181
|
+
default: () => void;
|
|
182
|
+
};
|
|
183
|
+
deleteApi: FunctionConstructor;
|
|
184
|
+
borderTop: BooleanConstructor;
|
|
185
|
+
borderBottom: BooleanConstructor;
|
|
186
|
+
borderLeft: BooleanConstructor;
|
|
187
|
+
borderRight: BooleanConstructor;
|
|
188
|
+
border: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
labelWidth: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
formPath: (StringConstructor | FunctionConstructor)[];
|
|
197
|
+
searchFormPosition: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
embed: BooleanConstructor;
|
|
202
|
+
deleteTips: StringConstructor;
|
|
203
|
+
selectTips: StringConstructor;
|
|
204
|
+
rowKey: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
expandSearch: BooleanConstructor;
|
|
209
|
+
showToolbar: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
}>> & Readonly<{
|
|
214
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
215
|
+
}>, {}, {
|
|
216
|
+
importDialogVisible: boolean;
|
|
217
|
+
selectedRows: never[];
|
|
218
|
+
isSearchVisible: boolean;
|
|
219
|
+
}, {
|
|
220
|
+
buttonSlots(): string[];
|
|
221
|
+
toolbarProps(): any;
|
|
222
|
+
treeProps(): Record<string, any>;
|
|
223
|
+
tableProps(): Record<string, any>;
|
|
224
|
+
searchPanelProps(): Record<string, any>;
|
|
225
|
+
toolbarEventHandlers(): {
|
|
226
|
+
[x: string]: any;
|
|
227
|
+
};
|
|
228
|
+
tableScopeSlotNames(): any;
|
|
229
|
+
}, {
|
|
230
|
+
toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
|
|
231
|
+
onTreeScroll(): void;
|
|
232
|
+
toggleSearch(): void;
|
|
233
|
+
onSearchClick(): void;
|
|
234
|
+
onClearClick(): void;
|
|
235
|
+
openFrom(row: any): void;
|
|
236
|
+
rowDbClick(row: any): void;
|
|
237
|
+
onSelectionChange(rows: any): void;
|
|
238
|
+
create(): void;
|
|
239
|
+
del(): Promise<void>;
|
|
240
|
+
reloadTable(): void;
|
|
241
|
+
refreshTable(useLoading: any): Promise<void>;
|
|
242
|
+
reloadTree(): void;
|
|
243
|
+
reloadTableAndTree(): void;
|
|
244
|
+
currentRow(): any;
|
|
245
|
+
getPageQuery(): any;
|
|
246
|
+
exp(): void;
|
|
247
|
+
getTableColumns(): any;
|
|
248
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reset"[], {}, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
249
|
+
P: {};
|
|
250
|
+
B: {};
|
|
251
|
+
D: {};
|
|
252
|
+
C: {};
|
|
253
|
+
M: {};
|
|
254
|
+
Defaults: {};
|
|
255
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
256
|
+
data: ArrayConstructor;
|
|
257
|
+
viewId: (ArrayConstructor | StringConstructor)[];
|
|
258
|
+
searchPanelAttrs: {
|
|
259
|
+
type: ObjectConstructor;
|
|
260
|
+
default: () => void;
|
|
261
|
+
};
|
|
262
|
+
toolbarAttrs: {
|
|
263
|
+
type: ObjectConstructor;
|
|
264
|
+
default: () => void;
|
|
265
|
+
};
|
|
266
|
+
toolbarListeners: ObjectConstructor;
|
|
267
|
+
treeAttrs: {
|
|
268
|
+
type: ObjectConstructor;
|
|
269
|
+
default: () => void;
|
|
270
|
+
};
|
|
271
|
+
treeListeners: ObjectConstructor;
|
|
272
|
+
tableAttrs: ObjectConstructor;
|
|
273
|
+
searchModel: ObjectConstructor;
|
|
274
|
+
tableListeners: {
|
|
275
|
+
type: ObjectConstructor;
|
|
276
|
+
default: () => void;
|
|
277
|
+
};
|
|
278
|
+
deleteApi: FunctionConstructor;
|
|
279
|
+
borderTop: BooleanConstructor;
|
|
280
|
+
borderBottom: BooleanConstructor;
|
|
281
|
+
borderLeft: BooleanConstructor;
|
|
282
|
+
borderRight: BooleanConstructor;
|
|
283
|
+
border: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
labelWidth: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
291
|
+
formPath: (StringConstructor | FunctionConstructor)[];
|
|
292
|
+
searchFormPosition: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
embed: BooleanConstructor;
|
|
297
|
+
deleteTips: StringConstructor;
|
|
298
|
+
selectTips: StringConstructor;
|
|
299
|
+
rowKey: {
|
|
300
|
+
type: StringConstructor;
|
|
301
|
+
default: string;
|
|
302
|
+
};
|
|
303
|
+
expandSearch: BooleanConstructor;
|
|
304
|
+
showToolbar: {
|
|
305
|
+
type: BooleanConstructor;
|
|
306
|
+
default: boolean;
|
|
307
|
+
};
|
|
308
|
+
}>> & Readonly<{
|
|
309
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
310
|
+
}>, {}, {
|
|
311
|
+
importDialogVisible: boolean;
|
|
312
|
+
selectedRows: never[];
|
|
313
|
+
isSearchVisible: boolean;
|
|
314
|
+
}, {
|
|
315
|
+
buttonSlots(): string[];
|
|
316
|
+
toolbarProps(): any;
|
|
317
|
+
treeProps(): Record<string, any>;
|
|
318
|
+
tableProps(): Record<string, any>;
|
|
319
|
+
searchPanelProps(): Record<string, any>;
|
|
320
|
+
toolbarEventHandlers(): {
|
|
321
|
+
[x: string]: any;
|
|
322
|
+
};
|
|
323
|
+
tableScopeSlotNames(): any;
|
|
324
|
+
}, {
|
|
325
|
+
toHyphenateKey: (properties: Record<string, any>) => Record<string, any>;
|
|
326
|
+
onTreeScroll(): void;
|
|
327
|
+
toggleSearch(): void;
|
|
328
|
+
onSearchClick(): void;
|
|
329
|
+
onClearClick(): void;
|
|
330
|
+
openFrom(row: any): void;
|
|
331
|
+
rowDbClick(row: any): void;
|
|
332
|
+
onSelectionChange(rows: any): void;
|
|
333
|
+
create(): void;
|
|
334
|
+
del(): Promise<void>;
|
|
335
|
+
reloadTable(): void;
|
|
336
|
+
refreshTable(useLoading: any): Promise<void>;
|
|
337
|
+
reloadTree(): void;
|
|
338
|
+
reloadTableAndTree(): void;
|
|
339
|
+
currentRow(): any;
|
|
340
|
+
getPageQuery(): any;
|
|
341
|
+
exp(): void;
|
|
342
|
+
getTableColumns(): any;
|
|
343
|
+
}, {}>;
|
|
344
|
+
[cellClickHandlerContextKey]: (row: any) => void;
|
|
345
|
+
}, true, {}, any>;
|
|
346
|
+
export default _default;
|
package/table-view/index.mjs
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import "../chunks/CjjJimnU.mjs";
|
|
2
2
|
import { n as e, t } from "../chunks/CQxz8uUc.mjs";
|
|
3
3
|
import { f as n, i as r } from "../chunks/D-hj62se2.mjs";
|
|
4
|
-
import { t as i } from "../chunks/
|
|
4
|
+
import { t as i } from "../chunks/DJo_1CEK2.mjs";
|
|
5
5
|
import { t as a } from "../chunks/7JVbVOff2.mjs";
|
|
6
|
-
import { t as o } from "../chunks/
|
|
7
|
-
import { t as s } from "../chunks/
|
|
8
|
-
|
|
6
|
+
import { t as o } from "../chunks/D3VpXXqv.mjs";
|
|
7
|
+
import { t as s } from "../chunks/BHVyaqk0.mjs";
|
|
8
|
+
/* empty css */
|
|
9
|
+
import { t as c } from "../chunks/BQ0e8kIi.mjs";
|
|
9
10
|
import { processButtons as l, reloadTable as u } from "../api/index.mjs";
|
|
10
11
|
import { cellClickHandlerContextKey as d, tableViewContextKey as f } from "../constants/index.mjs";
|
|
11
|
-
import { t as p } from "../chunks/
|
|
12
|
-
import
|
|
12
|
+
import { t as p } from "../chunks/BJNI7n9Z.mjs";
|
|
13
|
+
import "../chunks/BWqFKbFT.mjs";
|
|
14
|
+
import "../chunks/r8gDbwly.mjs";
|
|
15
|
+
import { s as m } from "../chunks/CUMFv5zJ2.mjs";
|
|
13
16
|
import h from "../form-item-config-provider/index.mjs";
|
|
14
|
-
import { t as g } from "../chunks/
|
|
17
|
+
import { t as g } from "../chunks/D2FNAA1a.mjs";
|
|
15
18
|
import { Transition as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, mergeProps as T, normalizeClass as E, normalizeStyle as D, openBlock as O, renderList as k, renderSlot as A, toDisplayString as j, toHandlers as M, vShow as N, withCtx as P, withDirectives as F, withModifiers as I } from "vue";
|
|
16
19
|
import { hasOwn as L, isArray as R, isFunction as z, isString as B, toStringArray as V, trace as H, warning as U } from "@web-utils/core";
|
|
17
20
|
import { merge as W } from "@web-utils/integrations/lodash";
|
package/table-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.table-view{flex-direction:column;height:100%;padding:10px;display:flex}.table-view.has-tree .table-view-wrapper .pageable-table-wrapper,.table-view.embed{padding:0}.table-view.embed .toolbar{border:1px solid #ebeef5;border-bottom:none}.table-view.embed .table-view-wrapper{box-shadow:none;border-radius:0}.table-view.embed .table-view-wrapper .pageable-table-wrapper{padding:0}.table-view .toolbar{border-bottom:none;height:46px;line-height:46px}.table-view .table-view-wrapper{border-radius:4px;flex-direction:column;height:100%;display:flex;overflow:hidden;box-shadow:0 2px 12px #0000001a}.table-view .table-view-wrapper .pageable-table-wrapper{padding-left:10px;padding-right:10px}.table-view .table-view-wrapper .el-pagination{color:#303133;white-space:nowrap;text-align:left;padding:6px 10px;font-weight:700}.table-view .border-top .el-table--border{border-top:1px solid #ebeef5}.table-view .border-bottom .el-table--border{border-bottom:1px solid #ebeef5}.table-view .border-left .el-table--border,.table-view .border-left .el-pagination{border-left:1px solid #ebeef5}.table-view .border-right .el-table--border{border-right:1px solid #ebeef5}.table-view .node-icon{margin-right:4px}.table-view .table-view-content-wrapper{flex:1;position:relative;overflow:hidden}.table-view .table-view-content{background-color:#fff;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.table-view .table-view-sidebar{background-color:#fafafa;border-top:1px solid #ebeef5;flex-shrink:0;width:240px;height:100%;padding:4px 10px 10px 4px;overflow:auto}.table-view .table-view-sidebar .et-tree-wrapper{display:table;overflow:visible}.table-view .table-view-sidebar .et-tree-wrapper .el-tree{background-color:#0000}.table-view .table-view-table{flex:auto;height:100%}.table-view .search-form-top{background-color:#fff;padding:10px 10px 0}.table-view .search-form-top .el-form-item__content{align-items:center;display:flex}.table-view .search-actions{float:right}.table-view .search-actions .el-form-item__content{text-align:right;justify-content:right}.table-view .slide-panel{z-index:5;background-color:#fff;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:0 0 10px 5px #0000001a}.table-view .slide-panel .slide-panel-line{background-color:#ddd;flex-shrink:0;width:3px;height:100%;position:relative}.table-view .slide-panel .slide-panel-line-indicator{background-color:#aaa;width:100%;height:50px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.table-view .slide-panel .slide-panel-actions{justify-content:center;align-items:center;margin-top:10px;display:flex}.table-view .slide-panel .slide-panel-content{flex:1;padding:10px;overflow:auto}.table-view .slide-panel .slide-panel-content .el-date-editor{width:100%}
|
|
1
|
+
.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55, 0, .1, 1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55, 0, .1, 1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out, var(--el-transition-duration) padding-top ease-in-out, var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out, var(--el-transition-duration) padding-top ease-in-out, var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out, var(--el-transition-duration) padding-left ease-in-out, var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55, 0, .1, 1)}.table-view{flex-direction:column;height:100%;padding:10px;display:flex}.table-view.has-tree .table-view-wrapper .pageable-table-wrapper,.table-view.embed{padding:0}.table-view.embed .toolbar{border:1px solid #ebeef5;border-bottom:none}.table-view.embed .table-view-wrapper{box-shadow:none;border-radius:0}.table-view.embed .table-view-wrapper .pageable-table-wrapper{padding:0}.table-view .toolbar{border-bottom:none;height:46px;line-height:46px}.table-view .table-view-wrapper{border-radius:4px;flex-direction:column;height:100%;display:flex;overflow:hidden;box-shadow:0 2px 12px #0000001a}.table-view .table-view-wrapper .pageable-table-wrapper{padding-left:10px;padding-right:10px}.table-view .table-view-wrapper .el-pagination{color:#303133;white-space:nowrap;text-align:left;padding:6px 10px;font-weight:700}.table-view .border-top .el-table--border{border-top:1px solid #ebeef5}.table-view .border-bottom .el-table--border{border-bottom:1px solid #ebeef5}.table-view .border-left .el-table--border,.table-view .border-left .el-pagination{border-left:1px solid #ebeef5}.table-view .border-right .el-table--border{border-right:1px solid #ebeef5}.table-view .node-icon{margin-right:4px}.table-view .table-view-content-wrapper{flex:1;position:relative;overflow:hidden}.table-view .table-view-content{background-color:#fff;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.table-view .table-view-sidebar{background-color:#fafafa;border-top:1px solid #ebeef5;flex-shrink:0;width:240px;height:100%;padding:4px 10px 10px 4px;overflow:auto}.table-view .table-view-sidebar .et-tree-wrapper{display:table;overflow:visible}.table-view .table-view-sidebar .et-tree-wrapper .el-tree{background-color:#0000}.table-view .table-view-table{flex:auto;height:100%}.table-view .search-form-top{background-color:#fff;padding:10px 10px 0}.table-view .search-form-top .el-form-item__content{align-items:center;display:flex}.table-view .search-actions{float:right}.table-view .search-actions .el-form-item__content{text-align:right;justify-content:right}.table-view .slide-panel{z-index:5;background-color:#fff;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:0 0 10px 5px #0000001a}.table-view .slide-panel .slide-panel-line{background-color:#ddd;flex-shrink:0;width:3px;height:100%;position:relative}.table-view .slide-panel .slide-panel-line-indicator{background-color:#aaa;width:100%;height:50px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.table-view .slide-panel .slide-panel-actions{justify-content:center;align-items:center;margin-top:10px;display:flex}.table-view .slide-panel .slide-panel-content{flex:1;padding:10px;overflow:auto}.table-view .slide-panel .slide-panel-content .el-date-editor{width:100%}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
enable: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
count: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
tags: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
transfer: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
default: null;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {
|
|
19
|
+
internalTags(): any[];
|
|
20
|
+
}, {
|
|
21
|
+
getTagName(tag: any): any;
|
|
22
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add" | "close")[], "add" | "close", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
|
+
enable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
count: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
tags: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
default: () => never[];
|
|
34
|
+
};
|
|
35
|
+
transfer: {
|
|
36
|
+
type: FunctionConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
enable: boolean;
|
|
44
|
+
count: boolean;
|
|
45
|
+
tags: unknown[];
|
|
46
|
+
transfer: Function;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
package/tag-render/index.mjs
CHANGED
|
@@ -2,7 +2,10 @@ import "../chunks/CjjJimnU.mjs";
|
|
|
2
2
|
import { n as e } from "../chunks/BBPczt0U.mjs";
|
|
3
3
|
import { t } from "../chunks/49634Q2N2.mjs";
|
|
4
4
|
import { t as n } from "../chunks/CbsGuLZz2.mjs";
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
|
+
import "../chunks/CcnjxILx.mjs";
|
|
7
|
+
import { t as r } from "../chunks/BQ0e8kIi.mjs";
|
|
8
|
+
import "../chunks/CwhXr2Qc.mjs";
|
|
6
9
|
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, openBlock as l, renderList as u, toDisplayString as d, withCtx as f } from "vue";
|
|
7
10
|
import { hasOwn as p } from "@web-utils/core";
|
|
8
11
|
//#region src/components/TagRender.vue
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
content: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
direction: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
rows: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
expandText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
collapseText: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
symbol: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
lineHeight: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {
|
|
31
|
+
ellipsis: {
|
|
32
|
+
leading: string;
|
|
33
|
+
tailing: string;
|
|
34
|
+
};
|
|
35
|
+
maxHeight: number;
|
|
36
|
+
exceeded: boolean;
|
|
37
|
+
expanded: boolean;
|
|
38
|
+
}, {}, {
|
|
39
|
+
/**
|
|
40
|
+
* 创建虚拟 container,内容为 props.content 的内容
|
|
41
|
+
*/
|
|
42
|
+
createContainer(): void;
|
|
43
|
+
/**
|
|
44
|
+
* 展开收起
|
|
45
|
+
* @param type
|
|
46
|
+
*/
|
|
47
|
+
clickHandle(type: any): void;
|
|
48
|
+
/**
|
|
49
|
+
* 文本点击
|
|
50
|
+
*/
|
|
51
|
+
handleClick(): void;
|
|
52
|
+
/**
|
|
53
|
+
* 计算省略号的位置
|
|
54
|
+
* @param container
|
|
55
|
+
*/
|
|
56
|
+
calcEllipse(container: any): void;
|
|
57
|
+
tailorMiddle(leftPart: any, rightPart: any, container: any): any;
|
|
58
|
+
/**
|
|
59
|
+
* 计算 start/end 省略
|
|
60
|
+
* @param left
|
|
61
|
+
* @param right
|
|
62
|
+
* @param container
|
|
63
|
+
* @return {{leading: string}|{tailing: string}|*}
|
|
64
|
+
*/
|
|
65
|
+
tailor(left: any, right: any, container: any): {
|
|
66
|
+
leading: string;
|
|
67
|
+
} | {
|
|
68
|
+
tailing: string;
|
|
69
|
+
} | any;
|
|
70
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
71
|
+
content: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
direction: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
rows: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
expandText: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
collapseText: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
symbol: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
lineHeight: {
|
|
96
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{
|
|
100
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
}>, {
|
|
103
|
+
symbol: string;
|
|
104
|
+
rows: string | number;
|
|
105
|
+
direction: string;
|
|
106
|
+
content: string;
|
|
107
|
+
expandText: string;
|
|
108
|
+
collapseText: string;
|
|
109
|
+
lineHeight: string | number;
|
|
110
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
export default _default;
|
package/text-ellipsis/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BQ0e8kIi.mjs";
|
|
2
2
|
import { createCommentVNode as t, createElementBlock as n, createTextVNode as r, openBlock as i, toDisplayString as a, withModifiers as o } from "vue";
|
|
3
3
|
//#region src/components/TextEllipsis.vue
|
|
4
4
|
var s = (e) => {
|