@das-fed/ui 7.0.7-hot.17 → 7.0.7-hot.19
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/esm-map.json +2 -2
- package/package.json +5 -5
- package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-BeqEuT6Z.js} +1 -1
- package/packages/business-components/ai-panel/index-BeqEuT6Z.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DP1B0qnu.js} +1138 -1120
- package/packages/business-components/ai-panel/index-DP1B0qnu.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-d7mK0plW.js} +5 -5
- package/packages/business-components/ai-panel/index-d7mK0plW.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/app-container/index.js +75 -75
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.js +87 -87
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/index.js +19 -19
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -15
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.js +40 -40
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +265 -265
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +92 -92
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +191 -191
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +47 -47
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +232 -232
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/api.d.ts +8 -0
- package/packages/business-components/payment/index.d.ts +9 -11
- package/packages/business-components/payment/index.js +186 -180
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/payment/type.d.ts +2 -0
- package/packages/business-components/process-configuration/index.js +5 -5
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-form/index.js +1154 -1134
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
- package/packages/business-components/process-log/index.js +329 -329
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/index.js +54 -54
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +46 -46
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +295 -295
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.d.ts +10 -0
- package/packages/business-components/video-dialog/index.js +396 -377
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/api.d.ts +1 -0
- package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
- package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
- package/packages/business-components/video-dialog/src/index.vue.d.ts +2 -0
- package/packages/business-components/video-dialog/src/type.d.ts +7 -1
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.js +9 -9
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +141 -141
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +39 -39
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +39 -39
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +188 -188
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +172 -172
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +92 -92
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +176 -176
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +16 -16
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.js +22 -22
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.js +36 -36
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +496 -496
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +89 -89
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +73 -31
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +30 -30
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +2 -2
- package/packages/components/edit-table/index.js +150 -150
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +32 -32
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +30 -30
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.js +19 -19
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +715 -715
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/hls-player/index.js +5229 -4588
- package/packages/components/hls-player/index.js.gz +0 -0
- package/packages/components/hls-player/src/type.d.ts +3 -0
- package/packages/components/hls-player/style.css +1 -1
- package/packages/components/hls-player/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +184 -184
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +566 -566
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +94 -94
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/index.js +86 -86
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +93 -93
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +2 -0
- package/packages/components/live-player/index.js +822 -814
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/src/type.d.ts +3 -0
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/loading/index.js +45 -45
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +558 -558
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +16 -16
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +100 -100
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.js +33 -33
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +13 -13
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/progress/index.js +111 -111
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.js +162 -162
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +7906 -7889
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +76 -76
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +598 -597
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +284 -284
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +76 -76
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +406 -406
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +154 -154
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +196 -196
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +30 -30
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +60 -60
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.d.ts +253 -27
- package/packages/components/table/index.js +2061 -2061
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +39 -5
- package/packages/components/tabs/index.js +109 -109
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/time-line/index.js +35 -35
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +52 -52
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +748 -748
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +29 -5
- package/packages/components/tree-select/index.js +262 -262
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +116 -16
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +116 -16
- package/packages/components/tree-table/index.js +224 -224
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.d.ts +175 -27
- package/packages/components/tree-v2/index.js +614 -614
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +27 -5
- package/packages/components/upload/index.js +80 -80
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +61 -61
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
- package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
- package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.default-img[data-v-7910c1ad]{position:relative;margin:8px 0}.phone-tips[data-v-7910c1ad]{position:absolute;z-index:1;bottom:0;right:0;background:var(--das-ui-processlog-bg-color);border-radius:50%;padding:2px;display:flex}.circle-image[data-v-7910c1ad]{border-radius:50%;overflow:hidden;width:40px;height:40px;display:flex}.op65[data-v-66acc098]{opacity:.65}.header-box .head-cover-box[data-v-66acc098]{display:flex;flex-wrap:wrap}.header-box .isExpend[data-v-66acc098]{height:60px;overflow:hidden}.header-box .cover-box[data-v-66acc098]{width:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:8px}.header-box .cover-img[data-v-66acc098]{position:relative;margin-bottom:4px}.header-box .cover-img .phone-tips-duty[data-v-66acc098]{position:absolute;z-index:1;bottom:0;right:0;background:var(--das-ui-processlog-bg-color);border-radius:50%;padding:2px;display:flex}.header-box .personal-image[data-v-66acc098]{border-radius:50%;overflow:hidden;width:32px;height:32px;display:flex}.header-box .name-text[data-v-66acc098]{font-size:14px;font-weight:400;line-height:21px;text-align:center;letter-spacing:0px;color:var(--das-ui-processlog-user-name-color)}.fold-btn[data-v-66acc098]{display:flex;align-items:center;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px;margin-bottom:4px;color:var(--das-ui-processlog-time-color);cursor:pointer}.fold-btn .text-collaspe[data-v-66acc098]{margin-right:4px}.op65[data-v-b68b2060]{opacity:.65}.file-box .file-item-content[data-v-b68b2060]{display:flex;align-items:center}.file-box .file-item-content .file-name[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-status-name-color);padding:12px 0 12px 20px;display:flex;align-items:center;flex-wrap:nowrap}.file-box .file-item-content .file-name[data-v-b68b2060] .das-icon{margin-right:4px}.file-box .file-item-content .file-name .file-text[data-v-b68b2060]{margin-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.file-box .file-item-content .file-name .file-unfix[data-v-b68b2060]{word-break:keep-all}.file-box .file-item-content .file-name .file-size[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;word-break:keep-all;color:var(--das-ui-processlog-time-color);margin-left:8px}.file-box .file-item-content[data-v-b68b2060]:hover{background:var(--das-ui-processlog-hover-color)}.file-box .pre-file[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-btn-color);cursor:pointer}.file-box .down-file[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-btn-color);cursor:pointer;word-break:keep-all;margin-right:20px}.fold-btn[data-v-b68b2060]{display:flex;align-items:center;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px;cursor:pointer;color:var(--das-ui-processlog-time-color);margin-bottom:4px}.fold-btn .text-collaspe[data-v-b68b2060]{margin-right:4px}[data-v-b68b2060] .das-ui-button .ant-btn.ant-btn-text.primary-text{color:var(--das-ui-processlog-btn-color)!important}[data-v-b68b2060] .das-tooltip-text-wrap{color:var(--
|
|
1
|
+
@charset "UTF-8";.default-img[data-v-7910c1ad]{position:relative;margin:8px 0}.phone-tips[data-v-7910c1ad]{position:absolute;z-index:1;bottom:0;right:0;background:var(--das-ui-processlog-bg-color);border-radius:50%;padding:2px;display:flex}.circle-image[data-v-7910c1ad]{border-radius:50%;overflow:hidden;width:40px;height:40px;display:flex}.op65[data-v-66acc098]{opacity:.65}.header-box .head-cover-box[data-v-66acc098]{display:flex;flex-wrap:wrap}.header-box .isExpend[data-v-66acc098]{height:60px;overflow:hidden}.header-box .cover-box[data-v-66acc098]{width:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:8px}.header-box .cover-img[data-v-66acc098]{position:relative;margin-bottom:4px}.header-box .cover-img .phone-tips-duty[data-v-66acc098]{position:absolute;z-index:1;bottom:0;right:0;background:var(--das-ui-processlog-bg-color);border-radius:50%;padding:2px;display:flex}.header-box .personal-image[data-v-66acc098]{border-radius:50%;overflow:hidden;width:32px;height:32px;display:flex}.header-box .name-text[data-v-66acc098]{font-size:14px;font-weight:400;line-height:21px;text-align:center;letter-spacing:0px;color:var(--das-ui-processlog-user-name-color)}.fold-btn[data-v-66acc098]{display:flex;align-items:center;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px;margin-bottom:4px;color:var(--das-ui-processlog-time-color);cursor:pointer}.fold-btn .text-collaspe[data-v-66acc098]{margin-right:4px}.op65[data-v-b68b2060]{opacity:.65}.file-box .file-item-content[data-v-b68b2060]{display:flex;align-items:center}.file-box .file-item-content .file-name[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-status-name-color);padding:12px 0 12px 20px;display:flex;align-items:center;flex-wrap:nowrap}.file-box .file-item-content .file-name[data-v-b68b2060] .das-icon{margin-right:4px}.file-box .file-item-content .file-name .file-text[data-v-b68b2060]{margin-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.file-box .file-item-content .file-name .file-unfix[data-v-b68b2060]{word-break:keep-all}.file-box .file-item-content .file-name .file-size[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;word-break:keep-all;color:var(--das-ui-processlog-time-color);margin-left:8px}.file-box .file-item-content[data-v-b68b2060]:hover{background:var(--das-ui-processlog-hover-color)}.file-box .pre-file[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-btn-color);cursor:pointer}.file-box .down-file[data-v-b68b2060]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-btn-color);cursor:pointer;word-break:keep-all;margin-right:20px}.fold-btn[data-v-b68b2060]{display:flex;align-items:center;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px;cursor:pointer;color:var(--das-ui-processlog-time-color);margin-bottom:4px}.fold-btn .text-collaspe[data-v-b68b2060]{margin-right:4px}[data-v-b68b2060] .das-ui-button .ant-btn.ant-btn-text.primary-text{color:var(--das-ui-processlog-btn-color)!important}[data-v-b68b2060] .das-tooltip-text-wrap{color:var(--v5953d9b0)}.op65[data-v-f8430eda]{opacity:.65}.rate-box[data-v-f8430eda]{margin-bottom:4px}.rate-box .rata-star[data-v-f8430eda]{display:flex;align-items:center;font-size:14px;font-weight:400;line-height:17px;letter-spacing:0px;color:var(--das-ui-processlog-title-color)}.rate-box .rata-star .customStart[data-v-f8430eda]{margin-right:8px}.rate-box .startText[data-v-f8430eda]{margin-left:8px}.med-content .img-box[data-v-bbe423f8]{display:flex;flex-wrap:wrap}.med-content .medium-show-box-item[data-v-bbe423f8]{margin-right:15px;margin-bottom:8px}.med-content .medium-show-custom-item[data-v-bbe423f8]{margin-right:10px;margin-bottom:8px}.op65[data-v-94e6a5d5]{opacity:.65}.title-box[data-v-94e6a5d5]{margin-bottom:4px}.title-box .title-item[data-v-94e6a5d5]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-title-color)}.sign-box[data-v-efec6fac]{display:flex;margin-bottom:8px}.op65[data-v-504875ad]{opacity:.65}.remark-box[data-v-504875ad]{margin-bottom:4px;font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-title-color)}.fold-btn[data-v-504875ad]{display:flex;align-items:center;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px;margin-bottom:4px;color:var(--das-ui-processlog-time-color);cursor:pointer}.fold-btn .text-collaspe[data-v-504875ad]{margin-right:4px}.hide-two-line[data-v-504875ad]{height:40px;overflow:hidden}.w100[data-v-902c029c]{width:100%}.w700px[data-v-902c029c]{width:700px}.op65[data-v-902c029c]{opacity:.65}.right-content[data-v-902c029c]{margin-left:8px;position:relative;top:-7.001px;min-height:45px}.right-content .time-box[data-v-902c029c]{font-weight:400;font-size:12px;color:var(--das-ui-processlog-time-color)}.right-content .status-box[data-v-902c029c]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;margin-bottom:8px}.right-content .is-no-wait[data-v-902c029c]{color:var(--das-ui-processlog-status-name-color)}.right-content .is-wait[data-v-902c029c]{color:var(--das-ui-processlog-duty-color)}.right-content .name-box[data-v-902c029c]{font-size:14px;font-weight:400;line-height:21px;letter-spacing:0px;color:var(--das-ui-processlog-status-name-color);margin-bottom:4px}.right-content .audit-result[data-v-902c029c]{font-size:14px;font-weight:400;line-height:normal;letter-spacing:0px;color:var(--das-ui-processlog-title-color);margin-bottom:4px}.das-timeline-item[data-v-902c029c]{padding-bottom:22px}.das-timeline-item[data-v-902c029c]:last-child{padding-bottom:10px}.das-timeline-item:first-child.default-img[data-v-902c029c]{margin-top:0}.das-timeline-item[data-v-902c029c] .ant-timeline-item-head{background:var(--v6a0fac74)}.das-process-log[data-v-d9db07b6]{padding:18px 16px 0;background:var(--das-ui-processlog-bg-color)}
|
|
Binary file
|
|
@@ -17,9 +17,9 @@ function wr(e) {
|
|
|
17
17
|
var y = _r.call(e);
|
|
18
18
|
return o && (r ? e[V] = t : delete e[V]), y;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var mr = Object.prototype, $r = mr.toString;
|
|
21
21
|
function Sr(e) {
|
|
22
|
-
return
|
|
22
|
+
return $r.call(e);
|
|
23
23
|
}
|
|
24
24
|
var Or = "[object Null]", Cr = "[object Undefined]", Te = B ? B.toStringTag : void 0;
|
|
25
25
|
function R(e) {
|
|
@@ -101,10 +101,10 @@ function Gr(e, r) {
|
|
|
101
101
|
;
|
|
102
102
|
return e;
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var Hr = 9007199254740991, qr = /^(?:0|[1-9]\d*)$/;
|
|
105
105
|
function Qr(e, r) {
|
|
106
106
|
var t = typeof e;
|
|
107
|
-
return r = r ??
|
|
107
|
+
return r = r ?? Hr, !!r && (t == "number" || t != "symbol" && qr.test(e)) && e > -1 && e % 1 == 0 && e < r;
|
|
108
108
|
}
|
|
109
109
|
function Wr(e, r, t) {
|
|
110
110
|
r == "__proto__" && we ? we(e, r, {
|
|
@@ -130,7 +130,7 @@ function et(e) {
|
|
|
130
130
|
return e != null && Ge(e.length) && !Ue(e);
|
|
131
131
|
}
|
|
132
132
|
var rt = Object.prototype;
|
|
133
|
-
function
|
|
133
|
+
function He(e) {
|
|
134
134
|
var r = e && e.constructor, t = typeof r == "function" && r.prototype || rt;
|
|
135
135
|
return e === t;
|
|
136
136
|
}
|
|
@@ -140,20 +140,20 @@ function tt(e, r) {
|
|
|
140
140
|
return o;
|
|
141
141
|
}
|
|
142
142
|
var at = "[object Arguments]";
|
|
143
|
-
function
|
|
143
|
+
function me(e) {
|
|
144
144
|
return G(e) && R(e) == at;
|
|
145
145
|
}
|
|
146
|
-
var
|
|
146
|
+
var qe = Object.prototype, ot = qe.hasOwnProperty, nt = qe.propertyIsEnumerable, ct = me(/* @__PURE__ */ function() {
|
|
147
147
|
return arguments;
|
|
148
|
-
}()) ?
|
|
148
|
+
}()) ? me : function(e) {
|
|
149
149
|
return G(e) && ot.call(e, "callee") && !nt.call(e, "callee");
|
|
150
150
|
};
|
|
151
151
|
function st() {
|
|
152
152
|
return !1;
|
|
153
153
|
}
|
|
154
|
-
var Qe = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
154
|
+
var Qe = typeof exports == "object" && exports && !exports.nodeType && exports, $e = Qe && typeof module == "object" && module && !module.nodeType && module, it = $e && $e.exports === Qe, Se = it ? _.Buffer : void 0, ut = Se ? Se.isBuffer : void 0, We = ut || st, lt = "[object Arguments]", pt = "[object Array]", ft = "[object Boolean]", dt = "[object Date]", yt = "[object Error]", ht = "[object Function]", bt = "[object Map]", gt = "[object Number]", vt = "[object Object]", Tt = "[object RegExp]", jt = "[object Set]", _t = "[object String]", wt = "[object WeakMap]", mt = "[object ArrayBuffer]", $t = "[object DataView]", St = "[object Float32Array]", Ot = "[object Float64Array]", Ct = "[object Int8Array]", At = "[object Int16Array]", xt = "[object Int32Array]", Pt = "[object Uint8Array]", Ft = "[object Uint8ClampedArray]", Dt = "[object Uint16Array]", Mt = "[object Uint32Array]", p = {};
|
|
155
155
|
p[St] = p[Ot] = p[Ct] = p[At] = p[xt] = p[Pt] = p[Ft] = p[Dt] = p[Mt] = !0;
|
|
156
|
-
p[lt] = p[pt] = p[
|
|
156
|
+
p[lt] = p[pt] = p[mt] = p[ft] = p[$t] = p[dt] = p[yt] = p[ht] = p[bt] = p[gt] = p[vt] = p[Tt] = p[jt] = p[_t] = p[wt] = !1;
|
|
157
157
|
function Et(e) {
|
|
158
158
|
return G(e) && Ge(e.length) && !!p[R(e)];
|
|
159
159
|
}
|
|
@@ -186,7 +186,7 @@ function Ie(e, r) {
|
|
|
186
186
|
}
|
|
187
187
|
var Vt = Ie(Object.keys, Object), Yt = Object.prototype, Lt = Yt.hasOwnProperty;
|
|
188
188
|
function Ut(e) {
|
|
189
|
-
if (!
|
|
189
|
+
if (!He(e))
|
|
190
190
|
return Vt(e);
|
|
191
191
|
var r = [];
|
|
192
192
|
for (var t in Object(e))
|
|
@@ -200,16 +200,16 @@ var L = M(Object, "create");
|
|
|
200
200
|
function Gt() {
|
|
201
201
|
this.__data__ = L ? L(null) : {}, this.size = 0;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ht(e) {
|
|
204
204
|
var r = this.has(e) && delete this.__data__[e];
|
|
205
205
|
return this.size -= r ? 1 : 0, r;
|
|
206
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var qt = "__lodash_hash_undefined__", Qt = Object.prototype, Wt = Qt.hasOwnProperty;
|
|
208
208
|
function Jt(e) {
|
|
209
209
|
var r = this.__data__;
|
|
210
210
|
if (L) {
|
|
211
211
|
var t = r[e];
|
|
212
|
-
return t ===
|
|
212
|
+
return t === qt ? void 0 : t;
|
|
213
213
|
}
|
|
214
214
|
return Wt.call(r, e) ? r[e] : void 0;
|
|
215
215
|
}
|
|
@@ -231,7 +231,7 @@ function F(e) {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
F.prototype.clear = Gt;
|
|
234
|
-
F.prototype.delete =
|
|
234
|
+
F.prototype.delete = Ht;
|
|
235
235
|
F.prototype.get = Jt;
|
|
236
236
|
F.prototype.has = Zt;
|
|
237
237
|
F.prototype.set = ra;
|
|
@@ -356,9 +356,9 @@ K.prototype.delete = va;
|
|
|
356
356
|
K.prototype.get = Ta;
|
|
357
357
|
K.prototype.has = ja;
|
|
358
358
|
K.prototype.set = wa;
|
|
359
|
-
var Xe = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = Xe && typeof module == "object" && module && !module.nodeType && module,
|
|
359
|
+
var Xe = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = Xe && typeof module == "object" && module && !module.nodeType && module, ma = Ce && Ce.exports === Xe, Ae = ma ? _.Buffer : void 0;
|
|
360
360
|
Ae && Ae.allocUnsafe;
|
|
361
|
-
function
|
|
361
|
+
function $a(e, r) {
|
|
362
362
|
return e.slice();
|
|
363
363
|
}
|
|
364
364
|
function Sa(e, r) {
|
|
@@ -428,14 +428,14 @@ function Ga(e, r) {
|
|
|
428
428
|
var t = ue(e.buffer);
|
|
429
429
|
return new e.constructor(t, e.byteOffset, e.length);
|
|
430
430
|
}
|
|
431
|
-
var
|
|
431
|
+
var Ha = "[object Boolean]", qa = "[object Date]", Qa = "[object Map]", Wa = "[object Number]", Ja = "[object RegExp]", Ia = "[object Set]", Xa = "[object String]", Za = "[object Symbol]", eo = "[object ArrayBuffer]", ro = "[object DataView]", to = "[object Float32Array]", ao = "[object Float64Array]", oo = "[object Int8Array]", no = "[object Int16Array]", co = "[object Int32Array]", so = "[object Uint8Array]", io = "[object Uint8ClampedArray]", uo = "[object Uint16Array]", lo = "[object Uint32Array]";
|
|
432
432
|
function po(e, r, t) {
|
|
433
433
|
var o = e.constructor;
|
|
434
434
|
switch (r) {
|
|
435
435
|
case eo:
|
|
436
436
|
return ue(e);
|
|
437
|
-
case qa:
|
|
438
437
|
case Ha:
|
|
438
|
+
case qa:
|
|
439
439
|
return new o(+e);
|
|
440
440
|
case ro:
|
|
441
441
|
return Ya(e);
|
|
@@ -463,7 +463,7 @@ function po(e, r, t) {
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
function fo(e) {
|
|
466
|
-
return typeof e.constructor == "function" && !
|
|
466
|
+
return typeof e.constructor == "function" && !He(e) ? Rr(ba(e)) : {};
|
|
467
467
|
}
|
|
468
468
|
var yo = "[object Map]";
|
|
469
469
|
function ho(e) {
|
|
@@ -473,10 +473,10 @@ var ze = N && N.isMap, bo = ze ? ie(ze) : ho, go = "[object Set]";
|
|
|
473
473
|
function vo(e) {
|
|
474
474
|
return G(e) && O(e) == go;
|
|
475
475
|
}
|
|
476
|
-
var Ke = N && N.isSet, To = Ke ? ie(Ke) : vo, Ze = "[object Arguments]", jo = "[object Array]", _o = "[object Boolean]", wo = "[object Date]",
|
|
476
|
+
var Ke = N && N.isSet, To = Ke ? ie(Ke) : vo, Ze = "[object Arguments]", jo = "[object Array]", _o = "[object Boolean]", wo = "[object Date]", mo = "[object Error]", er = "[object Function]", $o = "[object GeneratorFunction]", So = "[object Map]", Oo = "[object Number]", rr = "[object Object]", Co = "[object RegExp]", Ao = "[object Set]", xo = "[object String]", Po = "[object Symbol]", Fo = "[object WeakMap]", Do = "[object ArrayBuffer]", Mo = "[object DataView]", Eo = "[object Float32Array]", ko = "[object Float64Array]", Bo = "[object Int8Array]", No = "[object Int16Array]", zo = "[object Int32Array]", Ko = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", Yo = "[object Uint16Array]", Lo = "[object Uint32Array]", l = {};
|
|
477
477
|
l[Ze] = l[jo] = l[Do] = l[Mo] = l[_o] = l[wo] = l[Eo] = l[ko] = l[Bo] = l[No] = l[zo] = l[So] = l[Oo] = l[rr] = l[Co] = l[Ao] = l[xo] = l[Po] = l[Ko] = l[Vo] = l[Yo] = l[Lo] = !0;
|
|
478
|
-
l[
|
|
479
|
-
function
|
|
478
|
+
l[mo] = l[er] = l[Fo] = !1;
|
|
479
|
+
function q(e, r, t, o, y, u) {
|
|
480
480
|
var f;
|
|
481
481
|
if (f !== void 0)
|
|
482
482
|
return f;
|
|
@@ -486,9 +486,9 @@ function H(e, r, t, o, y, u) {
|
|
|
486
486
|
if (b)
|
|
487
487
|
f = Va(e);
|
|
488
488
|
else {
|
|
489
|
-
var h = O(e), d = h == er || h ==
|
|
489
|
+
var h = O(e), d = h == er || h == $o;
|
|
490
490
|
if (We(e))
|
|
491
|
-
return
|
|
491
|
+
return $a(e);
|
|
492
492
|
if (h == rr || h == Ze || d && !y)
|
|
493
493
|
f = d ? {} : fo(e);
|
|
494
494
|
else {
|
|
@@ -502,21 +502,21 @@ function H(e, r, t, o, y, u) {
|
|
|
502
502
|
if (A)
|
|
503
503
|
return A;
|
|
504
504
|
u.set(e, f), To(e) ? e.forEach(function(T) {
|
|
505
|
-
f.add(
|
|
505
|
+
f.add(q(T, r, t, T, e, u));
|
|
506
506
|
}) : bo(e) && e.forEach(function(T, w) {
|
|
507
|
-
f.set(w,
|
|
507
|
+
f.set(w, q(T, r, t, w, e, u));
|
|
508
508
|
});
|
|
509
|
-
var I = Fa,
|
|
510
|
-
return Gr(
|
|
511
|
-
|
|
509
|
+
var I = Fa, H = b ? void 0 : I(e);
|
|
510
|
+
return Gr(H || e, function(T, w) {
|
|
511
|
+
H && (w = T, T = e[w]), Xr(f, w, q(T, r, t, w, e, u));
|
|
512
512
|
}), f;
|
|
513
513
|
}
|
|
514
514
|
var Uo = 1, Ro = 4;
|
|
515
515
|
function v(e) {
|
|
516
|
-
return
|
|
516
|
+
return q(e, Uo | Ro);
|
|
517
517
|
}
|
|
518
|
-
const Ve = ce, Go = ce("/workflow/form/dataTemplate/v1/getBpmDataTemplateInfoByFlowKey"),
|
|
519
|
-
|
|
518
|
+
const Ve = ce, Go = ce("/workflow/form/dataTemplate/v1/getBpmDataTemplateInfoByFlowKey"), Ho = Go.get(""), tr = vr, qo = ce("/form/dataTemplate/v1/getBpmDataTemplateInfoByFlowKey"), Qo = tr.get("/controller/space-children"), Wo = tr.get("/controller/fuzzy-tree");
|
|
519
|
+
qo.get("");
|
|
520
520
|
const Jo = (e, r) => {
|
|
521
521
|
var ye, he;
|
|
522
522
|
const t = nr(), o = E([]), y = E([]), u = E([]), f = E([]), b = E([]), h = Z(() => e.borderType), d = (ye = ge()) != null && ye.id ? (he = ge()) == null ? void 0 : he.id : "1268137555009052672", A = Z(() => e.orgConfig), I = Z(() => {
|
|
@@ -526,7 +526,7 @@ const Jo = (e, r) => {
|
|
|
526
526
|
if ((i == null ? void 0 : i.length) === 0) return !1;
|
|
527
527
|
}
|
|
528
528
|
return t == null ? void 0 : t.showFilterPanel;
|
|
529
|
-
}),
|
|
529
|
+
}), H = async (s) => {
|
|
530
530
|
let i = { projectId: d, project: d, spaceId: null };
|
|
531
531
|
s != null && s.id && (i.spaceId = s.id);
|
|
532
532
|
const [c, a] = await Qo(i).run();
|
|
@@ -536,13 +536,13 @@ const Jo = (e, r) => {
|
|
|
536
536
|
const [i, c] = await Wo({ projectId: d, project: d, name: s }).run();
|
|
537
537
|
return i ? {} : c;
|
|
538
538
|
}, w = async () => {
|
|
539
|
-
var a,
|
|
539
|
+
var a, m, x;
|
|
540
540
|
const s = {
|
|
541
541
|
flowKey: e.flowKey,
|
|
542
542
|
needDisplayFileds: e.needDisplayFileds,
|
|
543
543
|
project: d
|
|
544
|
-
}, [i, c] = await
|
|
545
|
-
i || ((a = c.value) != null && a.conditionField && (o.value = JSON.parse(c.value.conditionField)), (
|
|
544
|
+
}, [i, c] = await Ho(s).run();
|
|
545
|
+
i || ((a = c.value) != null && a.conditionField && (o.value = JSON.parse(c.value.conditionField)), (m = c.value) != null && m.manageField && (f.value = JSON.parse(c.value.manageField), r("getBtnSetting", f.value)), (x = c.value) != null && x.sortField && (b.value = JSON.parse(c.value.sortField).map((P) => ({
|
|
546
546
|
property: P.name,
|
|
547
547
|
direction: P.sort
|
|
548
548
|
}))));
|
|
@@ -620,7 +620,7 @@ const Jo = (e, r) => {
|
|
|
620
620
|
label: "name",
|
|
621
621
|
disabled: (s) => s.id == 1
|
|
622
622
|
},
|
|
623
|
-
load:
|
|
623
|
+
load: H,
|
|
624
624
|
keyword: "",
|
|
625
625
|
selectAttrs: { showSearch: !1, allowClear: !0 },
|
|
626
626
|
search: T
|
|
@@ -643,7 +643,7 @@ const Jo = (e, r) => {
|
|
|
643
643
|
width: "200px",
|
|
644
644
|
type: "dateRange",
|
|
645
645
|
format: "YYYY/MM/DD",
|
|
646
|
-
valueFormat: "YYYY/MM/DD",
|
|
646
|
+
valueFormat: "YYYY/MM/DD HH:mm:ss",
|
|
647
647
|
value: [],
|
|
648
648
|
closable: !0,
|
|
649
649
|
allowClear: !0
|
|
@@ -671,11 +671,11 @@ const Jo = (e, r) => {
|
|
|
671
671
|
ir(() => {
|
|
672
672
|
const i = [];
|
|
673
673
|
Object.keys(s).map((c) => (o.value.map((a) => {
|
|
674
|
-
var
|
|
675
|
-
if ((
|
|
674
|
+
var m;
|
|
675
|
+
if ((m = c == null ? void 0 : c.split(",")) != null && m.includes(a.name) && s[c])
|
|
676
676
|
if (a.ct === "dateRange") {
|
|
677
677
|
if (s[c][0] && s[c][1]) {
|
|
678
|
-
const x = ve(s[c][0]).startOf("day").format("YYYY-MM-DD"), P = ve(s[c][1]).endOf("day").format("YYYY-MM-DD");
|
|
678
|
+
const x = ve(s[c][0]).startOf("day").format("YYYY-MM-DD HH:mm:ss"), P = ve(s[c][1]).endOf("day").format("YYYY-MM-DD HH:mm:ss");
|
|
679
679
|
i.push({
|
|
680
680
|
property: c,
|
|
681
681
|
value: [x, P],
|
|
@@ -712,9 +712,9 @@ const Jo = (e, r) => {
|
|
|
712
712
|
if (a[c] === i)
|
|
713
713
|
return a;
|
|
714
714
|
if (a.children) {
|
|
715
|
-
const
|
|
716
|
-
if (
|
|
717
|
-
return
|
|
715
|
+
const m = fe(a.children, i, c);
|
|
716
|
+
if (m)
|
|
717
|
+
return m;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
return null;
|
|
@@ -726,14 +726,14 @@ const Jo = (e, r) => {
|
|
|
726
726
|
let i = !1;
|
|
727
727
|
const c = v(s[0]);
|
|
728
728
|
c.key = "", c.label = "", c.placeholder = "", await Promise.all(
|
|
729
|
-
o.value.map((a,
|
|
729
|
+
o.value.map((a, m) => (async () => {
|
|
730
730
|
var x, P, be;
|
|
731
731
|
if (a.ct === "onetext") {
|
|
732
732
|
if (a.mg) {
|
|
733
|
-
const
|
|
733
|
+
const $ = br().value === "en";
|
|
734
734
|
i = !0;
|
|
735
735
|
const S = a.name, j = a.cm;
|
|
736
|
-
c.key += c.key ? `,${S}` : S, c.label += c.label ? `,${j}` : j, c.placeholder += c.placeholder ?
|
|
736
|
+
c.key += c.key ? `,${S}` : S, c.label += c.label ? `,${j}` : j, c.placeholder += c.placeholder ? $ ? `/${j}` : `/${j}`.toLowerCase() : $ ? `${g("process-search-form-search").value}${j}` : `${g("process-search-form-search").value}` + j.toLowerCase(), a.defaultValue && (c.value = a.defaultValue);
|
|
737
737
|
return;
|
|
738
738
|
}
|
|
739
739
|
const n = v(s[1]);
|
|
@@ -742,16 +742,16 @@ const Jo = (e, r) => {
|
|
|
742
742
|
if (a.ct === "select") {
|
|
743
743
|
const n = v(s[2]);
|
|
744
744
|
if (n.label = a.cm, n.key = a.name, n.value = a.defaultValue ? a.defaultValue : void 0, ((x = a.option) == null ? void 0 : x.choiceType) === "static" && (n.options = a.controlContent), ((P = a.option) == null ? void 0 : P.choiceType) === "dynamic" && (n.optionsValueKey = a.option.customQuery.valueBind, n.optionsLabelKey = a.option.customQuery.labelBind, a.option.customQuery.url)) {
|
|
745
|
-
const
|
|
745
|
+
const $ = {};
|
|
746
746
|
if (a.option.customQuery.conditionfield.map((S) => {
|
|
747
|
-
|
|
747
|
+
$[S.field] = S.defaultValue;
|
|
748
748
|
}), a.option.customQuery.requestType === "GET") {
|
|
749
|
-
const S = { project: d,
|
|
749
|
+
const S = { project: d, ...$ }, [j, X] = await Ve(a.option.customQuery.url).get("")(S).run();
|
|
750
750
|
if (j) return;
|
|
751
751
|
n.options = X;
|
|
752
752
|
}
|
|
753
753
|
if (a.option.customQuery.requestType === "POST") {
|
|
754
|
-
const S = { project: d,
|
|
754
|
+
const S = { project: d, ...$ }, [j, X] = await Ve(a.option.customQuery.url).post("")(S).run();
|
|
755
755
|
if (j) return;
|
|
756
756
|
n.options = X;
|
|
757
757
|
}
|
|
@@ -776,8 +776,8 @@ const Jo = (e, r) => {
|
|
|
776
776
|
}
|
|
777
777
|
if (a.ct === "orgSelector") {
|
|
778
778
|
const n = v(s[7]);
|
|
779
|
-
n.label = a.cm, n.key = a.name, a.defaultValue && (n.value = a.defaultValue), A.value && Object.keys(A.value).forEach((
|
|
780
|
-
n[
|
|
779
|
+
n.label = a.cm, n.key = a.name, a.defaultValue && (n.value = a.defaultValue), A.value && Object.keys(A.value).forEach(($) => {
|
|
780
|
+
n[$] = A.value[$];
|
|
781
781
|
}), u.value.push(n);
|
|
782
782
|
}
|
|
783
783
|
})())
|
|
Binary file
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/upload-file/style.css';
|
|
2
|
-
import { ref as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { DasInput as
|
|
5
|
-
import { DasUpload as
|
|
6
|
-
import { useCalculateSize as
|
|
2
|
+
import { ref as v, computed as h, defineComponent as z, useCssVars as U, createElementBlock as r, openBlock as p, createCommentVNode as V, createElementVNode as y, createVNode as c, unref as u, mergeProps as f, isRef as w, normalizeClass as F } from "vue";
|
|
3
|
+
import { withInstall as k } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { DasInput as S } from "@das-fed/ui/packages/components/input/index";
|
|
5
|
+
import { DasUpload as b } from "@das-fed/ui/packages/components/upload/index";
|
|
6
|
+
import { useCalculateSize as B, minioUpload as C, DasImageViewer as D } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
7
7
|
import { t as N, setI18nRule as P } from "@das-fed/web/packages/i18n/index";
|
|
8
8
|
import { DasMessage as I } from "@das-fed/ui/packages/components/message/index";
|
|
9
|
-
const
|
|
10
|
-
const a =
|
|
11
|
-
if (
|
|
12
|
-
const { finalSize:
|
|
13
|
-
if (
|
|
14
|
-
const
|
|
15
|
-
return I.warning(
|
|
9
|
+
const T = (e, o) => {
|
|
10
|
+
const a = v(!1), { size2B: d } = B(), { upload: n } = C(e), m = (i) => {
|
|
11
|
+
if (e.maxSize) {
|
|
12
|
+
const { finalSize: t, sizeText: s } = d(e.maxSize);
|
|
13
|
+
if (i.size > t) {
|
|
14
|
+
const x = N("upload-file_uploadFileSizeLimit", s);
|
|
15
|
+
return I.warning(x), !1;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
return !0;
|
|
19
19
|
}, l = h({
|
|
20
|
-
get: () =>
|
|
21
|
-
set: (
|
|
20
|
+
get: () => e.modelValue,
|
|
21
|
+
set: (i) => o("update:modelValue", i)
|
|
22
22
|
});
|
|
23
23
|
return {
|
|
24
24
|
loading: a,
|
|
25
25
|
imgUrl: l,
|
|
26
|
-
uploadFile: async (
|
|
27
|
-
if (a.value = !0,
|
|
28
|
-
const
|
|
29
|
-
|
|
26
|
+
uploadFile: async (i) => {
|
|
27
|
+
if (a.value = !0, m(i)) {
|
|
28
|
+
const t = await n(i);
|
|
29
|
+
t && t !== "error" ? (l.value = t, o("upload-success", i, t)) : o("upload-fail", i);
|
|
30
30
|
}
|
|
31
31
|
a.value = !1;
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
},
|
|
34
|
+
}, A = { class: "das-business-file-upload" }, H = {
|
|
35
35
|
key: 0,
|
|
36
36
|
class: "input-box"
|
|
37
|
-
},
|
|
37
|
+
}, L = { class: "upload-box" }, R = /* @__PURE__ */ z({
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "App",
|
|
40
40
|
props: {
|
|
@@ -55,32 +55,32 @@ const _ = (o, t) => {
|
|
|
55
55
|
imageProps: { default: () => ({}) }
|
|
56
56
|
},
|
|
57
57
|
emits: ["update:modelValue", "upload-success", "upload-fail"],
|
|
58
|
-
setup(
|
|
59
|
-
|
|
60
|
-
e810a398:
|
|
61
|
-
|
|
58
|
+
setup(e, { emit: o }) {
|
|
59
|
+
U((i) => ({
|
|
60
|
+
e810a398: m.value,
|
|
61
|
+
v7d7d61be: i.imageHeight
|
|
62
62
|
}));
|
|
63
|
-
const a =
|
|
64
|
-
return (
|
|
65
|
-
e.type === "input" ? (
|
|
66
|
-
|
|
63
|
+
const a = e, d = o, n = v([]), m = h(() => (a == null ? void 0 : a.width) ?? "100%"), { imgUrl: l, uploadFile: g } = T(a, d);
|
|
64
|
+
return (i, t) => (p(), r("div", A, [
|
|
65
|
+
e.type === "input" ? (p(), r("div", H, [
|
|
66
|
+
c(u(S), f({
|
|
67
67
|
width: "100%",
|
|
68
68
|
modelValue: u(l),
|
|
69
|
-
"onUpdate:modelValue":
|
|
69
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => w(l) ? l.value = s : null),
|
|
70
70
|
"is-view": e.isView
|
|
71
71
|
}, e.inputProps), null, 16, ["modelValue", "is-view"])
|
|
72
72
|
])) : V("v-if", !0),
|
|
73
|
-
e.type === "image" ? (
|
|
73
|
+
e.type === "image" ? (p(), r(
|
|
74
74
|
"div",
|
|
75
75
|
{
|
|
76
76
|
key: 1,
|
|
77
|
-
class:
|
|
77
|
+
class: F(["image-box", e.isView ? "is-view" : ""])
|
|
78
78
|
},
|
|
79
79
|
[
|
|
80
|
-
|
|
80
|
+
c(u(D), f({
|
|
81
81
|
style: { width: e.imageWidth, height: e.imageHeight },
|
|
82
82
|
modelValue: u(l),
|
|
83
|
-
"onUpdate:modelValue":
|
|
83
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => w(l) ? l.value = s : null),
|
|
84
84
|
status: "info",
|
|
85
85
|
"is-view": !0
|
|
86
86
|
}, e.imageProps), null, 16, ["style", "modelValue"])
|
|
@@ -88,32 +88,32 @@ const _ = (o, t) => {
|
|
|
88
88
|
2
|
|
89
89
|
/* CLASS */
|
|
90
90
|
)) : V("v-if", !0),
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
y("div", L, [
|
|
92
|
+
c(u(b), f({
|
|
93
93
|
modelValue: n.value,
|
|
94
|
-
"onUpdate:modelValue":
|
|
94
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => n.value = s),
|
|
95
95
|
draggle: !1,
|
|
96
96
|
"is-view": e.isView
|
|
97
|
-
},
|
|
97
|
+
}, i.$attrs, { onFileUpload: u(g) }), null, 16, ["modelValue", "is-view", "onFileUpload"])
|
|
98
98
|
])
|
|
99
99
|
]));
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
102
|
-
const a =
|
|
103
|
-
for (const [d, n] of
|
|
101
|
+
}), W = (e, o) => {
|
|
102
|
+
const a = e.__vccOpts || e;
|
|
103
|
+
for (const [d, n] of o)
|
|
104
104
|
a[d] = n;
|
|
105
105
|
return a;
|
|
106
|
-
},
|
|
106
|
+
}, $ = /* @__PURE__ */ W(R, [["__scopeId", "data-v-b0e4c862"]]), E = {
|
|
107
107
|
"upload-file_uploadFileSizeLimit": {
|
|
108
108
|
"zh-CN": "上传的文件大小不能超过$0",
|
|
109
109
|
en: "The size of the uploaded file cannot exceed $0",
|
|
110
110
|
_appCode: "framework"
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
P(
|
|
114
|
-
const
|
|
113
|
+
P(E);
|
|
114
|
+
const Q = k($), X = () => v(null), Y = { name: "复合型文件上传 upload-file" };
|
|
115
115
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
Q as DasBusinessUploadFile,
|
|
117
|
+
X as DasBusinessUploadFileRef,
|
|
118
|
+
Y as default
|
|
119
119
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-business-file-upload[data-v-b0e4c862]{display:flex;align-items:center;width:var(--e810a398)}.das-business-file-upload .input-box[data-v-b0e4c862]{flex:1;min-width:0;padding-right:20px;box-sizing:border-box}.das-business-file-upload .image-box[data-v-b0e4c862]{position:relative;padding-right:60px}.das-business-file-upload .image-box[data-v-b0e4c862]:not(.is-view):after{position:absolute;display:block;content:"";height:calc(var(--
|
|
1
|
+
.das-business-file-upload[data-v-b0e4c862]{display:flex;align-items:center;width:var(--e810a398)}.das-business-file-upload .input-box[data-v-b0e4c862]{flex:1;min-width:0;padding-right:20px;box-sizing:border-box}.das-business-file-upload .image-box[data-v-b0e4c862]{position:relative;padding-right:60px}.das-business-file-upload .image-box[data-v-b0e4c862]:not(.is-view):after{position:absolute;display:block;content:"";height:calc(var(--v7d7d61be) - 10px);width:1px;right:30px;top:50%;transform:translateY(-50%);background-color:#d9d9d9}
|