@web-utils/component 2.7.30 → 2.7.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{config.7dec2bf2.js → config.75161c38.mjs} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.mjs +137 -0
- package/dist/chunks/dataformat.3388d88a.mjs +237 -0
- package/dist/chunks/detail.37726835.mjs +55 -0
- package/dist/chunks/dic.09a81bc8.mjs +215 -0
- package/dist/chunks/{event.fc358074.js → event.6fc3df3a.mjs} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.e7f93f4c.mjs} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a2ed6693.mjs} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.mjs} +1 -1
- package/dist/chunks/{init.e0133910.js → init.3407e589.mjs} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.mjs} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.mjs} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.mjs} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.mjs} +6 -1
- package/dist/chunks/slot.55598d0f.mjs +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.mjs} +29 -11
- package/dist/chunks/util.b0d0b0ad.mjs +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.mjs} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.mjs} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.mjs +59 -0
- package/dist/components/address-input/{index.js → index.mjs} +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.mjs +152 -0
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/{index.js → index.mjs} +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/{index.js → index.mjs} +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/{index.js → index.mjs} +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/{index.js → index.mjs} +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/{index.js → index.mjs} +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/{index.js → index.mjs} +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/{index.js → index.mjs} +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.mjs +153 -0
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/{index.js → index.mjs} +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.mjs +101 -0
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/{index.js → index.mjs} +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/{index.js → index.mjs} +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/{index.js → index.mjs} +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/{index.js → index.mjs} +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/{index.js → index.mjs} +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/{index.js → index.mjs} +62 -39
- package/dist/components/column/{index.js → index.mjs} +54 -29
- package/dist/components/column-default/{index.js → index.mjs} +47 -33
- package/dist/components/column-dynamic/{index.js → index.mjs} +26 -19
- package/dist/components/column-menu/{index.js → index.mjs} +98 -86
- package/dist/components/column-slot/{index.js → index.mjs} +135 -75
- package/dist/components/comment/{index.js → index.mjs} +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/{index.js → index.mjs} +7 -5
- package/dist/components/confirmable/{index.js → index.mjs} +5 -4
- package/dist/components/context-menu/{index.js → index.mjs} +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.mjs +148 -0
- package/dist/components/custom-scrollbar/{index.js → index.mjs} +45 -21
- package/dist/components/data-box/{index.js → index.mjs} +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/{index.js → index.mjs} +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/{index.js → index.mjs} +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/{index.js → index.mjs} +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/{index.js → index.mjs} +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/{index.js → index.mjs} +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/{index.js → index.mjs} +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/{index.js → index.mjs} +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/{index.js → index.mjs} +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/{index.js → index.mjs} +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/{index.js → index.mjs} +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/{index.js → index.mjs} +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/{index.js → index.mjs} +47 -28
- package/dist/components/data-tabs/{index.js → index.mjs} +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/{index.js → index.mjs} +46 -33
- package/dist/components/dialog-excel/{index.js → index.mjs} +102 -53
- package/dist/components/dialog-filter/{index.js → index.mjs} +64 -51
- package/dist/components/dialog-form/{index.js → index.mjs} +54 -34
- package/dist/components/dialog-form/style.css +10 -0
- package/dist/components/dynamic-table/{index.js → index.mjs} +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/{index.js → index.mjs} +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/{index.js → index.mjs} +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/{index.js → index.mjs} +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/{index.js → index.mjs} +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/{index.js → index.mjs} +25 -12
- package/dist/components/egd-collapse-item/{index.js → index.mjs} +41 -25
- package/dist/components/element-dialog/{index.js → index.mjs} +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/{index.js → index.mjs} +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/{index.js → index.mjs} +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.mjs +84 -0
- package/dist/components/flex-item/index.mjs +116 -0
- package/dist/components/flex-row/index.mjs +84 -0
- package/dist/components/flex-scroller/{index.js → index.mjs} +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/{index.js → index.mjs} +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/{index.js → index.mjs} +29 -21
- package/dist/components/flow-viewer/index.mjs +207 -0
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/{index.js → index.mjs} +12 -8
- package/dist/components/form-cascader/{index.js → index.mjs} +55 -40
- package/dist/components/form-checkbox-group/{index.js → index.mjs} +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/{index.js → index.mjs} +113 -44
- package/dist/components/form-group/{index.js → index.mjs} +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/{index.js → index.mjs} +41 -30
- package/dist/components/form-input/{index.js → index.mjs} +42 -31
- package/dist/components/form-input-email/{index.js → index.mjs} +47 -30
- package/dist/components/form-input-id-card/{index.js → index.mjs} +40 -29
- package/dist/components/form-input-number/{index.js → index.mjs} +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/{index.js → index.mjs} +40 -29
- package/dist/components/form-input-time/{index.js → index.mjs} +40 -29
- package/dist/components/form-item/index.mjs +199 -0
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/{index.js → index.mjs} +9 -8
- package/dist/components/form-item-group/{index.js → index.mjs} +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/{index.js → index.mjs} +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/{index.js → index.mjs} +71 -51
- package/dist/components/form-switch/{index.js → index.mjs} +41 -30
- package/dist/components/form-temp/{index.js → index.mjs} +49 -29
- package/dist/components/form-textarea/{index.js → index.mjs} +45 -34
- package/dist/components/form-view/{index.js → index.mjs} +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/{index.js → index.mjs} +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/{index.js → index.mjs} +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/{index.js → index.mjs} +39 -29
- package/dist/components/fy-checkbox/{index.js → index.mjs} +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/{index.js → index.mjs} +19 -12
- package/dist/components/fy-curd/{index.js → index.mjs} +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/{index.js → index.mjs} +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/{index.js → index.mjs} +127 -54
- package/dist/components/fy-draggable/{index.js → index.mjs} +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/{index.js → index.mjs} +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/{index.js → index.mjs} +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/{index.js → index.mjs} +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/{index.js → index.mjs} +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/{index.js → index.mjs} +43 -35
- package/dist/components/fy-input/{index.js → index.mjs} +46 -35
- package/dist/components/fy-input-color/{index.js → index.mjs} +40 -33
- package/dist/components/fy-input-icon/{index.js → index.mjs} +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/{index.js → index.mjs} +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/{index.js → index.mjs} +29 -24
- package/dist/components/fy-input-table/{index.js → index.mjs} +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/{index.js → index.mjs} +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/{index.js → index.mjs} +15 -10
- package/dist/components/fy-radio/{index.js → index.mjs} +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/{index.js → index.mjs} +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/{index.js → index.mjs} +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/{index.js → index.mjs} +22 -17
- package/dist/components/fy-switch/{index.js → index.mjs} +17 -12
- package/dist/components/fy-tabs/{index.js → index.mjs} +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/{index.js → index.mjs} +29 -18
- package/dist/components/fy-title/{index.js → index.mjs} +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/{index.js → index.mjs} +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/{index.js → index.mjs} +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/{index.js → index.mjs} +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/{index.js → index.mjs} +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/{index.js → index.mjs} +86 -66
- package/dist/components/header-search/{index.js → index.mjs} +92 -60
- package/dist/components/highlight-j-s/{index.js → index.mjs} +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/{index.js → index.mjs} +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/{index.js → index.mjs} +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/{index.js → index.mjs} +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/{index.js → index.mjs} +69 -51
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/{index.js → index.mjs} +77 -46
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/{index.js → index.mjs} +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/{index.js → index.mjs} +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/{index.js → index.mjs} +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/j-s-x-component/{index.js → index.mjs} +0 -0
- package/dist/components/keep-view-alive/{index.js → index.mjs} +68 -21
- package/dist/components/keyboard/index.mjs +469 -0
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.mjs +180 -0
- package/dist/components/loading-view/{index.js → index.mjs} +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/{index.js → index.mjs} +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/{index.js → index.mjs} +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/{index.js → index.mjs} +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/{index.js → index.mjs} +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/{index.js → index.mjs} +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/{index.js → index.mjs} +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/{index.js → index.mjs} +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/{index.js → index.mjs} +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/{index.js → index.mjs} +53 -34
- package/dist/components/page-skeleton/{index.js → index.mjs} +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/{index.js → index.mjs} +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/{index.js → index.mjs} +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/{index.js → index.mjs} +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.mjs +175 -0
- package/dist/components/process-designer/{index.js → index.mjs} +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/{index.js → index.mjs} +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/{index.js → index.mjs} +24 -12
- package/dist/components/record-video/{index.js → index.mjs} +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.mjs +96 -0
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/{index.js → index.mjs} +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/{index.js → index.mjs} +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.mjs +236 -0
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/{index.js → index.mjs} +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/{index.js → index.mjs} +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/{index.js → index.mjs} +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/{index.js → index.mjs} +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/{index.js → index.mjs} +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.mjs +247 -0
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/{index.js → index.mjs} +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/{index.js → index.mjs} +14 -9
- package/dist/components/table-column/{index.js → index.mjs} +26 -17
- package/dist/components/table-page/{index.js → index.mjs} +42 -23
- package/dist/components/table-view/{index.js → index.mjs} +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/{index.js → index.mjs} +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/{index.js → index.mjs} +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/{index.js → index.mjs} +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/{index.js → index.mjs} +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/{index.js → index.mjs} +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/{index.js → index.mjs} +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/{index.js → index.mjs} +15 -8
- package/dist/components/verify/{index.js → index.mjs} +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/{index.js → index.mjs} +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/{index.js → index.mjs} +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/{index.es.js → index.mjs} +15944 -9317
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
- package/dist/components/affix/index.js +0 -102
- package/dist/components/chunk-file-uploader/index.js +0 -119
- package/dist/components/chunk-file-uploader-drop/index.js +0 -83
- package/dist/components/count-up/index.js +0 -131
- package/dist/components/flex-column/index.js +0 -62
- package/dist/components/flex-item/index.js +0 -81
- package/dist/components/flex-row/index.js +0 -62
- package/dist/components/flow-viewer/index.js +0 -162
- package/dist/components/form-item/index.js +0 -147
- package/dist/components/fy-dialog-form/style.css +0 -1
- package/dist/components/keyboard/index.js +0 -384
- package/dist/components/license/index.js +0 -134
- package/dist/components/photo-swipe/index.js +0 -129
- package/dist/components/resize-observer/index.js +0 -62
- package/dist/components/sign/index.js +0 -133
- package/dist/components/swiper/index.js +0 -178
|
@@ -1,24 +1,30 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) =>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
var __async = (__this, __arguments, generator) => {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
var fulfilled = (value) => {
|
|
4
|
+
try {
|
|
5
|
+
step(generator.next(value));
|
|
6
|
+
} catch (e) {
|
|
7
|
+
reject(e);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var rejected = (value) => {
|
|
11
|
+
try {
|
|
12
|
+
step(generator.throw(value));
|
|
13
|
+
} catch (e) {
|
|
14
|
+
reject(e);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
17
21
|
import { hasOwn, toStringArray, animate, isInContainer } from "@web-utils/core";
|
|
18
22
|
import { merge } from "@web-utils/integrations/lodash";
|
|
19
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
23
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
20
24
|
var render = function() {
|
|
21
|
-
var _vm = this
|
|
25
|
+
var _vm = this;
|
|
26
|
+
var _h = _vm.$createElement;
|
|
27
|
+
var _c = _vm._self._c || _h;
|
|
22
28
|
return _c("div", {
|
|
23
29
|
class: ["form-view", _vm.className]
|
|
24
30
|
}, [_vm.showToolbar ? _c("div", {
|
|
@@ -32,14 +38,14 @@ var render = function() {
|
|
|
32
38
|
}, [_vm._t("form-view-toolbar", function() {
|
|
33
39
|
return [_c("Toolbar", _vm._g(_vm._b({
|
|
34
40
|
on: {
|
|
35
|
-
edit: _vm.onEdit
|
|
41
|
+
"edit": _vm.onEdit
|
|
36
42
|
},
|
|
37
43
|
scopedSlots: _vm._u([{
|
|
38
44
|
key: "default",
|
|
39
45
|
fn: function(_ref) {
|
|
40
46
|
var buttons = _ref.buttons;
|
|
41
47
|
return [_vm._t("toolbar-button", null, {
|
|
42
|
-
buttons
|
|
48
|
+
"buttons": buttons
|
|
43
49
|
})];
|
|
44
50
|
}
|
|
45
51
|
}, _vm._l(_vm.getToolbarSlotKeys(), function(item) {
|
|
@@ -48,18 +54,18 @@ var render = function() {
|
|
|
48
54
|
fn: function() {
|
|
49
55
|
return [_vm._t(item)];
|
|
50
56
|
},
|
|
51
|
-
proxy:
|
|
57
|
+
proxy: true
|
|
52
58
|
};
|
|
53
59
|
}), {
|
|
54
60
|
key: "toolbar-right",
|
|
55
61
|
fn: function() {
|
|
56
62
|
return [_vm._t("toolbar-right")];
|
|
57
63
|
},
|
|
58
|
-
proxy:
|
|
59
|
-
}], null,
|
|
64
|
+
proxy: true
|
|
65
|
+
}], null, true)
|
|
60
66
|
}, "Toolbar", Object.assign({}, _vm.toolbarProps, {
|
|
61
67
|
buttons: _vm.toolbarButtons
|
|
62
|
-
}),
|
|
68
|
+
}), false), _vm.toolbarListeners))];
|
|
63
69
|
})], 2) : _vm._e(), _c("div", {
|
|
64
70
|
directives: [{
|
|
65
71
|
name: "show",
|
|
@@ -72,7 +78,7 @@ var render = function() {
|
|
|
72
78
|
ref: "formScroller",
|
|
73
79
|
class: ["form-scroller", "absolute-box", _vm.contentClass],
|
|
74
80
|
on: {
|
|
75
|
-
scroll: _vm.onFormScroll
|
|
81
|
+
"scroll": _vm.onFormScroll
|
|
76
82
|
}
|
|
77
83
|
}, [_vm.notForm ? _c("div", {
|
|
78
84
|
staticClass: "not-form",
|
|
@@ -89,15 +95,15 @@ var render = function() {
|
|
|
89
95
|
})];
|
|
90
96
|
}), _vm.footerBarButtons.length ? _c("Toolbar", _vm._g(_vm._b({
|
|
91
97
|
attrs: {
|
|
92
|
-
footer: ""
|
|
98
|
+
"footer": ""
|
|
93
99
|
},
|
|
94
100
|
scopedSlots: _vm._u([{
|
|
95
101
|
key: "default",
|
|
96
102
|
fn: function(_ref2) {
|
|
97
103
|
var buttons = _ref2.buttons, footer = _ref2.footer;
|
|
98
104
|
return [_vm._t("footer-button", null, {
|
|
99
|
-
buttons,
|
|
100
|
-
footer
|
|
105
|
+
"buttons": buttons,
|
|
106
|
+
"footer": footer
|
|
101
107
|
})];
|
|
102
108
|
}
|
|
103
109
|
}, _vm._l(_vm.getFooterSlotKeys(), function(item) {
|
|
@@ -106,12 +112,12 @@ var render = function() {
|
|
|
106
112
|
fn: function() {
|
|
107
113
|
return [_vm._t(item)];
|
|
108
114
|
},
|
|
109
|
-
proxy:
|
|
115
|
+
proxy: true
|
|
110
116
|
};
|
|
111
|
-
})], null,
|
|
117
|
+
})], null, true)
|
|
112
118
|
}, "Toolbar", Object.assign({}, _vm.toolbarProps, {
|
|
113
119
|
buttons: _vm.footerBarButtons
|
|
114
|
-
}),
|
|
120
|
+
}), false), _vm.toolbarListeners)) : _vm._e(), _vm.$scopedSlots["form-bottom"] ? _vm._t("form-bottom") : _vm._e()], 2) : _c("div", {
|
|
115
121
|
class: ["form-card", {
|
|
116
122
|
"un-limit": _vm.unLimit
|
|
117
123
|
}],
|
|
@@ -130,15 +136,15 @@ var render = function() {
|
|
|
130
136
|
})];
|
|
131
137
|
}), _vm.footerBarButtons.length ? _c("Toolbar", _vm._g(_vm._b({
|
|
132
138
|
attrs: {
|
|
133
|
-
footer: ""
|
|
139
|
+
"footer": ""
|
|
134
140
|
},
|
|
135
141
|
scopedSlots: _vm._u([{
|
|
136
142
|
key: "default",
|
|
137
143
|
fn: function(_ref3) {
|
|
138
144
|
var buttons = _ref3.buttons, footer = _ref3.footer;
|
|
139
145
|
return [_vm._t("footer-button", null, {
|
|
140
|
-
buttons,
|
|
141
|
-
footer
|
|
146
|
+
"buttons": buttons,
|
|
147
|
+
"footer": footer
|
|
142
148
|
})];
|
|
143
149
|
}
|
|
144
150
|
}, _vm._l(_vm.getFooterSlotKeys(), function(item) {
|
|
@@ -147,12 +153,12 @@ var render = function() {
|
|
|
147
153
|
fn: function() {
|
|
148
154
|
return [_vm._t(item)];
|
|
149
155
|
},
|
|
150
|
-
proxy:
|
|
156
|
+
proxy: true
|
|
151
157
|
};
|
|
152
|
-
})], null,
|
|
158
|
+
})], null, true)
|
|
153
159
|
}, "Toolbar", Object.assign({}, _vm.toolbarProps, {
|
|
154
160
|
buttons: _vm.footerBarButtons
|
|
155
|
-
}),
|
|
161
|
+
}), false), _vm.toolbarListeners)) : _vm._e()], 2)]), _vm.$scopedSlots["form-bottom"] || _vm.$parent.$options.flowForm && _vm.flowContext.logs.length ? _c("div", {
|
|
156
162
|
class: ["form-card", {
|
|
157
163
|
"un-limit": _vm.unLimit
|
|
158
164
|
}],
|
|
@@ -171,13 +177,13 @@ var render = function() {
|
|
|
171
177
|
}, [_c("FlowLog", {
|
|
172
178
|
staticClass: "flow-log",
|
|
173
179
|
attrs: {
|
|
174
|
-
fetch:
|
|
175
|
-
"show-title":
|
|
180
|
+
"fetch": false,
|
|
181
|
+
"show-title": false,
|
|
176
182
|
"business-key": _vm.$parent.bizKey
|
|
177
183
|
}
|
|
178
184
|
})], 1) : _vm._e(), _vm._t("form-bottom")], 2)]) : _vm._e()]), _c("ResizeObserver", {
|
|
179
185
|
on: {
|
|
180
|
-
notify: _vm.onFormResize
|
|
186
|
+
"notify": _vm.onFormResize
|
|
181
187
|
}
|
|
182
188
|
})], 1), _vm.formNav && !_vm.isFormLoading && _vm.showNav && _vm.groups.length ? _c("div", {
|
|
183
189
|
staticClass: "form-nav"
|
|
@@ -192,7 +198,7 @@ var render = function() {
|
|
|
192
198
|
active: _vm.activeIndex === index
|
|
193
199
|
}],
|
|
194
200
|
on: {
|
|
195
|
-
click: function($event) {
|
|
201
|
+
"click": function($event) {
|
|
196
202
|
return _vm.navItemClick(item, index);
|
|
197
203
|
}
|
|
198
204
|
}
|
|
@@ -203,15 +209,24 @@ var render = function() {
|
|
|
203
209
|
"font-size": "16px"
|
|
204
210
|
}
|
|
205
211
|
}) : _vm._e()], 1);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
212
|
+
};
|
|
213
|
+
var staticRenderFns = [];
|
|
214
|
+
const FormView_vue_vue_type_style_index_0_lang = "";
|
|
215
|
+
const builtInButtons = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "agree", "disagree", "reject", "finish", "cancel", "enable", "exp", "imp", "del", "disabled", "reload", "slot"];
|
|
216
|
+
const footerButtons = builtInButtons.map((value) => `${value}-down`);
|
|
217
|
+
const topButtons = ["back", "withdraw", "edit"];
|
|
218
|
+
const bottomButtons = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"];
|
|
219
|
+
const findParent = (el, selector) => {
|
|
220
|
+
if (el.classList.contains(selector)) {
|
|
209
221
|
return el;
|
|
222
|
+
}
|
|
210
223
|
let parent = el.parentNode;
|
|
211
|
-
|
|
224
|
+
while (parent && !parent.classList.contains(selector)) {
|
|
212
225
|
parent = parent.parentNode;
|
|
226
|
+
}
|
|
213
227
|
return parent.classList.contains(selector) ? parent : null;
|
|
214
|
-
}
|
|
228
|
+
};
|
|
229
|
+
const __vue2_script = {
|
|
215
230
|
name: "FormView",
|
|
216
231
|
inject: {
|
|
217
232
|
flowContext: {
|
|
@@ -245,60 +260,90 @@ const builtInButtons = ["back", "create", "save", "withdraw", "edit", "submit",
|
|
|
245
260
|
},
|
|
246
261
|
showToolbar: {
|
|
247
262
|
type: Boolean,
|
|
248
|
-
default:
|
|
263
|
+
default: true
|
|
249
264
|
},
|
|
250
265
|
formNav: {
|
|
251
266
|
type: Boolean,
|
|
252
|
-
default:
|
|
267
|
+
default: true
|
|
253
268
|
}
|
|
254
269
|
},
|
|
255
270
|
data() {
|
|
256
271
|
return {
|
|
257
272
|
groups: [],
|
|
258
273
|
activeIndex: -1,
|
|
259
|
-
tryByClick:
|
|
260
|
-
showNav:
|
|
274
|
+
tryByClick: false,
|
|
275
|
+
showNav: false
|
|
261
276
|
};
|
|
262
277
|
},
|
|
263
278
|
computed: {
|
|
264
279
|
isFormLoading() {
|
|
265
|
-
return this.loading || hasOwn(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded :
|
|
280
|
+
return this.loading || hasOwn(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : false;
|
|
266
281
|
},
|
|
267
282
|
toolbarProps() {
|
|
268
283
|
var _a;
|
|
269
|
-
const defaultProps = {}
|
|
270
|
-
|
|
284
|
+
const defaultProps = {};
|
|
285
|
+
const buttons = ((_a = this.toolbarAttrs) == null ? void 0 : _a.buttons) || this.$parent.buttons;
|
|
286
|
+
const toolbarAttrs = merge({}, this.toolbarAttrs, defaultProps);
|
|
287
|
+
toolbarAttrs.buttons = buttons || ["back"];
|
|
288
|
+
toolbarAttrs.buttons = toStringArray(toolbarAttrs.buttons);
|
|
289
|
+
return toolbarAttrs;
|
|
271
290
|
},
|
|
272
291
|
toolbarButtons() {
|
|
273
292
|
return this.toolbarProps.buttons.filter((value) => !bottomButtons.includes(value) && value.indexOf(":down") < 0).map((value) => value.replace(":up", ""));
|
|
274
293
|
},
|
|
275
294
|
footerBarButtons() {
|
|
276
295
|
let footerBarButtons = this.toolbarProps.buttons.filter((value) => !topButtons.includes(value) && (bottomButtons.includes(value) || value.indexOf(":down") > -1)).map((value) => value.replace(":down", ""));
|
|
277
|
-
|
|
296
|
+
footerBarButtons = footerBarButtons || [];
|
|
297
|
+
if (this.$parent.isEnabled && !footerBarButtons.includes("cancel")) {
|
|
298
|
+
footerBarButtons.push("cancel");
|
|
299
|
+
}
|
|
300
|
+
return footerBarButtons;
|
|
278
301
|
}
|
|
279
302
|
},
|
|
280
303
|
created() {
|
|
281
304
|
this.$on("FormView.addGroup", (group) => {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
|
|
305
|
+
if (group) {
|
|
306
|
+
if (this.activeIndex === -1) {
|
|
307
|
+
this.activeIndex = 0;
|
|
308
|
+
}
|
|
309
|
+
this.groups.push(group);
|
|
310
|
+
this.groups = this.groups.sort((aTab, bTab) => {
|
|
311
|
+
const formCardA = findParent(aTab.$el, "form-card");
|
|
312
|
+
const formCardB = findParent(bTab.$el, "form-card");
|
|
313
|
+
if (formCardA === formCardB) {
|
|
314
|
+
const aIndex = [].indexOf.call(aTab.$el.parentNode.children, aTab.$el);
|
|
315
|
+
const bIndex = [].indexOf.call(bTab.$el.parentNode.children, bTab.$el);
|
|
316
|
+
return aIndex - bIndex;
|
|
317
|
+
} else {
|
|
318
|
+
const formScroller = findParent(formCardA, "form-scroller");
|
|
319
|
+
const aBlockIndex = [].indexOf.call(formScroller.children, formCardA);
|
|
320
|
+
const bBlockIndex = [].indexOf.call(formScroller.children, formCardB);
|
|
321
|
+
return aBlockIndex - bBlockIndex;
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
if (group.active) {
|
|
325
|
+
this.activeIndex = this.groups.indexOf(group);
|
|
326
|
+
this.navItemClick(group, this.activeIndex);
|
|
290
327
|
}
|
|
291
|
-
}
|
|
292
|
-
})
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
this.$on("FormView.removeGroup", (tab) => {
|
|
293
331
|
if (tab) {
|
|
294
332
|
const index = this.groups.indexOf(tab);
|
|
295
|
-
this.groups.splice(index, 1)
|
|
333
|
+
this.groups.splice(index, 1);
|
|
334
|
+
if (this.activeIndex > this.groups.length - 1) {
|
|
335
|
+
this.activeIndex = 0;
|
|
336
|
+
}
|
|
296
337
|
}
|
|
297
|
-
})
|
|
338
|
+
});
|
|
339
|
+
this.onFormResize({ width: window.document.body.clientWidth });
|
|
298
340
|
},
|
|
299
341
|
activated() {
|
|
300
342
|
return __async(this, null, function* () {
|
|
301
|
-
this.$refs.formScroller
|
|
343
|
+
if (this.$refs.formScroller) {
|
|
344
|
+
yield this.$nextTick();
|
|
345
|
+
this.scrollTo(this.formScrollTop, this.formScrollLeft);
|
|
346
|
+
}
|
|
302
347
|
});
|
|
303
348
|
},
|
|
304
349
|
methods: {
|
|
@@ -315,48 +360,74 @@ const builtInButtons = ["back", "create", "save", "withdraw", "edit", "submit",
|
|
|
315
360
|
this.showNav = width > 1500;
|
|
316
361
|
},
|
|
317
362
|
onEdit() {
|
|
318
|
-
!this.toolbarListeners.edit && hasOwn(this.$parent, "disabled")
|
|
363
|
+
if (!this.toolbarListeners.edit && hasOwn(this.$parent, "disabled")) {
|
|
364
|
+
this.$parent.disabled = false;
|
|
365
|
+
}
|
|
319
366
|
},
|
|
320
367
|
navItemClick(item, index) {
|
|
321
368
|
return __async(this, null, function* () {
|
|
322
|
-
|
|
369
|
+
if (!this.showNav) {
|
|
370
|
+
return;
|
|
371
|
+
}
|
|
372
|
+
yield this.$nextTick();
|
|
373
|
+
this.activeFormItemGroup(item, index);
|
|
374
|
+
if (!item.expand) {
|
|
375
|
+
item.open();
|
|
376
|
+
}
|
|
323
377
|
});
|
|
324
378
|
},
|
|
325
379
|
activeFormItemGroup(tab, index) {
|
|
326
|
-
this.$refs.formScroller.scrollTop = tab.$el.offsetTop - 10
|
|
380
|
+
this.$refs.formScroller.scrollTop = tab.$el.offsetTop - 10;
|
|
381
|
+
animate(tab.$el, "breathe-indicator-animation");
|
|
382
|
+
this.tryByClick = true;
|
|
383
|
+
this.activeIndex = index;
|
|
327
384
|
},
|
|
328
385
|
tryActive() {
|
|
329
386
|
return __async(this, null, function* () {
|
|
330
|
-
if (this.showNav) {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
387
|
+
if (!this.showNav) {
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
for (let i = 0; i < this.groups.length; i++) {
|
|
391
|
+
if (isInContainer(this.groups[i].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
392
|
+
this.activeIndex = i;
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
336
395
|
}
|
|
337
396
|
});
|
|
338
397
|
},
|
|
339
398
|
onFormScroll() {
|
|
340
|
-
this.formScrollTop = this.$refs.formScroller.scrollTop
|
|
399
|
+
this.formScrollTop = this.$refs.formScroller.scrollTop;
|
|
400
|
+
this.formScrollLeft = this.$refs.formScroller.scrollLeft;
|
|
401
|
+
if (!this.tryByClick && this.groups.length) {
|
|
402
|
+
window.requestAnimationFrame(this.tryActive);
|
|
403
|
+
}
|
|
404
|
+
this.tryByClick = false;
|
|
341
405
|
},
|
|
342
406
|
scrollTo(top, left) {
|
|
343
|
-
|
|
407
|
+
if (top) {
|
|
408
|
+
this.$refs.formScroller.scrollTop = top;
|
|
409
|
+
}
|
|
410
|
+
if (left) {
|
|
411
|
+
this.$refs.formScroller.scrollLeft = left;
|
|
412
|
+
}
|
|
344
413
|
}
|
|
345
414
|
}
|
|
346
|
-
}
|
|
415
|
+
};
|
|
416
|
+
const __cssModules = {};
|
|
347
417
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
348
418
|
__vue2_script,
|
|
349
419
|
render,
|
|
350
420
|
staticRenderFns,
|
|
351
|
-
|
|
421
|
+
false,
|
|
352
422
|
__vue2_injectStyles,
|
|
353
423
|
null,
|
|
354
424
|
null,
|
|
355
425
|
null
|
|
356
426
|
);
|
|
357
427
|
function __vue2_injectStyles(context) {
|
|
358
|
-
for (let o in __cssModules)
|
|
428
|
+
for (let o in __cssModules) {
|
|
359
429
|
this[o] = __cssModules[o];
|
|
430
|
+
}
|
|
360
431
|
}
|
|
361
432
|
const FormView = /* @__PURE__ */ function() {
|
|
362
433
|
return __component__.exports;
|
|
@@ -1 +1,158 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.form-view {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
.form-view .form-scroller-wrapper {
|
|
13
|
+
position: relative;
|
|
14
|
+
flex: 1;
|
|
15
|
+
}
|
|
16
|
+
.form-view .not-form {
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
}
|
|
19
|
+
.form-view .form-view-toolbar {
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
.form-view .form-scroller {
|
|
23
|
+
flex: 1;
|
|
24
|
+
overflow: auto;
|
|
25
|
+
}
|
|
26
|
+
.form-view .form-scroller .el-row {
|
|
27
|
+
position: static;
|
|
28
|
+
}
|
|
29
|
+
.form-view .form-content .el-form .el-row {
|
|
30
|
+
padding-right: 2rem;
|
|
31
|
+
}
|
|
32
|
+
.form-view .form-content .el-form .el-row .el-row {
|
|
33
|
+
padding-right: 0;
|
|
34
|
+
}
|
|
35
|
+
.form-view .form-card {
|
|
36
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
37
|
+
max-width: 1000px;
|
|
38
|
+
margin: 14px auto;
|
|
39
|
+
padding: 20px;
|
|
40
|
+
color: #303133;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border: 1px solid #ebeef5;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
transition: 0.3s;
|
|
45
|
+
}
|
|
46
|
+
.form-view .form-card.un-limit {
|
|
47
|
+
max-width: 100%;
|
|
48
|
+
}
|
|
49
|
+
.form-view .form-nav {
|
|
50
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 55px;
|
|
53
|
+
left: 20px;
|
|
54
|
+
background-color: white;
|
|
55
|
+
}
|
|
56
|
+
.form-view .form-nav-list {
|
|
57
|
+
min-width: 180px;
|
|
58
|
+
padding: 10px 20px;
|
|
59
|
+
}
|
|
60
|
+
.form-view .form-nav-header {
|
|
61
|
+
position: relative;
|
|
62
|
+
padding: 5px 20px;
|
|
63
|
+
color: #e34e55;
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
font-size: 15px;
|
|
66
|
+
background-color: #f3f5fb;
|
|
67
|
+
}
|
|
68
|
+
.form-view .form-nav-item {
|
|
69
|
+
position: relative;
|
|
70
|
+
padding: 5px 0;
|
|
71
|
+
font-family: element-icons !important;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
.form-view .form-nav-item.active, .form-view .form-nav-item:hover {
|
|
75
|
+
color: #e34e55;
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
}
|
|
78
|
+
.form-view .form-nav-item.active::before {
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: -14px;
|
|
81
|
+
content: "\e6e0";
|
|
82
|
+
}
|
|
83
|
+
.form-view .form-view-title {
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 36px;
|
|
86
|
+
margin-bottom: 10px;
|
|
87
|
+
color: #333;
|
|
88
|
+
font-size: 22px;
|
|
89
|
+
line-height: 36px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
background-color: #fff;
|
|
92
|
+
}
|
|
93
|
+
.form-view .tip {
|
|
94
|
+
margin: 20px 0;
|
|
95
|
+
padding: 8px 16px;
|
|
96
|
+
background-color: #ecf8ff;
|
|
97
|
+
border-left: 5px solid #50bfff;
|
|
98
|
+
border-radius: 4px;
|
|
99
|
+
}
|
|
100
|
+
.form-view .tip p {
|
|
101
|
+
color: #5e6d82;
|
|
102
|
+
font-size: 14px;
|
|
103
|
+
line-height: 1.5em;
|
|
104
|
+
}
|
|
105
|
+
.form-view .tip.danger {
|
|
106
|
+
background-color: #fde2e2;
|
|
107
|
+
border-left-color: #f56c6c;
|
|
108
|
+
}
|
|
109
|
+
.form-view .tip.danger p {
|
|
110
|
+
color: #564646;
|
|
111
|
+
}
|
|
112
|
+
.form-view .tip.warning {
|
|
113
|
+
background-color: #f7efe2;
|
|
114
|
+
border-left-color: #e6a23c;
|
|
115
|
+
}
|
|
116
|
+
.form-view .tip.warning p {
|
|
117
|
+
color: #5d564b;
|
|
118
|
+
}
|
|
119
|
+
.form-view .select-num {
|
|
120
|
+
color: #898989;
|
|
121
|
+
font-size: 12px;
|
|
122
|
+
}
|
|
123
|
+
.form-view .select-num .num {
|
|
124
|
+
font-size: 19px;
|
|
125
|
+
font-family: impact, Constantia, Georgia;
|
|
126
|
+
}
|
|
127
|
+
.form-view .el-table .el-table__header th {
|
|
128
|
+
color: #595959;
|
|
129
|
+
font-weight: normal;
|
|
130
|
+
background: #fff;
|
|
131
|
+
}
|
|
132
|
+
.form-view .el-table td {
|
|
133
|
+
padding: 4px 0;
|
|
134
|
+
}
|
|
135
|
+
.form-view .el-table td .cell .el-input .el-input__inner {
|
|
136
|
+
padding-left: 4px;
|
|
137
|
+
}
|
|
138
|
+
.form-view .el-table td .cell .el-input.el-input--prefix .el-input__inner {
|
|
139
|
+
padding-left: 30px;
|
|
140
|
+
}
|
|
141
|
+
.form-view .el-table td .cell .el-input.is-disabled .el-input__suffix {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
.form-view .el-table td .cell .el-input.is-disabled .el-input__inner {
|
|
145
|
+
padding: 0;
|
|
146
|
+
padding-left: 4px;
|
|
147
|
+
line-height: 1.6;
|
|
148
|
+
white-space: normal;
|
|
149
|
+
word-break: break-word;
|
|
150
|
+
background: transparent;
|
|
151
|
+
border: 0;
|
|
152
|
+
}
|
|
153
|
+
@media screen and (min-width: 1700px) {
|
|
154
|
+
.form-view.form-view__lg .form-card {
|
|
155
|
+
position: relative;
|
|
156
|
+
left: 60px;
|
|
157
|
+
}
|
|
158
|
+
}
|