@web-utils/component 5.0.0-beta03 → 5.0.0-beta04
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/chunks/DialogForm.BzmXN481.mjs +37816 -0
- package/chunks/ElementDialog.BrqPs1yL.mjs +198 -0
- package/chunks/FormTemp.DWB4CV8h.mjs +251 -0
- package/chunks/FyButton.DGd1yE_h.mjs +27 -0
- package/chunks/{FyCurd.DqJuCLNW.mjs → FyCurd.DmIW6Tjw.mjs} +490 -483
- package/chunks/{FyForm.CgyGhetD.mjs → FyForm.Dh77gj0Z.mjs} +149 -149
- package/chunks/{FyUEditor.uvZS8UgS.mjs → FyUEditor.BMGigcYw.mjs} +7 -7
- package/chunks/{FyUpload.DoBEuYcC.mjs → FyUpload.Y_mVdD0K.mjs} +77 -77
- package/chunks/{MonacoEditor.Bq9d6JSz.mjs → MonacoEditor.DQ1vPh6D.mjs} +8 -8
- package/chunks/dataformat.BpAzVPYN.mjs +165 -0
- package/chunks/{dic.NZCGhtA7.mjs → dic.N2PNjL8o.mjs} +1 -1
- package/chunks/{event.CmOTnori.mjs → event.BevSLXu4.mjs} +8 -9
- package/chunks/{util.g-WQEec9.mjs → util.Cdt7t08t.mjs} +35 -50
- package/dialog/index.d.ts +14 -0
- package/dialog/props.d.ts +101 -0
- package/dialog-form/index.mjs +2 -145
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/fy-array/index.mjs +7 -7
- package/fy-button/index.mjs +2 -0
- package/fy-button/style.css +1 -0
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +2 -2
- package/fy-curd/index.mjs +1 -1
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +2 -2
- package/fy-date/style.css +1 -1
- package/fy-dynamic/index.mjs +15 -15
- package/fy-empty/index.mjs +4 -4
- package/fy-form/index.mjs +1 -1
- package/fy-input/index.mjs +3 -3
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-map/index.mjs +36 -34
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +40 -38
- package/fy-input-tree/index.mjs +17 -17
- package/fy-radio/index.mjs +2 -2
- package/fy-rate/index.mjs +2 -2
- package/fy-select/index.mjs +29 -29
- package/fy-slider/index.mjs +5 -5
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +7 -7
- package/fy-title/index.mjs +2 -2
- package/fy-tree/index.mjs +76 -74
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +1 -1
- package/icon-temp/index.mjs +1 -1
- package/index.d.ts +2 -141
- package/index.mjs +31 -178
- package/monaco-editor/index.mjs +1 -1
- package/package.json +4 -4
- package/web-types.json +2431 -20044
- package/address-input/index.mjs +0 -76
- package/address-input/style.css +0 -1
- package/affix/index.mjs +0 -72
- package/affix/style.css +0 -1
- package/aside-menu/index.mjs +0 -20
- package/aside-menu/style.css +0 -1
- package/avatar/index.mjs +0 -94
- package/avatar/style.css +0 -1
- package/awesome-button/index.mjs +0 -49
- package/base.css +0 -1
- package/capsule-tab/index.mjs +0 -27
- package/capsule-tab/style.css +0 -1
- package/card/index.mjs +0 -86
- package/card/style.css +0 -1
- package/carousel/index.mjs +0 -46
- package/carousel/style.css +0 -1
- package/chat/index.mjs +0 -432
- package/chat/style.css +0 -1
- package/chunk-file-uploader/index.mjs +0 -2
- package/chunk-file-uploader/style.css +0 -1
- package/chunks/ChunkFileUploader.C3EA0e5t.mjs +0 -114
- package/chunks/EditableTree.CV8b95tW.mjs +0 -639
- package/chunks/ElementBaseInfo.lW0iwU10.mjs +0 -208
- package/chunks/ElementDialog.DWhAJsUn.mjs +0 -520
- package/chunks/ElementForm.C7yebHWH.mjs +0 -600
- package/chunks/ElementListeners.B_SjC8dp.mjs +0 -635
- package/chunks/ElementMultiInstance.Xw27Z5mm.mjs +0 -289
- package/chunks/ElementOtherConfig.DnNmAhKn.mjs +0 -50
- package/chunks/ElementProperties.DKr9JE_O.mjs +0 -187
- package/chunks/ElementTaskConfig.CPjsXlpS.mjs +0 -442
- package/chunks/FlowCondition.BA7GF34X.mjs +0 -193
- package/chunks/FlowDesigner.DH1ypcUw.mjs +0 -5100
- package/chunks/FormBlock.D6kZl7sm.mjs +0 -117
- package/chunks/FormCascader.BXL8lKww.mjs +0 -1229
- package/chunks/FormInputTime.DzTPiDNh.mjs +0 -1775
- package/chunks/FormItem.B8iPLduv.mjs +0 -89
- package/chunks/FormItemGroup.CCGqEapT.mjs +0 -154
- package/chunks/FormSelect.t0jbTL_K.mjs +0 -1475
- package/chunks/FormSwitch.uoFQ-xp_.mjs +0 -298
- package/chunks/FormTemp.CeHtEZQe.mjs +0 -144
- package/chunks/FyFormDesign.DIIK7mXK.mjs +0 -5521
- package/chunks/ImagePreview.DDFrZgo5.mjs +0 -649
- package/chunks/Keyboard.DBspwbYo.mjs +0 -379
- package/chunks/PageableTable.DR-REJN5.mjs +0 -659
- package/chunks/RecordVideo.CKTY-gk9.mjs +0 -116
- package/chunks/SignalAndMessage.CL2u19it.mjs +0 -189
- package/chunks/SplitPane.DNNid7WB.mjs +0 -219
- package/chunks/TableColumn.Cq9Bvevm.mjs +0 -186
- package/chunks/TableView.DMWMaGLA.mjs +0 -477
- package/chunks/Toolbar.DytZ6fO0.mjs +0 -219
- package/chunks/ToolbarButton.AlTszc53.mjs +0 -107
- package/chunks/UserTaskListeners.Qfm8hKWP.mjs +0 -581
- package/chunks/VueCron.BmPnLuu3.mjs +0 -1787
- package/chunks/VueTreeSelect.GHx4Z2lG.mjs +0 -1877
- package/chunks/button.gVyl7Y__.mjs +0 -927
- package/chunks/checkbox.AmhCpaBZ.mjs +0 -438
- package/chunks/chunk.A6TnG60p.mjs +0 -13
- package/chunks/confirmable-mixin.BZtxXY0h.mjs +0 -273
- package/chunks/constants.Dw7hXt67.mjs +0 -4
- package/chunks/core.Blrh_Fjl.mjs +0 -51
- package/chunks/dataformat.F7GtAoiN.mjs +0 -144
- package/chunks/dictionary.BqVLM7Lf.mjs +0 -87
- package/chunks/dictionary.DXYdZefs.mjs +0 -19
- package/chunks/event.ZRs4J5TN.mjs +0 -4
- package/chunks/focus-trap.CuUc8N2C.mjs +0 -211
- package/chunks/form-input.DdSb45Tz.mjs +0 -34
- package/chunks/form-item.fYYCXvCs.mjs +0 -716
- package/chunks/form-pick.BEC7lrNH.mjs +0 -7
- package/chunks/form-validate.JFOV_f-C.mjs +0 -11
- package/chunks/icon.AJYLfX1m.mjs +0 -26
- package/chunks/icon.niAg1zTC.mjs +0 -251
- package/chunks/init.CtUEiRbU.mjs +0 -115
- package/chunks/input.B_wW4aF-.mjs +0 -548
- package/chunks/install.BJl2MN77.mjs +0 -73
- package/chunks/message-box.wGWcYSSd.mjs +0 -463
- package/chunks/message.DnTACuzV.mjs +0 -401
- package/chunks/overlay.Rhu_rfhx.mjs +0 -122
- package/chunks/photo-swipe.BvBJGc5x.mjs +0 -55
- package/chunks/radio.BMkZBhl5.mjs +0 -274
- package/chunks/scroll.BJIpzi2Q.mjs +0 -28
- package/chunks/scrollbar.CvxOszy3.mjs +0 -345
- package/chunks/slot.CZCo32Cw.mjs +0 -25
- package/chunks/style.CraPDfJA.mjs +0 -325
- package/chunks/sub-table-plus-props.DvS8aKT4.mjs +0 -28
- package/chunks/tab-mixin.C9DSz8xu.mjs +0 -70
- package/chunks/tag.B6yUaGj-.mjs +0 -141
- package/chunks/teleport.87mkIv8m.mjs +0 -22
- package/chunks/tooltip.Dzjs7LZ8.mjs +0 -1926
- package/chunks/typescript.D0a40c7B.mjs +0 -4
- package/chunks/use-aria.B9uqqWAE.mjs +0 -17
- package/chunks/use-composition.BMPJBvYs.mjs +0 -47
- package/chunks/use-deprecated.vx6LTDA_.mjs +0 -12
- package/chunks/use-empty-values.CxYKjLV9.mjs +0 -81
- package/chunks/use-form-item.DMDTkMq9.mjs +0 -48
- package/chunks/use-global-config.Dkt91Ob3.mjs +0 -57
- package/chunks/use-id.CyzdvfQn.mjs +0 -15
- package/chunks/use-locale.CBoQRFjH.mjs +0 -188
- package/chunks/use-size.CoorvF12.mjs +0 -18
- package/chunks/util.fjuzrmWz.mjs +0 -103
- package/chunks/utilSelf.Bv7FtUNb.mjs +0 -46
- package/chunks/utils.C37EhJ-u.mjs +0 -60
- package/chunks/utils.C8RvIGLM.mjs +0 -14
- package/chunks/validator.Drv0r2Nb.mjs +0 -5
- package/chunks/vnode.raM3wMJz.mjs +0 -14
- package/code-mirror-editor/index.mjs +0 -99
- package/code-mirror-editor/style.css +0 -1
- package/comment/index.mjs +0 -62
- package/comment/style.css +0 -1
- package/configComponents.d.ts +0 -29
- package/configComponents.mjs +0 -42
- package/confirm-button/index.mjs +0 -35
- package/confirmable/index.mjs +0 -8
- package/context-menu/index.mjs +0 -196
- package/context-menu/style.css +0 -1
- package/count-up/index.mjs +0 -99
- package/custom-scrollbar/index.mjs +0 -93
- package/data-box/index.mjs +0 -64
- package/data-box/style.css +0 -1
- package/data-card/index.mjs +0 -60
- package/data-card/style.css +0 -1
- package/data-card-text/index.mjs +0 -64
- package/data-card-text/style.css +0 -1
- package/data-display/index.mjs +0 -71
- package/data-display/style.css +0 -1
- package/data-icons/index.mjs +0 -70
- package/data-icons/style.css +0 -1
- package/data-imgtext/index.mjs +0 -67
- package/data-imgtext/style.css +0 -1
- package/data-operatext/index.mjs +0 -51
- package/data-operatext/style.css +0 -1
- package/data-panel/index.mjs +0 -57
- package/data-panel/style.css +0 -1
- package/data-pay/index.mjs +0 -105
- package/data-pay/style.css +0 -1
- package/data-price/index.mjs +0 -48
- package/data-price/style.css +0 -1
- package/data-progress/index.mjs +0 -67
- package/data-progress/style.css +0 -1
- package/data-rotate/index.mjs +0 -61
- package/data-rotate/style.css +0 -1
- package/data-table-picker/index.mjs +0 -116
- package/data-tabs/index.mjs +0 -67
- package/data-tabs/style.css +0 -1
- package/dynamic-table/index.mjs +0 -165
- package/dynamic-table/style.css +0 -1
- package/e-charts/index.mjs +0 -176
- package/e-charts/style.css +0 -1
- package/easy-popup/index.mjs +0 -92
- package/easy-popup/style.css +0 -1
- package/editable-progress/index.mjs +0 -113
- package/editable-progress/style.css +0 -1
- package/editable-tree/index.mjs +0 -2
- package/editable-tree/style.css +0 -1
- package/element-listeners/style.css +0 -1
- package/element-multi-instance/style.css +0 -1
- package/ellipsis/index.mjs +0 -124
- package/ellipsis/style.css +0 -1
- package/empty-view/index.mjs +0 -46
- package/empty-view/style.css +0 -1
- package/error-view/index.mjs +0 -37
- package/error-view/style.css +0 -1
- package/flex-column/index.mjs +0 -35
- package/flex-item/index.mjs +0 -61
- package/flex-row/index.mjs +0 -34
- package/flex-scroller/index.mjs +0 -29
- package/flex-scroller/style.css +0 -1
- package/flow/index.mjs +0 -240
- package/flow/style.css +0 -1
- package/flow-designer/index.mjs +0 -2
- package/flow-designer/style.css +0 -1
- package/flow-node/index.mjs +0 -56
- package/flow-viewer/index.mjs +0 -160
- package/flow-viewer/style.css +0 -1
- package/form-block/index.mjs +0 -2
- package/form-block/style.css +0 -1
- package/form-button/index.mjs +0 -36
- package/form-card/index.mjs +0 -14
- package/form-cascader/index.mjs +0 -2
- package/form-checkbox/index.mjs +0 -90
- package/form-checkbox-group/index.mjs +0 -162
- package/form-checkbox-group/style.css +0 -1
- package/form-date-picker/index.mjs +0 -156
- package/form-holder/index.mjs +0 -134
- package/form-holder/style.css +0 -1
- package/form-input/index.mjs +0 -114
- package/form-input-cron-expression/index.mjs +0 -98
- package/form-input-cron-expression/style.css +0 -1
- package/form-input-email/index.mjs +0 -66
- package/form-input-id-card/index.mjs +0 -74
- package/form-input-phone-number/index.mjs +0 -73
- package/form-input-tag/index.mjs +0 -89
- package/form-input-time/index.mjs +0 -2
- package/form-item/index.mjs +0 -2
- package/form-item/style.css +0 -1
- package/form-item-config-provider/index.mjs +0 -47
- package/form-item-group/index.mjs +0 -2
- package/form-item-group/style.css +0 -1
- package/form-radio-group/index.mjs +0 -162
- package/form-radio-group/style.css +0 -1
- package/form-select/index.mjs +0 -2
- package/form-select/style.css +0 -1
- package/form-switch/index.mjs +0 -2
- package/form-table/index.mjs +0 -132
- package/form-table-plus/index.mjs +0 -165
- package/form-textarea/index.mjs +0 -91
- package/form-tree-select/index.mjs +0 -90
- package/form-tree-select/style.css +0 -1
- package/form-tree-select-multiple/index.mjs +0 -93
- package/form-view/index.mjs +0 -280
- package/form-view/style.css +0 -1
- package/fy-article/index.mjs +0 -73
- package/fy-article/style.css +0 -1
- package/fy-code/index.mjs +0 -48
- package/fy-draggable/index.mjs +0 -323
- package/fy-draggable/style.css +0 -1
- package/fy-form-design/index.mjs +0 -2
- package/fy-form-design/style.css +0 -1
- package/fy-input-icon/index.mjs +0 -134
- package/fy-input-icon/style.css +0 -1
- package/fy-progress/index.mjs +0 -36
- package/guide-steps/index.mjs +0 -73
- package/guide-steps/style.css +0 -1
- package/helper-function.d.ts +0 -5
- package/helper-function.mjs +0 -58
- package/highlight-j-s/index.mjs +0 -51
- package/highlight-j-s/style.css +0 -1
- package/icon-card/index.mjs +0 -34
- package/icon-card/style.css +0 -1
- package/iframe-window/index.mjs +0 -40
- package/iframe-window/style.css +0 -1
- package/image-cropper/index.mjs +0 -152
- package/image-cropper/style.css +0 -1
- package/image-preview/index.mjs +0 -2
- package/image-preview/style.css +0 -1
- package/image-viewer/index.mjs +0 -70
- package/image-viewer/style.css +0 -1
- package/input-number-range/index.mjs +0 -76
- package/input-number-range/style.css +0 -1
- package/j-s-x-component/index.mjs +0 -14
- package/keyboard/index.mjs +0 -2
- package/keyboard/style.css +0 -1
- package/license/index.mjs +0 -106
- package/loading-view/index.mjs +0 -39
- package/loading-view/style.css +0 -1
- package/name-avatar/index.mjs +0 -61
- package/name-avatar/style.css +0 -1
- package/nav-bar/index.mjs +0 -34
- package/nav-bar/style.css +0 -1
- package/not-implement/index.mjs +0 -10
- package/not-implement/style.css +0 -1
- package/notice/index.mjs +0 -97
- package/notice/style.css +0 -1
- package/page/index.mjs +0 -19
- package/page/style.css +0 -1
- package/page-header/index.mjs +0 -27
- package/page-header/style.css +0 -1
- package/page-index/index.mjs +0 -121
- package/page-index/style.css +0 -1
- package/page-index-top/index.mjs +0 -80
- package/page-skeleton/index.mjs +0 -49
- package/page-skeleton/style.css +0 -1
- package/page-skeleton-new/index.mjs +0 -79
- package/page-skeleton-new/style.css +0 -1
- package/pageable-table/index.mjs +0 -2
- package/pageable-table/style.css +0 -1
- package/pageable-view/index.mjs +0 -280
- package/pageable-view/style.css +0 -1
- package/photo-swipe/index.d.ts +0 -8
- package/photo-swipe/index.mjs +0 -33
- package/picker-table-view/index.mjs +0 -221
- package/present-view/index.mjs +0 -271
- package/present-view/style.css +0 -1
- package/queue/index.mjs +0 -46
- package/queue/style.css +0 -1
- package/record-video/index.mjs +0 -2
- package/record-video/style.css +0 -1
- package/resize-observer/index.mjs +0 -45
- package/resize-observer/style.css +0 -1
- package/search/index.mjs +0 -116
- package/search/style.css +0 -1
- package/sign/index.mjs +0 -104
- package/sign/style.css +0 -1
- package/sign-panel/index.mjs +0 -183
- package/sign-panel/style.css +0 -1
- package/skeleton/index.mjs +0 -51
- package/skeleton/style.css +0 -1
- package/skeleton-panel/index.mjs +0 -34
- package/skeleton-panel/style.css +0 -1
- package/split-pane/index.mjs +0 -3
- package/split-pane/style.css +0 -1
- package/stateful/index.mjs +0 -71
- package/stateful/style.css +0 -1
- package/static-pageable-table/index.mjs +0 -69
- package/static-pageable-table/style.css +0 -1
- package/sub-table/index.mjs +0 -505
- package/sub-table/style.css +0 -1
- package/sub-table-plus/index.mjs +0 -590
- package/sub-table-plus/style.css +0 -1
- package/swiper/index.mjs +0 -128
- package/swiper/style.css +0 -1
- package/tab/index.mjs +0 -117
- package/tab/style.css +0 -1
- package/tab-item/index.mjs +0 -49
- package/table-column/index.mjs +0 -2
- package/table-column/style.css +0 -1
- package/table-view/index.mjs +0 -3
- package/table-view/style.css +0 -1
- package/tabs-view/index.mjs +0 -109
- package/tabs-view/style.css +0 -1
- package/tag-render/index.mjs +0 -84
- package/tag-render/style.css +0 -1
- package/text-ellipsis/index.mjs +0 -95
- package/text-ellipsis/style.css +0 -1
- package/toolbar/index.mjs +0 -2
- package/toolbar/style.css +0 -1
- package/toolbar-button/index.mjs +0 -2
- package/verify/index.mjs +0 -58
- package/verify/style.css +0 -1
- package/video/index.d.ts +0 -10
- package/vue-cron/index.mjs +0 -2
- package/vue-cron/style.css +0 -1
- package/vue-qr-code/index.mjs +0 -32
- package/vue-quill-editor/index.mjs +0 -127
- package/vue-quill-editor/style.css +0 -1
- package/vue-tags-input/index.mjs +0 -348
- package/vue-tags-input/style.css +0 -1
- package/vue-tree-select/index.mjs +0 -2
- package/vue-tree-select/style.css +0 -1
- package/vue-video-player/index.mjs +0 -136
- package/vue-video-player/style.css +0 -1
- package/watermark/index.mjs +0 -47
- package/watermark/style.css +0 -1
- package/x-input-tag/index.mjs +0 -142
- package/x-input-tag/style.css +0 -1
- /package/chunks/{_plugin-vue_export-helper.7vrlOII_.mjs → _plugin-vue_export-helper.CTBRVsXt.mjs} +0 -0
- /package/chunks/{packages.CONbEH13.mjs → packages.W76nKiMk.mjs} +0 -0
- /package/chunks/{permission.8WDtOmzA.mjs → permission.ZYdXiCsn.mjs} +0 -0
package/data-pay/index.mjs
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderList as u, resolveComponent as d, toDisplayString as f, withCtx as p } from "vue";
|
|
3
|
-
//#region src/components/data/pay/DataPay.vue
|
|
4
|
-
var m = {
|
|
5
|
-
name: "DataPay",
|
|
6
|
-
props: { option: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default: () => {}
|
|
9
|
-
} },
|
|
10
|
-
computed: {
|
|
11
|
-
animation() {
|
|
12
|
-
return this.option.animation;
|
|
13
|
-
},
|
|
14
|
-
decimals() {
|
|
15
|
-
return this.option.decimals || 0;
|
|
16
|
-
},
|
|
17
|
-
span() {
|
|
18
|
-
return this.option.span || 6;
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return this.option.data || [];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, h = { class: "avue-data-pay" }, g = { class: "item" }, _ = { class: "header" }, v = { class: "title" }, y = ["src"], b = ["href", "onClick"], x = { class: "list" }, S = {
|
|
25
|
-
key: 1,
|
|
26
|
-
class: "list-item-icon list-item--no"
|
|
27
|
-
}, C = ["href"], w = ["innerHTML"];
|
|
28
|
-
function T(e, m, T, E, D, O) {
|
|
29
|
-
let k = d("CountUp"), A = d("ElTooltip"), j = d("ElCol"), M = d("ElRow");
|
|
30
|
-
return l(), i("div", h, [o(M, { span: 24 }, {
|
|
31
|
-
default: p(() => [(l(!0), i(t, null, u(O.data, (e, d) => (l(), n(j, {
|
|
32
|
-
key: d,
|
|
33
|
-
md: O.span,
|
|
34
|
-
xs: 24,
|
|
35
|
-
sm: 12
|
|
36
|
-
}, {
|
|
37
|
-
default: p(() => [a("div", g, [
|
|
38
|
-
a("div", {
|
|
39
|
-
class: "top",
|
|
40
|
-
style: c({ backgroundColor: e.color })
|
|
41
|
-
}, null, 4),
|
|
42
|
-
a("div", _, [
|
|
43
|
-
a("p", v, f(e.title), 1),
|
|
44
|
-
a("img", {
|
|
45
|
-
src: e.src,
|
|
46
|
-
alt: "",
|
|
47
|
-
class: "img"
|
|
48
|
-
}, null, 8, y),
|
|
49
|
-
e.subtitle ? (l(), i("p", {
|
|
50
|
-
key: 0,
|
|
51
|
-
class: "subtitle",
|
|
52
|
-
style: c({ color: e.color })
|
|
53
|
-
}, f(e.subtitle), 5)) : r("v-if", !0),
|
|
54
|
-
e.money || e.dismoney ? (l(), i("p", {
|
|
55
|
-
key: 1,
|
|
56
|
-
class: "money",
|
|
57
|
-
style: c({ color: e.color })
|
|
58
|
-
}, [
|
|
59
|
-
m[0] || (m[0] = a("span", null, "¥", -1)),
|
|
60
|
-
o(k, {
|
|
61
|
-
class: "b",
|
|
62
|
-
decimals: e.decimals || O.decimals,
|
|
63
|
-
animation: e.animation || O.animation,
|
|
64
|
-
end: e.dismoney
|
|
65
|
-
}, null, 8, [
|
|
66
|
-
"decimals",
|
|
67
|
-
"animation",
|
|
68
|
-
"end"
|
|
69
|
-
]),
|
|
70
|
-
a("s", null, f(e.money), 1),
|
|
71
|
-
a("em", null, f(e.tip), 1)
|
|
72
|
-
], 4)) : r("v-if", !0),
|
|
73
|
-
m[1] || (m[1] = a("div", { class: "line" }, null, -1)),
|
|
74
|
-
a("a", {
|
|
75
|
-
class: "btn",
|
|
76
|
-
href: e.href,
|
|
77
|
-
style: c({ backgroundColor: e.color }),
|
|
78
|
-
onClick: (t) => e.click && e.click(e)
|
|
79
|
-
}, f(e.subtext), 13, b)
|
|
80
|
-
]),
|
|
81
|
-
a("div", x, [(l(!0), i(t, null, u(e.list, (t, n) => (l(), i("div", {
|
|
82
|
-
key: n,
|
|
83
|
-
class: "list-item"
|
|
84
|
-
}, [t.check ? (l(), i("i", {
|
|
85
|
-
key: 0,
|
|
86
|
-
class: "list-item-icon list-item--check",
|
|
87
|
-
style: c({ color: e.color })
|
|
88
|
-
}, "√", 4)) : (l(), i("i", S, "x")), a("a", { href: t.href ? t.href : "javascript:void(0);" }, [o(A, {
|
|
89
|
-
effect: "dark",
|
|
90
|
-
disabled: !t.tip,
|
|
91
|
-
placement: "top"
|
|
92
|
-
}, {
|
|
93
|
-
content: p(() => [a("div", { innerHTML: t.tip }, null, 8, w)]),
|
|
94
|
-
default: p(() => [a("span", { class: s({ "list-item--link": t.href }) }, f(t.title), 3)]),
|
|
95
|
-
_: 2
|
|
96
|
-
}, 1032, ["disabled"])], 8, C)]))), 128))])
|
|
97
|
-
])]),
|
|
98
|
-
_: 2
|
|
99
|
-
}, 1032, ["md"]))), 128))]),
|
|
100
|
-
_: 1
|
|
101
|
-
})]);
|
|
102
|
-
}
|
|
103
|
-
var E = /* @__PURE__ */ e(m, [["render", T]]);
|
|
104
|
-
//#endregion
|
|
105
|
-
export { E as default };
|
package/data-pay/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.avue-data-pay{width:100%}.avue-data-pay .item{background-color:#fff;border-radius:4px;width:80%;min-height:670px;margin:0 auto;padding-bottom:16px;position:relative;box-shadow:1px 2px 10px #eee}.avue-data-pay .item a{text-decoration:none}.avue-data-pay .item a:visited{color:inherit}.avue-data-pay .top{border-radius:4px 4px 0 0;width:100%;height:6px;position:absolute;top:0;left:0}.avue-data-pay .header{text-align:center;margin-bottom:40px}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{background:#9696961a;width:60%;height:1px;margin:20px auto}.avue-data-pay .btn{color:#fff;text-align:center;cursor:pointer;border-radius:32px;width:120px;height:32px;margin:0 auto;line-height:32px;transition:opacity .2s ease-in-out;display:block}.avue-data-pay .list-item{color:#666;margin-bottom:12px;padding-left:20px;font-size:14px;list-style:none}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{color:#2d8cf0;font-size:12px}.avue-data-pay .list-item--no,.avue-data-pay .list-item--no+span{color:#c5c8ce}
|
package/data-price/index.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, openBlock as o, renderList as s, resolveComponent as c, toDisplayString as l, withCtx as u } from "vue";
|
|
3
|
-
//#region src/components/data/price/DataPrice.vue
|
|
4
|
-
var d = {
|
|
5
|
-
name: "DataPrice",
|
|
6
|
-
props: { option: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default: () => {}
|
|
9
|
-
} },
|
|
10
|
-
computed: {
|
|
11
|
-
span() {
|
|
12
|
-
return this.option.span || 6;
|
|
13
|
-
},
|
|
14
|
-
data() {
|
|
15
|
-
return this.option.data;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}, f = { class: "data-price" }, p = { class: "item item--active" }, m = [
|
|
19
|
-
"href",
|
|
20
|
-
"target",
|
|
21
|
-
"onClick"
|
|
22
|
-
], h = { class: "title" }, g = { class: "body" }, _ = { class: "price" }, v = { class: "append" }, y = { class: "list" };
|
|
23
|
-
function b(e, d, b, x, S, C) {
|
|
24
|
-
let w = c("ElCol"), T = c("ElRow");
|
|
25
|
-
return o(), r("div", f, [a(T, { span: 24 }, {
|
|
26
|
-
default: u(() => [(o(!0), r(t, null, s(C.data, (e, a) => (o(), n(w, {
|
|
27
|
-
key: a,
|
|
28
|
-
xs: 12,
|
|
29
|
-
sm: 6,
|
|
30
|
-
md: C.span
|
|
31
|
-
}, {
|
|
32
|
-
default: u(() => [i("div", p, [i("a", {
|
|
33
|
-
href: e.href,
|
|
34
|
-
target: e.target,
|
|
35
|
-
onClick: (t) => e.click && e.click(e)
|
|
36
|
-
}, [
|
|
37
|
-
i("div", h, l(e.title), 1),
|
|
38
|
-
i("div", g, [i("span", _, l(e.price), 1), i("span", v, l(e.append), 1)]),
|
|
39
|
-
i("div", y, [(o(!0), r(t, null, s(e.list, (e, t) => (o(), r("p", { key: t }, l(e), 1))), 128))])
|
|
40
|
-
], 8, m)])]),
|
|
41
|
-
_: 2
|
|
42
|
-
}, 1032, ["md"]))), 128))]),
|
|
43
|
-
_: 1
|
|
44
|
-
})]);
|
|
45
|
-
}
|
|
46
|
-
var x = /* @__PURE__ */ e(d, [["render", b]]);
|
|
47
|
-
//#endregion
|
|
48
|
-
export { x as default };
|
package/data-price/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.data-price{width:100%}.data-price .item{text-align:center;border:1px solid #ccc;margin:0 20px;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body:after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{color:#333;height:80px;font-size:18px;line-height:80px}.data-price .item .price{color:#6b6b6b;height:120px;margin:0 0 50px;padding:0 8px;font-size:42px;line-height:120px}.data-price .item .append{font-size:16px}.data-price .item .body{color:#6b6b6b;background-color:#f4f4f4;height:120px;margin:0 0 50px;padding:0;font-size:42px;line-height:120px;position:relative}.data-price .item .body:before{content:"¥";font-size:16px;font-weight:400}.data-price .item .body:after{content:"";border:30px solid #0000;border-top:20px solid #f4f4f4;border-bottom-width:0;width:0;height:0;display:block;position:absolute;bottom:-15px;left:50%;transform:translate(-50%)}.data-price .item .list{color:#666;padding-bottom:30px;font-size:14px}
|
package/data-progress/index.mjs
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, openBlock as o, renderList as s, resolveComponent as c, toDisplayString as l, withCtx as u } from "vue";
|
|
3
|
-
//#region src/components/data/progress/DataProgress.vue
|
|
4
|
-
var d = {
|
|
5
|
-
name: "DataProgress",
|
|
6
|
-
props: { option: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default: () => {}
|
|
9
|
-
} },
|
|
10
|
-
computed: {
|
|
11
|
-
animation() {
|
|
12
|
-
return this.option.animation;
|
|
13
|
-
},
|
|
14
|
-
decimals() {
|
|
15
|
-
return this.option.decimals || 0;
|
|
16
|
-
},
|
|
17
|
-
span() {
|
|
18
|
-
return this.option.span || 8;
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return this.option.data || [];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, f = { class: "data-progress" }, p = { class: "item" }, m = [
|
|
25
|
-
"href",
|
|
26
|
-
"target",
|
|
27
|
-
"onClick"
|
|
28
|
-
], h = { class: "item-header" }, g = ["textContent"];
|
|
29
|
-
function _(e, d, _, v, y, b) {
|
|
30
|
-
let x = c("CountUp"), S = c("ElProgress"), C = c("ElCol"), w = c("ElRow");
|
|
31
|
-
return o(), r("div", f, [a(w, { span: 24 }, {
|
|
32
|
-
default: u(() => [(o(!0), r(t, null, s(b.data, (e, t) => (o(), n(C, {
|
|
33
|
-
key: t,
|
|
34
|
-
md: b.span,
|
|
35
|
-
xs: 24,
|
|
36
|
-
sm: 12
|
|
37
|
-
}, {
|
|
38
|
-
default: u(() => [i("div", p, [i("a", {
|
|
39
|
-
href: e.href,
|
|
40
|
-
target: e.target,
|
|
41
|
-
onClick: (t) => e.click && e.click(e)
|
|
42
|
-
}, [i("div", h, [a(x, {
|
|
43
|
-
class: "item-count",
|
|
44
|
-
animation: e.animation || b.animation,
|
|
45
|
-
decimals: e.decimals || b.decimals,
|
|
46
|
-
end: e.count
|
|
47
|
-
}, null, 8, [
|
|
48
|
-
"animation",
|
|
49
|
-
"decimals",
|
|
50
|
-
"end"
|
|
51
|
-
]), i("div", {
|
|
52
|
-
class: "item-title",
|
|
53
|
-
textContent: l(e.title)
|
|
54
|
-
}, null, 8, g)]), a(S, {
|
|
55
|
-
"stroke-width": 15,
|
|
56
|
-
percentage: e.count,
|
|
57
|
-
color: e.color,
|
|
58
|
-
"show-text": !1
|
|
59
|
-
}, null, 8, ["percentage", "color"])], 8, m)])]),
|
|
60
|
-
_: 2
|
|
61
|
-
}, 1032, ["md"]))), 128))]),
|
|
62
|
-
_: 1
|
|
63
|
-
})]);
|
|
64
|
-
}
|
|
65
|
-
var v = /* @__PURE__ */ e(d, [["render", _]]);
|
|
66
|
-
//#endregion
|
|
67
|
-
export { v as default };
|
package/data-progress/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.data-progress{width:100%}.data-progress .item{margin:10px}.data-progress .item a{text-decoration:none}.data-progress .item a:visited{color:inherit}.data-progress .item-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.data-progress .item-count{color:#666;font-size:26px;line-height:26px}.data-progress .item-title{color:#999;font-size:14px}
|
package/data-rotate/index.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderList as u, resolveComponent as d, toDisplayString as f, withCtx as p } from "vue";
|
|
3
|
-
//#region src/components/data/rotate/DataRotate.vue
|
|
4
|
-
var m = {
|
|
5
|
-
name: "DataRotate",
|
|
6
|
-
props: { option: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default: () => {}
|
|
9
|
-
} },
|
|
10
|
-
computed: {
|
|
11
|
-
animation() {
|
|
12
|
-
return this.option.animation;
|
|
13
|
-
},
|
|
14
|
-
decimals() {
|
|
15
|
-
return this.option.decimals || 0;
|
|
16
|
-
},
|
|
17
|
-
span() {
|
|
18
|
-
return this.option.span || 8;
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return this.option.data || [];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, h = { class: "avue-data-rotate" }, g = { class: "item-box" }, _ = { class: "item-title" }, v = ["href", "onClick"];
|
|
25
|
-
function y(e, m, y, b, x, S) {
|
|
26
|
-
let C = d("CountUp"), w = d("ElCol"), T = d("ElRow");
|
|
27
|
-
return l(), r("div", h, [o(T, { span: 24 }, {
|
|
28
|
-
default: p(() => [(l(!0), r(t, null, u(S.data, (e, t) => (l(), n(w, {
|
|
29
|
-
key: t,
|
|
30
|
-
md: S.span,
|
|
31
|
-
xs: 24,
|
|
32
|
-
sm: 12
|
|
33
|
-
}, {
|
|
34
|
-
default: p(() => [i("div", {
|
|
35
|
-
class: "item",
|
|
36
|
-
style: c({ backgroundColor: e.color })
|
|
37
|
-
}, [i("div", g, [
|
|
38
|
-
o(C, {
|
|
39
|
-
class: "item-count",
|
|
40
|
-
decimals: e.decimals || S.decimals,
|
|
41
|
-
animation: e.animation || S.animation,
|
|
42
|
-
end: e.count
|
|
43
|
-
}, null, 8, [
|
|
44
|
-
"decimals",
|
|
45
|
-
"animation",
|
|
46
|
-
"end"
|
|
47
|
-
]),
|
|
48
|
-
i("span", _, f(e.title), 1),
|
|
49
|
-
i("i", { class: s(["item-icon", e.icon]) }, null, 2)
|
|
50
|
-
]), i("a", {
|
|
51
|
-
href: e.href,
|
|
52
|
-
onClick: (t) => e.click && e.click(e)
|
|
53
|
-
}, [...m[0] || (m[0] = [i("p", { class: "item-more" }, [a("更多"), i("i", { class: "el-icon-arrow-right" })], -1)])], 8, v)], 4)]),
|
|
54
|
-
_: 2
|
|
55
|
-
}, 1032, ["md"]))), 128))]),
|
|
56
|
-
_: 1
|
|
57
|
-
})]);
|
|
58
|
-
}
|
|
59
|
-
var b = /* @__PURE__ */ e(m, [["render", y]]);
|
|
60
|
-
//#endregion
|
|
61
|
-
export { b as default };
|
package/data-rotate/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.avue-data-rotate{width:100%}.avue-data-rotate .item{box-sizing:border-box;color:#fff;border-radius:3px;margin:5px 10px;position:relative}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{white-space:nowrap;margin-bottom:5px;font-size:38px;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{color:#00000026;font-size:65px;transition:all .3s linear;position:absolute;top:20px;right:20px}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{z-index:10;color:#fffc;letter-spacing:2px;text-align:center;background:#0000001a;padding:3px 0;font-size:14px;text-decoration:none;display:block;position:relative}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { r as t } from "../chunks/util.fjuzrmWz.mjs";
|
|
3
|
-
import { createBlock as n, createTextVNode as r, createVNode as i, openBlock as a, renderSlot as o, resolveComponent as s, withCtx as c } from "vue";
|
|
4
|
-
//#region src/components/DataTablePicker.vue
|
|
5
|
-
var l = {
|
|
6
|
-
name: "DataTablePicker",
|
|
7
|
-
props: {
|
|
8
|
-
visible: Boolean,
|
|
9
|
-
api: Function,
|
|
10
|
-
columns: Array,
|
|
11
|
-
title: String,
|
|
12
|
-
width: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "60vw"
|
|
15
|
-
},
|
|
16
|
-
height: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: null
|
|
19
|
-
},
|
|
20
|
-
model: {
|
|
21
|
-
type: Object,
|
|
22
|
-
default: () => {}
|
|
23
|
-
},
|
|
24
|
-
multiple: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !0
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
emits: ["confirm"],
|
|
30
|
-
data() {
|
|
31
|
-
return {
|
|
32
|
-
selectedRows: [],
|
|
33
|
-
currentRow: null
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
methods: {
|
|
37
|
-
filterTableColumnProperties: t,
|
|
38
|
-
selectionChange(e) {
|
|
39
|
-
this.selectedRows = e;
|
|
40
|
-
},
|
|
41
|
-
currentChange(e) {
|
|
42
|
-
this.currentRow = e;
|
|
43
|
-
},
|
|
44
|
-
toggleRowSelection(e) {
|
|
45
|
-
this.$refs.pageableTable.$refs.table.toggleRowSelection(e);
|
|
46
|
-
},
|
|
47
|
-
close() {
|
|
48
|
-
this.$refs.dialog.hide();
|
|
49
|
-
},
|
|
50
|
-
confirm() {
|
|
51
|
-
if (this.multiple) {
|
|
52
|
-
var e;
|
|
53
|
-
(e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) : this.$message.warning("请选择");
|
|
54
|
-
} else this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : this.$message.warning("请选择");
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
function u(e, t, l, u, d, f) {
|
|
59
|
-
let p = s("PageableTable"), m = s("ElButton"), h = s("ElementDialog");
|
|
60
|
-
return a(), n(h, {
|
|
61
|
-
ref: "dialog",
|
|
62
|
-
visible: l.visible,
|
|
63
|
-
title: l.title,
|
|
64
|
-
width: l.width,
|
|
65
|
-
height: l.height,
|
|
66
|
-
embed: "",
|
|
67
|
-
"flex-column": "",
|
|
68
|
-
onClose: f.close
|
|
69
|
-
}, {
|
|
70
|
-
default: c(() => [o(e.$slots, "search-form"), i(p, {
|
|
71
|
-
ref: "pageableTable",
|
|
72
|
-
"highlight-current-row": "",
|
|
73
|
-
"hide-on-single-page": "",
|
|
74
|
-
style: { height: "60vh" },
|
|
75
|
-
model: l.model,
|
|
76
|
-
columns: l.columns,
|
|
77
|
-
api: l.api,
|
|
78
|
-
"row-class-name": "pointer",
|
|
79
|
-
multiple: l.multiple,
|
|
80
|
-
onSelectionChange: f.selectionChange,
|
|
81
|
-
onRowClick: f.toggleRowSelection,
|
|
82
|
-
onCurrentChange: f.currentChange
|
|
83
|
-
}, {
|
|
84
|
-
default: c(() => [o(e.$slots, "default")]),
|
|
85
|
-
_: 3
|
|
86
|
-
}, 8, [
|
|
87
|
-
"model",
|
|
88
|
-
"columns",
|
|
89
|
-
"api",
|
|
90
|
-
"multiple",
|
|
91
|
-
"onSelectionChange",
|
|
92
|
-
"onRowClick",
|
|
93
|
-
"onCurrentChange"
|
|
94
|
-
])]),
|
|
95
|
-
footer: c(() => [i(m, {
|
|
96
|
-
type: "primary",
|
|
97
|
-
onClick: f.confirm
|
|
98
|
-
}, {
|
|
99
|
-
default: c(() => [...t[0] || (t[0] = [r(" 确 定 ", -1)])]),
|
|
100
|
-
_: 1
|
|
101
|
-
}, 8, ["onClick"]), i(m, { onClick: f.close }, {
|
|
102
|
-
default: c(() => [...t[1] || (t[1] = [r(" 关 闭 ", -1)])]),
|
|
103
|
-
_: 1
|
|
104
|
-
}, 8, ["onClick"])]),
|
|
105
|
-
_: 3
|
|
106
|
-
}, 8, [
|
|
107
|
-
"visible",
|
|
108
|
-
"title",
|
|
109
|
-
"width",
|
|
110
|
-
"height",
|
|
111
|
-
"onClose"
|
|
112
|
-
]);
|
|
113
|
-
}
|
|
114
|
-
var d = /* @__PURE__ */ e(l, [["render", u]]);
|
|
115
|
-
//#endregion
|
|
116
|
-
export { d as default };
|
package/data-tabs/index.mjs
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, normalizeStyle as o, openBlock as s, renderList as c, resolveComponent as l, toDisplayString as u, withCtx as d } from "vue";
|
|
3
|
-
//#region src/components/data/tabs/DataTabs.vue
|
|
4
|
-
var f = {
|
|
5
|
-
name: "DataTabs",
|
|
6
|
-
props: { option: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default: () => {}
|
|
9
|
-
} },
|
|
10
|
-
computed: {
|
|
11
|
-
animation() {
|
|
12
|
-
return this.option.animation;
|
|
13
|
-
},
|
|
14
|
-
decimals() {
|
|
15
|
-
return this.option.decimals || 0;
|
|
16
|
-
},
|
|
17
|
-
span() {
|
|
18
|
-
return this.option.span || 8;
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return this.option.data || [];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, p = { class: "avue-data-tabs" }, m = [
|
|
25
|
-
"href",
|
|
26
|
-
"target",
|
|
27
|
-
"onClick"
|
|
28
|
-
], h = { class: "item-header" }, g = { class: "item-body" }, _ = { class: "item-footer" }, v = { class: "item-tip" };
|
|
29
|
-
function y(e, f, y, b, x, S) {
|
|
30
|
-
let C = l("CountUp"), w = l("ElCol"), T = l("ElRow");
|
|
31
|
-
return s(), r("div", p, [a(T, { span: 24 }, {
|
|
32
|
-
default: d(() => [(s(!0), r(t, null, c(S.data, (e, t) => (s(), n(w, {
|
|
33
|
-
key: t,
|
|
34
|
-
md: S.span,
|
|
35
|
-
xs: 24,
|
|
36
|
-
sm: 12
|
|
37
|
-
}, {
|
|
38
|
-
default: d(() => [i("div", {
|
|
39
|
-
class: "item",
|
|
40
|
-
style: o({ background: e.color })
|
|
41
|
-
}, [i("a", {
|
|
42
|
-
href: e.href,
|
|
43
|
-
target: e.target,
|
|
44
|
-
onClick: (t) => e.click && e.click(e)
|
|
45
|
-
}, [
|
|
46
|
-
i("div", h, [i("p", null, u(e.title), 1), i("span", null, u(e.subtitle), 1)]),
|
|
47
|
-
i("div", g, [a(C, {
|
|
48
|
-
class: "h2",
|
|
49
|
-
decimals: e.decimals || S.decimals,
|
|
50
|
-
animation: e.animation || S.animation,
|
|
51
|
-
end: e.count
|
|
52
|
-
}, null, 8, [
|
|
53
|
-
"decimals",
|
|
54
|
-
"animation",
|
|
55
|
-
"end"
|
|
56
|
-
])]),
|
|
57
|
-
i("div", _, [i("span", null, u(e.allcount), 1), i("p", null, u(e.text), 1)]),
|
|
58
|
-
i("p", v, u(e.key), 1)
|
|
59
|
-
], 8, m)], 4)]),
|
|
60
|
-
_: 2
|
|
61
|
-
}, 1032, ["md"]))), 128))]),
|
|
62
|
-
_: 1
|
|
63
|
-
})]);
|
|
64
|
-
}
|
|
65
|
-
var b = /* @__PURE__ */ e(f, [["render", y]]);
|
|
66
|
-
//#endregion
|
|
67
|
-
export { b as default };
|
package/data-tabs/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.avue-data-tabs{width:100%}.avue-data-tabs .item{box-sizing:border-box;color:#fff;border-radius:4px;height:160px;margin:15px;padding:12px;position:relative;overflow:hidden}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{background:#ffffff4d;border-radius:4px;padding:2px 8px;font-size:12px;position:absolute;top:0;right:0}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;font-weight:700;line-height:60px}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{opacity:.1;border:2px solid #fff;border-radius:100%;justify-content:center;align-items:center;width:80px;height:80px;font-size:48px;display:flex;position:absolute;bottom:10px;right:10px;transform:rotate(-40deg)}
|
package/dynamic-table/index.mjs
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, normalizeStyle as c, openBlock as l, renderList as u, resolveComponent as d, withCtx as f, withModifiers as p } from "vue";
|
|
3
|
-
import { fastClone as m, validateIdCard as h, validateNumber as g, validatePhoneNum as _ } from "@web-utils/core";
|
|
4
|
-
//#region src/components/dynamic-table/DynamicTable.vue
|
|
5
|
-
var v = {
|
|
6
|
-
number: "fa fa-superscript",
|
|
7
|
-
email: "el-icon-lx-mail",
|
|
8
|
-
phone: "fa fa-phone",
|
|
9
|
-
idCard: "el-icon-lx-news"
|
|
10
|
-
}, y = {
|
|
11
|
-
name: "DynamicTable",
|
|
12
|
-
inject: {
|
|
13
|
-
elForm: { default: "" },
|
|
14
|
-
elFormItem: { default: "" }
|
|
15
|
-
},
|
|
16
|
-
props: {
|
|
17
|
-
prop: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "rows"
|
|
20
|
-
},
|
|
21
|
-
value: {
|
|
22
|
-
type: Array,
|
|
23
|
-
default: () => []
|
|
24
|
-
},
|
|
25
|
-
columns: {
|
|
26
|
-
type: Array,
|
|
27
|
-
default: () => []
|
|
28
|
-
},
|
|
29
|
-
disabled: Boolean
|
|
30
|
-
},
|
|
31
|
-
data() {
|
|
32
|
-
return { key: 1 };
|
|
33
|
-
},
|
|
34
|
-
computed: { inputDisabled() {
|
|
35
|
-
return this.disabled || (this.elForm || {}).disabled;
|
|
36
|
-
} },
|
|
37
|
-
watch: {
|
|
38
|
-
value: {
|
|
39
|
-
deep: !0,
|
|
40
|
-
handler(e) {
|
|
41
|
-
this.$emit("input", e);
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
columns: {
|
|
45
|
-
deep: !0,
|
|
46
|
-
handler() {
|
|
47
|
-
this.key++;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
methods: {
|
|
52
|
-
getIcon(e) {
|
|
53
|
-
return v[e.type] ? v[e.type] : "";
|
|
54
|
-
},
|
|
55
|
-
addRow() {
|
|
56
|
-
let e = this.value;
|
|
57
|
-
e.push(this.newRow()), this.$emit("input", e);
|
|
58
|
-
},
|
|
59
|
-
removeRow(e, t) {
|
|
60
|
-
let n = this.value;
|
|
61
|
-
n.splice(t, 1), this.$emit("input", n);
|
|
62
|
-
},
|
|
63
|
-
newRow() {
|
|
64
|
-
let e = {};
|
|
65
|
-
return this.columns.forEach((t) => {
|
|
66
|
-
e[t.prop] = void 0;
|
|
67
|
-
}), e;
|
|
68
|
-
},
|
|
69
|
-
getRules(e) {
|
|
70
|
-
let t = e.rules;
|
|
71
|
-
if ([
|
|
72
|
-
"email",
|
|
73
|
-
"idCard",
|
|
74
|
-
"phone",
|
|
75
|
-
"number"
|
|
76
|
-
].includes(e.type)) {
|
|
77
|
-
let n = m(t || []);
|
|
78
|
-
return e.type === "number" && n.push({
|
|
79
|
-
validator: g,
|
|
80
|
-
message: "请输入数字!"
|
|
81
|
-
}), e.type === "email" && n.push({
|
|
82
|
-
type: "email",
|
|
83
|
-
message: "请输入正确的邮箱地址!"
|
|
84
|
-
}), e.type === "idCard" && n.push({
|
|
85
|
-
validator: h,
|
|
86
|
-
message: "请输入正确的身份证号码!"
|
|
87
|
-
}), e.type === "phone" && n.push({
|
|
88
|
-
validator: _,
|
|
89
|
-
message: "请输入正确的手机号码!"
|
|
90
|
-
}), n;
|
|
91
|
-
} else return t;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}, b = { class: "dynamic-table" }, x = ["onClick"];
|
|
95
|
-
function S(e, m, h, g, _, v) {
|
|
96
|
-
let y = d("ElInput"), S = d("ElFormItem"), C = d("TableColumn"), w = d("ElTable"), T = d("ElButton");
|
|
97
|
-
return l(), i("div", b, [(l(), n(w, {
|
|
98
|
-
key: _.key,
|
|
99
|
-
data: h.value,
|
|
100
|
-
style: { width: "100%" }
|
|
101
|
-
}, {
|
|
102
|
-
default: f(() => [(l(!0), i(t, null, u(h.columns, (e) => (l(), n(C, {
|
|
103
|
-
key: e.prop,
|
|
104
|
-
prop: e.prop,
|
|
105
|
-
label: e.label,
|
|
106
|
-
"min-width": "150"
|
|
107
|
-
}, {
|
|
108
|
-
default: f(({ row: t, $index: n }) => [s(S, {
|
|
109
|
-
prop: `${h.prop}.${n}.${e.prop}`,
|
|
110
|
-
rules: v.getRules(e),
|
|
111
|
-
style: c({ marginBottom: v.inputDisabled ? "0px" : "16px" })
|
|
112
|
-
}, {
|
|
113
|
-
default: f(() => [s(y, {
|
|
114
|
-
modelValue: t[e.prop],
|
|
115
|
-
"onUpdate:modelValue": (n) => t[e.prop] = n,
|
|
116
|
-
"prefix-icon": v.getIcon(e),
|
|
117
|
-
disabled: v.inputDisabled,
|
|
118
|
-
placeholder: v.inputDisabled ? "" : `请输入${e.label}!`
|
|
119
|
-
}, null, 8, [
|
|
120
|
-
"modelValue",
|
|
121
|
-
"onUpdate:modelValue",
|
|
122
|
-
"prefix-icon",
|
|
123
|
-
"disabled",
|
|
124
|
-
"placeholder"
|
|
125
|
-
])]),
|
|
126
|
-
_: 2
|
|
127
|
-
}, 1032, [
|
|
128
|
-
"prop",
|
|
129
|
-
"rules",
|
|
130
|
-
"style"
|
|
131
|
-
])]),
|
|
132
|
-
_: 2
|
|
133
|
-
}, 1032, ["prop", "label"]))), 128)), v.inputDisabled ? r("v-if", !0) : (l(), n(C, {
|
|
134
|
-
key: 0,
|
|
135
|
-
label: "操作",
|
|
136
|
-
width: "60",
|
|
137
|
-
fixed: "right"
|
|
138
|
-
}, {
|
|
139
|
-
default: f(({ row: e, column: t, $index: n }) => [a("i", {
|
|
140
|
-
class: "el-icon-minus dynamic-table-action-icon",
|
|
141
|
-
style: {
|
|
142
|
-
position: "relative",
|
|
143
|
-
top: "-8px",
|
|
144
|
-
color: "#f00"
|
|
145
|
-
},
|
|
146
|
-
title: "删除",
|
|
147
|
-
onClick: p((r) => v.removeRow(e, n, t), ["stop"])
|
|
148
|
-
}, null, 8, x)]),
|
|
149
|
-
_: 1
|
|
150
|
-
}))]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["data"])), v.inputDisabled ? r("v-if", !0) : (l(), n(T, {
|
|
153
|
-
key: 0,
|
|
154
|
-
text: "",
|
|
155
|
-
icon: "el-icon-plus",
|
|
156
|
-
style: { color: "#08c108" },
|
|
157
|
-
onClick: v.addRow
|
|
158
|
-
}, {
|
|
159
|
-
default: f(() => [...m[0] || (m[0] = [o(" 添加 ", -1)])]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 8, ["onClick"]))]);
|
|
162
|
-
}
|
|
163
|
-
var C = /* @__PURE__ */ e(y, [["render", S]]);
|
|
164
|
-
//#endregion
|
|
165
|
-
export { C as default };
|
package/dynamic-table/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.dynamic-table{flex-direction:column;align-items:center;width:100%;display:flex}.dynamic-table .dynamic-table-action-icon{cursor:pointer;margin-left:10px;font-weight:700}.dynamic-table .el-form-item{margin-bottom:0}.dynamic-table .el-table{flex:auto}.dynamic-table .el-table td{padding:2px 0}.dynamic-table .el-input.is-disabled .el-input__inner{background-color:#0000;border:none}
|