@10yun/cv-mobile-ui 0.5.56 → 0.5.58
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/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +605 -605
- package/{ui-sdks → other}/qiun-data-charts/package.json +2 -1
- package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +20 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +542 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +246 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +51 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +48 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/main.js +13 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +75 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +448 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +1 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +142 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +228 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +113 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +110 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +58 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +174 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +233 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +115 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +339 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +117 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +212 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +79 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +76 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +455 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +76 -0
- package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate0.vue +2 -1
- package/other/{u-parse-2019 → u-parse}/libs/html2json.js +2 -2
- package/other/{uParse → u-parse}/libs/wxDiscode.js +1 -1
- package/other/u-parse/readme.md +102 -0
- package/other/{u-parse-2019 → u-parse}/u-parse.vue +1 -6
- package/other/u-parse2026/libs/html2json.js +2 -2
- package/other/u-parse2026/libs/wxDiscode.js +1 -1
- package/other/u-parse2026/u-parse.css +1 -0
- package/other/u-parse2026/u-parse.vue +1 -3
- package/other/uParse2/components/wxParseAudio.vue +1 -0
- package/other/{uParse → uParse2}/components/wxParseImg.vue +4 -4
- package/other/{uParse → uParse2}/components/wxParseTable.vue +15 -6
- package/other/{uParse → uParse2}/components/wxParseTemplate0.vue +7 -6
- package/other/{uParse → uParse2}/components/wxParseTemplate1.vue +10 -0
- package/other/{uParse → uParse2}/libs/html2json.js +2 -2
- package/other/{u-parse-2019 → uParse2}/libs/wxDiscode.js +1 -1
- package/other/{uParse/wxParse.css → uParse2/u-parse.css} +4 -4
- package/other/{uParse/wxParse.vue → uParse2/u-parse.vue} +18 -11
- package/other/uParse2/u-parse2.css +264 -0
- package/package.json +1 -1
- package/ui-cv/components/cv-dialog-bottom/cv-dialog-bottom.vue +35 -58
- package/ui-cv/components/cv-dialog-full/cv-dialog-full.vue +55 -62
- package/ui-cv/components/cv-dialog-share/cv-dialog-share.vue +7 -7
- package/ui-cv/components/cv-dialog-share/share.vue +1 -10
- package/ui-cv/components/cv-dialog-share/tui-share.vue +2 -2
- package/ui-cv/components/cv-filter-hm/cv-filter-hm.vue +8 -6
- package/ui-cv/components/cv-geo-local/cv-geo-local.vue +1 -1
- package/ui-cv/components/cv-icons/cv-icons.vue +29 -62
- package/ui-cv/components/cv-icons/iconfont/font-default-icons.js +127 -131
- package/ui-cv/components/cv-input-password/cv-input-password.vue +1 -1
- package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +1 -1
- package/ui-cv/components/cv-mask-svg/mixins.js +16 -12
- package/ui-cv/components/cv-upload-image/cv-upload-image.vue +4 -4
- package/ui-cv/components/cv-upload-image/demo.vue +1 -1
- package/ui-fireui/components/u-share-model/u-share-model.vue +1 -1
- package/ui-fireui/components/u-uploadsamll/u-uploadsamll.vue +1 -1
- package/uview-plus/components/u-button/props-old.js +159 -0
- package/uview-plus/components/u-button/props.js +7 -0
- package/uview-plus/components/u-button/u-button-old.vue +476 -0
- package/uview-plus/components/u-button/u-button-wu.vue +13 -10
- package/uview-plus/components/u-button/u-button.vue +47 -14
- package/uview-plus/components/u-form/form.js +13 -12
- package/uview-plus/components/u-parse/README.md +192 -0
- package/uview-plus/components/u-parse/changelog.md +163 -0
- package/uview-plus/components/u-parse/node/node.vue +37 -3
- package/{uni-ui/lib/uni-breadcrumb → uview-plus/components/u-parse}/package.json +24 -29
- package/uview-plus/components/u-parse/parser.js +8 -3
- package/uview-plus/components/u-parse/static/app-plus/up-parse/js/handler.js +1 -0
- package/uview-plus/components/u-parse/static/app-plus/up-parse/local-2.5.2.html +29 -0
- package/uview-plus/components/u-parse/u-parse.vue +29 -1
- package/uview-plus/components/u-upload/file.js +186 -0
- package/uview-plus/components/u-upload/props-old.js +176 -0
- package/uview-plus/components/u-upload/props.js +12 -0
- package/uview-plus/components/u-upload/u-upload.vue +100 -15
- package/uview-plus/components/u-upload/u-upload2.vue +854 -0
- package/uview-plus/libs/mixin/openType.js +35 -0
- package/other/lime-painter2/README2.md +0 -576
- package/other/lime-painter2/changelog.md +0 -225
- package/other/lime-painter2/package.json +0 -93
- package/other/lime-painter2/readme.md +0 -758
- package/other/lime-painter2/test.md +0 -45
- package/other/qiun-data-charts/qiun-data-charts.vue +0 -1618
- package/other/u-parse-2019/readme.md +0 -99
- package/other/uParse/components/style.css +0 -1
- package/other/uParse/components/wxParseAudio.vue +0 -1
- package/other/xt-parse/changelog.md +0 -41
- package/other/xt-parse/node/node.vue +0 -752
- package/other/xt-parse/package.json +0 -129
- package/other/xt-parse/parser.js +0 -1461
- package/other/xt-parse/props.js +0 -49
- package/other/xt-parse/readme.md +0 -145
- package/other/xt-parse/static/app-plus/u-parse/js/handler.js +0 -1
- package/other/xt-parse/u-parse.vue +0 -510
- package/plugins/luch-request/adapters/index.js +0 -131
- package/plugins/luch-request/core/InterceptorManager.js +0 -50
- package/plugins/luch-request/core/Request.js +0 -199
- package/plugins/luch-request/core/buildFullPath.js +0 -20
- package/plugins/luch-request/core/defaults.js +0 -32
- package/plugins/luch-request/core/dispatchRequest.js +0 -5
- package/plugins/luch-request/core/mergeConfig.js +0 -125
- package/plugins/luch-request/core/settle.js +0 -16
- package/plugins/luch-request/helpers/buildURL.js +0 -71
- package/plugins/luch-request/helpers/combineURLs.js +0 -12
- package/plugins/luch-request/helpers/isAbsoluteURL.js +0 -14
- package/plugins/luch-request/index.d.ts +0 -197
- package/plugins/luch-request/index.js +0 -2
- package/plugins/luch-request/readme.md +0 -3
- package/plugins/luch-request/utils/clone.js +0 -260
- package/plugins/luch-request/utils.js +0 -131
- package/ui-cv/components/cv-cell-row/cv-cell-row.vue +0 -220
- package/ui-cv/components/cv-dialog-share/uni-popup-share.vue +0 -139
- package/ui-cv/components/cv-icons/iconfont/font-action-icons.js +0 -73
- package/ui-cv/components/cv-icons/iconfont/font-action.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-action.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-arrow-icons.js +0 -47
- package/ui-cv/components/cv-icons/iconfont/font-arrow.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-arrow.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-base-icons.js +0 -92
- package/ui-cv/components/cv-icons/iconfont/font-base.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-base.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-mall-icons.js +0 -35
- package/ui-cv/components/cv-icons/iconfont/font-mall.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-mall.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-media-icons.js +0 -45
- package/ui-cv/components/cv-icons/iconfont/font-media.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-media.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-order-icons.js +0 -34
- package/ui-cv/components/cv-icons/iconfont/font-order.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-order.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-people-icons.js +0 -49
- package/ui-cv/components/cv-icons/iconfont/font-people.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-people.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-status-icons.js +0 -34
- package/ui-cv/components/cv-icons/iconfont/font-status.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-status.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-wallet-icons.js +0 -17
- package/ui-cv/components/cv-icons/iconfont/font-wallet.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-wallet.js +0 -5
- package/ui-cv/components/cv-icons/icons/default-icons.js +0 -132
- package/ui-cv/components/cv-icons/icons/icons-action.js +0 -72
- package/ui-cv/components/cv-icons/icons/icons-arrow.js +0 -46
- package/ui-cv/components/cv-icons/icons/icons-base.js +0 -89
- package/ui-cv/components/cv-icons/icons/icons-mall.js +0 -34
- package/ui-cv/components/cv-icons/icons/icons-media.js +0 -44
- package/ui-cv/components/cv-icons/icons/icons-order.js +0 -33
- package/ui-cv/components/cv-icons/icons/icons-people.js +0 -46
- package/ui-cv/components/cv-icons/icons/icons-status.js +0 -32
- package/ui-cv/components/cv-icons/icons/icons-wallet.js +0 -15
- package/ui-sdks/sdk-app-update/img/logo.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
- package/ui-sdks/sdk-app-update/sdk-app-update.vue +0 -396
- package/ui-sdks/sdk-app-update/xxxx +0 -62
- package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +0 -113
- package/ui-sdks/sdk-u-charts/config-echarts.js +0 -420
- package/ui-sdks/sdk-u-charts/config-ucharts.js +0 -630
- package/ui-sdks/sdk-u-charts/u-charts.js +0 -7398
- package/ui-sdks/sdk-u-charts/u-charts.min.js +0 -1
- package/ui-sdks/sdk-webview-main/WebViewMain.vue +0 -1
- package/ui-sdks/sdk-webview-main/main.js +0 -0
- package/ui-sdks/sdk-webview-main/mixin.js +0 -0
- package/uni-ui/lib/uni-badge/changelog.md +0 -33
- package/uni-ui/lib/uni-badge/package.json +0 -107
- package/uni-ui/lib/uni-badge/readme.md +0 -8
- package/uni-ui/lib/uni-breadcrumb/changelog.md +0 -6
- package/uni-ui/lib/uni-breadcrumb/readme.md +0 -66
- package/uni-ui/lib/uni-calendar/changelog.md +0 -30
- package/uni-ui/lib/uni-calendar/package.json +0 -105
- package/uni-ui/lib/uni-calendar/readme.md +0 -103
- package/uni-ui/lib/uni-card/changelog.md +0 -26
- package/uni-ui/lib/uni-card/package.json +0 -107
- package/uni-ui/lib/uni-card/readme.md +0 -10
- package/uni-ui/lib/uni-collapse/changelog.md +0 -48
- package/uni-ui/lib/uni-collapse/package.json +0 -106
- package/uni-ui/lib/uni-collapse/readme.md +0 -11
- package/uni-ui/lib/uni-combox/changelog.md +0 -17
- package/uni-ui/lib/uni-combox/package.json +0 -107
- package/uni-ui/lib/uni-combox/readme.md +0 -10
- package/uni-ui/lib/uni-countdown/changelog.md +0 -30
- package/uni-ui/lib/uni-countdown/package.json +0 -105
- package/uni-ui/lib/uni-countdown/readme.md +0 -9
- package/uni-ui/lib/uni-data-checkbox/changelog.md +0 -51
- package/uni-ui/lib/uni-data-checkbox/package.json +0 -107
- package/uni-ui/lib/uni-data-checkbox/readme.md +0 -17
- package/uni-ui/lib/uni-data-picker/changelog.md +0 -81
- package/uni-ui/lib/uni-data-picker/package.json +0 -109
- package/uni-ui/lib/uni-data-picker/readme.md +0 -21
- package/uni-ui/lib/uni-data-select/changelog.md +0 -51
- package/uni-ui/lib/uni-data-select/package.json +0 -106
- package/uni-ui/lib/uni-data-select/readme.md +0 -7
- package/uni-ui/lib/uni-dateformat/changelog.md +0 -10
- package/uni-ui/lib/uni-dateformat/package.json +0 -107
- package/uni-ui/lib/uni-dateformat/readme.md +0 -10
- package/uni-ui/lib/uni-datetime-picker/changelog.md +0 -177
- package/uni-ui/lib/uni-datetime-picker/package.json +0 -107
- package/uni-ui/lib/uni-datetime-picker/readme.md +0 -20
- package/uni-ui/lib/uni-drawer/changelog.md +0 -13
- package/uni-ui/lib/uni-drawer/package.json +0 -106
- package/uni-ui/lib/uni-drawer/readme.md +0 -9
- package/uni-ui/lib/uni-easyinput/changelog.md +0 -121
- package/uni-ui/lib/uni-easyinput/package.json +0 -107
- package/uni-ui/lib/uni-easyinput/readme.md +0 -10
- package/uni-ui/lib/uni-fab/changelog.md +0 -25
- package/uni-ui/lib/uni-fab/package.json +0 -107
- package/uni-ui/lib/uni-fab/readme.md +0 -8
- package/uni-ui/lib/uni-fav/changelog.md +0 -19
- package/uni-ui/lib/uni-fav/package.json +0 -106
- package/uni-ui/lib/uni-fav/readme.md +0 -9
- package/uni-ui/lib/uni-file-picker/changelog.md +0 -91
- package/uni-ui/lib/uni-file-picker/package.json +0 -105
- package/uni-ui/lib/uni-file-picker/readme.md +0 -10
- package/uni-ui/lib/uni-forms/changelog.md +0 -100
- package/uni-ui/lib/uni-forms/package.json +0 -107
- package/uni-ui/lib/uni-forms/readme.md +0 -22
- package/uni-ui/lib/uni-goods-nav/changelog.md +0 -18
- package/uni-ui/lib/uni-goods-nav/package.json +0 -105
- package/uni-ui/lib/uni-goods-nav/readme.md +0 -9
- package/uni-ui/lib/uni-grid/changelog.md +0 -13
- package/uni-ui/lib/uni-grid/package.json +0 -106
- package/uni-ui/lib/uni-grid/readme.md +0 -10
- package/uni-ui/lib/uni-group/changelog.md +0 -16
- package/uni-ui/lib/uni-group/package.json +0 -106
- package/uni-ui/lib/uni-group/readme.md +0 -8
- package/uni-ui/lib/uni-icons/changelog.md +0 -44
- package/uni-ui/lib/uni-icons/package.json +0 -111
- package/uni-ui/lib/uni-icons/readme.md +0 -7
- package/uni-ui/lib/uni-indexed-list/changelog.md +0 -19
- package/uni-ui/lib/uni-indexed-list/package.json +0 -107
- package/uni-ui/lib/uni-indexed-list/readme.md +0 -10
- package/uni-ui/lib/uni-link/changelog.md +0 -17
- package/uni-ui/lib/uni-link/package.json +0 -106
- package/uni-ui/lib/uni-link/readme.md +0 -10
- package/uni-ui/lib/uni-list/changelog.md +0 -52
- package/uni-ui/lib/uni-list/package.json +0 -108
- package/uni-ui/lib/uni-list/readme.md +0 -44
- package/uni-ui/lib/uni-load-more/changelog.md +0 -27
- package/uni-ui/lib/uni-load-more/package.json +0 -105
- package/uni-ui/lib/uni-load-more/readme.md +0 -12
- package/uni-ui/lib/uni-nav-bar/changelog.md +0 -64
- package/uni-ui/lib/uni-nav-bar/package.json +0 -106
- package/uni-ui/lib/uni-nav-bar/readme.md +0 -13
- package/uni-ui/lib/uni-notice-bar/changelog.md +0 -22
- package/uni-ui/lib/uni-notice-bar/package.json +0 -107
- package/uni-ui/lib/uni-notice-bar/readme.md +0 -11
- package/uni-ui/lib/uni-number-box/changelog.md +0 -39
- package/uni-ui/lib/uni-number-box/package.json +0 -104
- package/uni-ui/lib/uni-number-box/readme.md +0 -11
- package/uni-ui/lib/uni-pagination/changelog.md +0 -27
- package/uni-ui/lib/uni-pagination/package.json +0 -106
- package/uni-ui/lib/uni-pagination/readme.md +0 -10
- package/uni-ui/lib/uni-popup/changelog.md +0 -102
- package/uni-ui/lib/uni-popup/package.json +0 -107
- package/uni-ui/lib/uni-popup/readme.md +0 -15
- package/uni-ui/lib/uni-rate/changelog.md +0 -27
- package/uni-ui/lib/uni-rate/package.json +0 -106
- package/uni-ui/lib/uni-rate/readme.md +0 -11
- package/uni-ui/lib/uni-row/changelog.md +0 -10
- package/uni-ui/lib/uni-row/package.json +0 -106
- package/uni-ui/lib/uni-row/readme.md +0 -9
- package/uni-ui/lib/uni-scss/changelog.md +0 -8
- package/uni-ui/lib/uni-scss/package.json +0 -99
- package/uni-ui/lib/uni-scss/readme.md +0 -3
- package/uni-ui/lib/uni-search-bar/changelog.md +0 -47
- package/uni-ui/lib/uni-search-bar/package.json +0 -106
- package/uni-ui/lib/uni-search-bar/readme.md +0 -12
- package/uni-ui/lib/uni-section/changelog.md +0 -2
- package/uni-ui/lib/uni-section/package.json +0 -104
- package/uni-ui/lib/uni-section/readme.md +0 -7
- package/uni-ui/lib/uni-segmented-control/changelog.md +0 -15
- package/uni-ui/lib/uni-segmented-control/package.json +0 -106
- package/uni-ui/lib/uni-segmented-control/readme.md +0 -11
- package/uni-ui/lib/uni-steps/changelog.md +0 -18
- package/uni-ui/lib/uni-steps/package.json +0 -106
- package/uni-ui/lib/uni-steps/readme.md +0 -11
- package/uni-ui/lib/uni-swipe-action/changelog.md +0 -60
- package/uni-ui/lib/uni-swipe-action/package.json +0 -113
- package/uni-ui/lib/uni-swipe-action/readme.md +0 -10
- package/uni-ui/lib/uni-swiper-dot/changelog.md +0 -12
- package/uni-ui/lib/uni-swiper-dot/package.json +0 -106
- package/uni-ui/lib/uni-swiper-dot/readme.md +0 -10
- package/uni-ui/lib/uni-table/changelog.md +0 -35
- package/uni-ui/lib/uni-table/package.json +0 -106
- package/uni-ui/lib/uni-table/readme.md +0 -11
- package/uni-ui/lib/uni-tag/changelog.md +0 -25
- package/uni-ui/lib/uni-tag/package.json +0 -106
- package/uni-ui/lib/uni-tag/readme.md +0 -11
- package/uni-ui/lib/uni-title/changelog.md +0 -10
- package/uni-ui/lib/uni-title/package.json +0 -107
- package/uni-ui/lib/uni-title/readme.md +0 -12
- package/uni-ui/lib/uni-tooltip/changelog.md +0 -16
- package/uni-ui/lib/uni-tooltip/package.json +0 -104
- package/uni-ui/lib/uni-tooltip/readme.md +0 -7
- package/uni-ui/lib/uni-transition/changelog.md +0 -31
- package/uni-ui/lib/uni-transition/package.json +0 -112
- package/uni-ui/lib/uni-transition/readme.md +0 -10
- package/uni-ui/lib/uni-ui/changelog.md +0 -639
- package/uni-ui/lib/uni-ui/package.json +0 -148
- package/uni-ui/lib/uni-ui/readme.md +0 -247
- package/uview-plus/libs/mixin/openType2.js +0 -60
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/canvas.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw2.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/gradient.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index.vue +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index2.vue +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/layout.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/qrcode.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/utils.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/changelog.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading1.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading2.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading3.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading4.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading5.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-echarts.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/readme.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +0 -0
- /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/app-echarts.min.js +0 -0
- /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/h5-echarts.min.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/license.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/readme.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/static/app-plus/echarts.min.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/static/h5/echarts.min.js +0 -0
- /package/{ui-sdks → other}/tui-clipboard/tui-clipboard.js +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseAudio.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseImg.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate1.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate10.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate11.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate2.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate3.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate4.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate5.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate6.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate7.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate8.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate9.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseVideo.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/libs/htmlparser.js +0 -0
- /package/other/{u-parse-2019 → u-parse}/u-parse.css +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate10.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate11.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate2.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate3.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate4.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate5.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate6.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate7.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate8.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate9.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseVideo.vue +0 -0
- /package/other/{uParse → uParse2}/editor.css +0 -0
- /package/other/{uParse → uParse2}/libs/htmlparser.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/handler2.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min2.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/local.html +0 -0
|
@@ -2,6 +2,18 @@ import { defineMixin } from '../../libs/vue';
|
|
|
2
2
|
import defProps from '../../libs/config/props.js';
|
|
3
3
|
export const props = defineMixin({
|
|
4
4
|
props: {
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: [Number, String, Array],
|
|
7
|
+
default: ''
|
|
8
|
+
},
|
|
9
|
+
initValue: {
|
|
10
|
+
type: [String, Array],
|
|
11
|
+
default: ''
|
|
12
|
+
},
|
|
13
|
+
iconSize: {
|
|
14
|
+
type: [String, Number],
|
|
15
|
+
default: 12
|
|
16
|
+
},
|
|
5
17
|
// 接受的文件类型, 可选值为all media image file video
|
|
6
18
|
accept: {
|
|
7
19
|
type: String,
|
|
@@ -82,21 +82,22 @@
|
|
|
82
82
|
</view>
|
|
83
83
|
<view
|
|
84
84
|
class="u-upload__deletable"
|
|
85
|
+
:style="iconDelStyle"
|
|
85
86
|
v-if="item.status !== 'uploading' && (deletable || item.deletable)"
|
|
86
87
|
@tap.stop="deleteItem(index)"
|
|
87
88
|
>
|
|
88
89
|
<view class="u-upload__deletable__icon">
|
|
89
|
-
<up-icon name="close" color="#ffffff" size="
|
|
90
|
+
<up-icon name="close" color="#ffffff" :size="iconSize"></up-icon>
|
|
90
91
|
</view>
|
|
91
92
|
</view>
|
|
92
93
|
<slot name="success">
|
|
93
|
-
<view class="u-upload__success" v-if="item.status === 'success'">
|
|
94
|
+
<view class="u-upload__success" :style="iconSuccStyle1" v-if="item.status === 'success'">
|
|
94
95
|
<!-- #ifdef APP-NVUE -->
|
|
95
96
|
<image :src="successIcon" class="u-upload__success__icon"></image>
|
|
96
97
|
<!-- #endif -->
|
|
97
98
|
<!-- #ifndef APP-NVUE -->
|
|
98
|
-
<view class="u-upload__success__icon">
|
|
99
|
-
<up-icon name="checkmark" color="#ffffff" size="
|
|
99
|
+
<view class="u-upload__success__icon" :style="iconSuccStyle2">
|
|
100
|
+
<up-icon name="checkmark" color="#ffffff" :size="iconSize"></up-icon>
|
|
100
101
|
</view>
|
|
101
102
|
<!-- #endif -->
|
|
102
103
|
</view>
|
|
@@ -158,6 +159,14 @@ import { mixin } from '../../libs/mixin/mixin';
|
|
|
158
159
|
import { addStyle, addUnit, toast } from '../../libs/function/index';
|
|
159
160
|
import test from '../../libs/function/test';
|
|
160
161
|
import { t } from '../../libs/i18n';
|
|
162
|
+
import {
|
|
163
|
+
fileMimeToExtension,
|
|
164
|
+
checkIsObject,
|
|
165
|
+
generateUniqidName,
|
|
166
|
+
parseJsonSafe,
|
|
167
|
+
parseFormData,
|
|
168
|
+
content_to_array
|
|
169
|
+
} from './file.js';
|
|
161
170
|
/**
|
|
162
171
|
* upload 上传
|
|
163
172
|
* @description 该组件用于上传图片场景
|
|
@@ -204,10 +213,18 @@ export default {
|
|
|
204
213
|
lists: [],
|
|
205
214
|
isInCount: true,
|
|
206
215
|
popupShow: false,
|
|
207
|
-
currentItemIndex: -1
|
|
216
|
+
currentItemIndex: -1,
|
|
217
|
+
localList: []
|
|
208
218
|
};
|
|
209
219
|
},
|
|
210
220
|
watch: {
|
|
221
|
+
initValue: {
|
|
222
|
+
handler() {
|
|
223
|
+
this._init_parse_list();
|
|
224
|
+
},
|
|
225
|
+
immediate: true,
|
|
226
|
+
deep: true
|
|
227
|
+
},
|
|
211
228
|
// 监听文件列表的变化,重新整理内部数据
|
|
212
229
|
fileList: {
|
|
213
230
|
handler() {
|
|
@@ -232,12 +249,59 @@ export default {
|
|
|
232
249
|
}
|
|
233
250
|
},
|
|
234
251
|
// #ifdef VUE3
|
|
235
|
-
emits: [
|
|
252
|
+
emits: [
|
|
253
|
+
'error',
|
|
254
|
+
'beforeRead',
|
|
255
|
+
'oversize',
|
|
256
|
+
'afterRead',
|
|
257
|
+
'delete',
|
|
258
|
+
'clickPreview',
|
|
259
|
+
'update:modelValue',
|
|
260
|
+
'update:fileList',
|
|
261
|
+
'afterAutoUpload'
|
|
262
|
+
],
|
|
236
263
|
// #endif
|
|
264
|
+
computed: {
|
|
265
|
+
// 去除 单位
|
|
266
|
+
iconSizeNum() {
|
|
267
|
+
let size = this.iconSize || 0; // 空值给默认 0
|
|
268
|
+
// if (typeof this.iconSize === 'string' && (this.iconSize.includes('px') || this.iconSize.includes('rpx'))) {
|
|
269
|
+
if (typeof size === 'string') {
|
|
270
|
+
size = size.replace(/[^0-9.]/g, '');
|
|
271
|
+
}
|
|
272
|
+
return parseFloat(size) || 0;
|
|
273
|
+
},
|
|
274
|
+
iconDelStyle() {
|
|
275
|
+
return {
|
|
276
|
+
height: this.iconSizeNum + 4 + 'px',
|
|
277
|
+
width: this.iconSizeNum + 4 + 'px'
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
iconSuccStyle1() {
|
|
281
|
+
return {
|
|
282
|
+
'border-width': this.iconSizeNum - 5 + 'px'
|
|
283
|
+
};
|
|
284
|
+
},
|
|
285
|
+
iconSuccStyle2() {
|
|
286
|
+
return {
|
|
287
|
+
bottom: -(this.iconSizeNum - 3) + 'px',
|
|
288
|
+
right: -(this.iconSizeNum - 3) + 'px'
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
},
|
|
237
292
|
methods: {
|
|
238
293
|
t,
|
|
239
294
|
addUnit,
|
|
240
295
|
addStyle,
|
|
296
|
+
_init_parse_list() {
|
|
297
|
+
if (this.initValue) {
|
|
298
|
+
this.localList = content_to_array(this.initValue);
|
|
299
|
+
} else {
|
|
300
|
+
this.localList = [];
|
|
301
|
+
}
|
|
302
|
+
console.log('---localList--', this.localList);
|
|
303
|
+
this.formatFileList();
|
|
304
|
+
},
|
|
241
305
|
videoErrorCallback() {},
|
|
242
306
|
loadedVideoMetadata(e) {
|
|
243
307
|
if (this.currentItemIndex < 0) {
|
|
@@ -297,9 +361,12 @@ export default {
|
|
|
297
361
|
})
|
|
298
362
|
.exec();
|
|
299
363
|
},
|
|
364
|
+
|
|
300
365
|
formatFileList() {
|
|
301
|
-
const { fileList = [], maxCount } = this;
|
|
302
|
-
const
|
|
366
|
+
const { fileList = [], localList = [], maxCount } = this;
|
|
367
|
+
const fileList2 = localList || fileList || [];
|
|
368
|
+
const lists = fileList2.map((item) => {
|
|
369
|
+
// const lists = fileList.map((item) => {
|
|
303
370
|
const name = item.name || item.url || item.thumb;
|
|
304
371
|
return Object.assign(Object.assign({}, item), {
|
|
305
372
|
// 如果item.url为本地选择的blob文件的话,无法判断其为video还是image,此处优先通过accept做判断处理
|
|
@@ -381,6 +448,7 @@ export default {
|
|
|
381
448
|
index: index == null ? this.fileList.length : index
|
|
382
449
|
};
|
|
383
450
|
},
|
|
451
|
+
|
|
384
452
|
async onAfterRead(file) {
|
|
385
453
|
const { maxSize, afterRead } = this;
|
|
386
454
|
const oversize = Array.isArray(file) ? file.some((item) => item.size > maxSize) : file.size > maxSize;
|
|
@@ -426,23 +494,31 @@ export default {
|
|
|
426
494
|
case 'upload_oss':
|
|
427
495
|
// 阿里云前端直传
|
|
428
496
|
// 获取签名
|
|
429
|
-
console.log();
|
|
430
497
|
let formData = {};
|
|
498
|
+
let save_name = generateUniqidName();
|
|
499
|
+
let extension = fileMimeToExtension(lists[j].type);
|
|
500
|
+
// console.log('---lists[j]--', lists[j]);
|
|
431
501
|
let ret = await uni.request({
|
|
432
502
|
url: this.autoUploadAuthUrl,
|
|
433
|
-
method: '
|
|
503
|
+
method: 'post',
|
|
434
504
|
header: this.autoUploadHeader,
|
|
435
505
|
data: {
|
|
436
|
-
|
|
506
|
+
upload_type: 'aliyun_oss_type2',
|
|
507
|
+
save_sign: 'image',
|
|
508
|
+
filename: lists[j].name,
|
|
509
|
+
save_extension: extension,
|
|
510
|
+
save_name: save_name
|
|
437
511
|
}
|
|
438
512
|
});
|
|
439
513
|
// console.log(ret);
|
|
440
514
|
let res0 = ret.data;
|
|
515
|
+
let res0Param = {};
|
|
441
516
|
if (res0.code == 200) {
|
|
442
517
|
// 路径 + 文件名 + 扩展名
|
|
443
518
|
// 不传递filename就要拼接key
|
|
444
519
|
// res0.data.params.key = res0.data.params.dir + res0.data.params.uniqidName + fileExt;
|
|
445
|
-
|
|
520
|
+
res0Param = res0.data.params || res0.data;
|
|
521
|
+
formData = parseFormData(res0Param);
|
|
446
522
|
} else {
|
|
447
523
|
uni.showToast({
|
|
448
524
|
title: res0.msg,
|
|
@@ -451,7 +527,7 @@ export default {
|
|
|
451
527
|
return;
|
|
452
528
|
}
|
|
453
529
|
var uploadTask = uni.uploadFile({
|
|
454
|
-
url:
|
|
530
|
+
url: res0Param.host,
|
|
455
531
|
filePath: lists[j].url,
|
|
456
532
|
name: 'file',
|
|
457
533
|
// fileType: 'video', // 仅支付宝小程序,且必填。
|
|
@@ -460,22 +536,31 @@ export default {
|
|
|
460
536
|
success: (uploadFileRes) => {
|
|
461
537
|
let thumb = '';
|
|
462
538
|
let afterPromise = '';
|
|
539
|
+
let res1 = parseJsonSafe(uploadFileRes?.data || {});
|
|
463
540
|
if (that.customAfterAutoUpload) {
|
|
464
541
|
afterPromise = new Promise((resolve, reject) => {
|
|
542
|
+
let res2 = res1?.data || res1 || {};
|
|
543
|
+
// TODO 判断是否多图,
|
|
544
|
+
this.$emit('update:modelValue', res2.filelog_id || '');
|
|
465
545
|
that.$emit(
|
|
466
546
|
'afterAutoUpload',
|
|
467
|
-
Object.assign(
|
|
547
|
+
Object.assign(res2, {
|
|
468
548
|
callback: (r) => {
|
|
469
549
|
r.url ? resolve(r) : reject();
|
|
470
550
|
}
|
|
471
551
|
})
|
|
552
|
+
// Object.assign(res0, res1, {
|
|
553
|
+
// callback: (r) => {
|
|
554
|
+
// r.url ? resolve(r) : reject();
|
|
555
|
+
// }
|
|
556
|
+
// })
|
|
472
557
|
);
|
|
473
558
|
});
|
|
474
559
|
}
|
|
475
560
|
if (test.promise(afterPromise)) {
|
|
476
561
|
afterPromise.then((data) => that.succcessUpload(len + j, data.url, data.thumb));
|
|
477
562
|
} else {
|
|
478
|
-
result =
|
|
563
|
+
result = res0Param.host + '/' + res0Param.key;
|
|
479
564
|
if (that.accept === 'video' || test.video(result)) {
|
|
480
565
|
thumb = result + '?x-oss-process=video/snapshot,t_10000,m_fast';
|
|
481
566
|
}
|