@web-utils/component 2.13.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.mjs +9 -9
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +20 -20
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +10 -10
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +23 -23
- package/card/style.css +1 -1
- package/carousel/index.mjs +5 -5
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +3 -3
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.a70cc55d.mjs → FormTemp.FX8xmbVB.mjs} +4 -4
- package/chunks/{confirmable-mixin.d89088b0.mjs → confirmable-mixin.rTUMhoRH.mjs} +25 -24
- package/chunks/{dataformat.504544b2.mjs → dataformat.X_61lMA7.mjs} +1 -1
- package/chunks/{dic.9277cfae.mjs → dic.6tk91Dmq.mjs} +1 -1
- package/chunks/{event.67cfd4fb.mjs → event.NHA7rYFE.mjs} +3 -3
- package/chunks/{form-input-mixin.4632ad36.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.ad148e7b.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{init.7338d214.mjs → init.Ac4dKUJB.mjs} +3 -3
- package/code-mirror-editor/index.mjs +36 -36
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +18 -18
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +9 -9
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +6 -6
- package/data-box/index.mjs +8 -8
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +19 -19
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +22 -22
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +24 -24
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +13 -13
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +18 -18
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +28 -28
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +15 -15
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +7 -7
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +5 -5
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +16 -16
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +6 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +47 -47
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +15 -15
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +7 -7
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +15 -15
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +5 -5
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +8 -8
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +9 -9
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +13 -13
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +5 -5
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +2 -2
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +31 -31
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +4 -4
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +16 -16
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +6 -6
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +8 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +18 -18
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +4 -4
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +37 -37
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +7 -7
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +9 -9
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +7 -7
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +6 -6
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +9 -9
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +8 -8
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +2 -2
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +7 -7
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +10 -10
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +42 -42
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +3 -3
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +5 -5
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +8 -8
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +2 -2
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +6 -6
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +6 -6
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +27 -27
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +14 -14
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +3 -3
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +14 -14
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +17 -17
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +12 -12
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +9 -9
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +16 -16
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +5 -5
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +10 -10
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +7 -7
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +5 -5
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +7 -7
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +12 -12
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +5 -5
- package/loading-view/style.css +1 -1
- package/login/index.mjs +4 -4
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +6 -6
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +8 -8
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +15 -15
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -2
- package/page/index.mjs +8 -8
- package/page/style.css +1 -1
- package/page-header/index.mjs +6 -6
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +19 -19
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +21 -21
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +3 -3
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +12 -12
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +28 -28
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +7 -7
- package/present-view/style.css +1 -1
- package/queue/index.mjs +4 -4
- package/queue/style.css +1 -1
- package/record-video/index.mjs +14 -14
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +6 -6
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +6 -6
- package/search/style.css +1 -1
- package/search-popover/index.mjs +6 -6
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +31 -31
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +5 -5
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +18 -18
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +12 -12
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +9 -9
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +7 -7
- package/swiper/style.css +1 -1
- package/tab/index.mjs +2 -2
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +6 -6
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +29 -29
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +8 -8
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +70 -70
- package/tinymce-editor/style.css +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +6 -6
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +10 -10
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +3 -3
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +364 -369
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +25 -25
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +27 -3
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.61ad06b2.mjs → form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/chunks/{index.57f871af.mjs → index.LGsb2aDq.mjs} +0 -0
- /package/chunks/{input-number-mixin.41a066be.mjs → input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/chunks/{json-beautifier.21cfffea.mjs → json-beautifier.fUZFSW5j.mjs} +0 -0
- /package/chunks/{packages.1fc9ccba.mjs → packages.v6r2Hr7E.mjs} +0 -0
- /package/chunks/{permission.ce5d2121.mjs → permission.E9kZbW48.mjs} +0 -0
- /package/chunks/{slot.4b391395.mjs → slot.j1uMmBnG.mjs} +0 -0
- /package/chunks/{tab-mixin.e2b9c6a4.mjs → tab-mixin.tM9jcRT8.mjs} +0 -0
- /package/chunks/{util.c5724c4a.mjs → util.C2Bhx22L.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → vueComponentNormalizer.JwmUNtgn.mjs} +0 -0
package/present-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
|
|
1
|
+
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
|
package/queue/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
1
|
+
import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var s = function() {
|
|
3
3
|
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
4
4
|
return n("div", {
|
|
5
5
|
class: ["avue-queue", {
|
|
@@ -49,9 +49,9 @@ const l = {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}, a = {};
|
|
52
|
-
var u = /* @__PURE__ */
|
|
52
|
+
var u = /* @__PURE__ */ o(
|
|
53
53
|
l,
|
|
54
|
-
|
|
54
|
+
s,
|
|
55
55
|
i,
|
|
56
56
|
!1,
|
|
57
57
|
c,
|
package/queue/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-queue--block{display:inline-block}
|
|
1
|
+
.avue-queue--block{display:inline-block}
|
package/record-video/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s
|
|
2
|
-
import { n as o } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { s } from "../chunks/util.C2Bhx22L.mjs";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
let n = class {
|
|
4
4
|
/**
|
|
5
5
|
* 构造函数
|
|
@@ -20,15 +20,15 @@ let n = class {
|
|
|
20
20
|
audio: !0,
|
|
21
21
|
video: !0
|
|
22
22
|
// video: { width: this.videoWidth, height: this.videoHeight }
|
|
23
|
-
}).then((
|
|
24
|
-
this.video && ("srcObject" in this.video ? this.video.srcObject =
|
|
23
|
+
}).then((r) => {
|
|
24
|
+
this.video && ("srcObject" in this.video ? this.video.srcObject = r : this.video.src = window.URL.createObjectURL(r), this.video.addEventListener("loadmetadata", () => {
|
|
25
25
|
var d;
|
|
26
26
|
(d = this.video) == null || d.play();
|
|
27
|
-
}), this.mediaRecorder = new MediaRecorder(
|
|
27
|
+
}), this.mediaRecorder = new MediaRecorder(r), this.mediaRecorder.addEventListener("dataavailable", (d) => {
|
|
28
28
|
this.chunks.push(d.data);
|
|
29
29
|
}), e(!0));
|
|
30
|
-
}).catch((
|
|
31
|
-
i(
|
|
30
|
+
}).catch((r) => {
|
|
31
|
+
i(r);
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -109,19 +109,19 @@ const l = {
|
|
|
109
109
|
computed: {
|
|
110
110
|
styleName() {
|
|
111
111
|
return {
|
|
112
|
-
width:
|
|
112
|
+
width: s(this.width)
|
|
113
113
|
};
|
|
114
114
|
},
|
|
115
115
|
imgStyleName() {
|
|
116
116
|
return {
|
|
117
|
-
width:
|
|
117
|
+
width: s(this.width / 2)
|
|
118
118
|
};
|
|
119
119
|
},
|
|
120
120
|
borderStyleName() {
|
|
121
121
|
return {
|
|
122
|
-
width:
|
|
123
|
-
height:
|
|
124
|
-
borderWidth:
|
|
122
|
+
width: s(this.width / 15),
|
|
123
|
+
height: s(this.width / 15),
|
|
124
|
+
borderWidth: s(5)
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
},
|
|
@@ -156,12 +156,12 @@ var v = /* @__PURE__ */ o(
|
|
|
156
156
|
c,
|
|
157
157
|
h,
|
|
158
158
|
!1,
|
|
159
|
-
|
|
159
|
+
m,
|
|
160
160
|
null,
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
function
|
|
164
|
+
function m(t) {
|
|
165
165
|
for (let e in a)
|
|
166
166
|
this[e] = a[e];
|
|
167
167
|
}
|
package/record-video/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
|
|
1
|
+
.avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as o } from "../chunks/index.
|
|
2
|
-
import { n as h } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { j as o } from "../chunks/index.LGsb2aDq.mjs";
|
|
2
|
+
import { n as h } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var a = function() {
|
|
4
4
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
5
5
|
return r("div", {
|
|
@@ -45,18 +45,18 @@ var d = /* @__PURE__ */ h(
|
|
|
45
45
|
a,
|
|
46
46
|
l,
|
|
47
47
|
!1,
|
|
48
|
-
|
|
48
|
+
f,
|
|
49
49
|
null,
|
|
50
50
|
null,
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
|
-
function
|
|
53
|
+
function f(e) {
|
|
54
54
|
for (let t in n)
|
|
55
55
|
this[t] = n[t];
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const u = /* @__PURE__ */ function() {
|
|
58
58
|
return d.exports;
|
|
59
59
|
}();
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
u as default
|
|
62
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:transparent;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
|
|
1
|
+
.resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:transparent;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
|
package/search/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as i } from "../chunks/util.
|
|
2
|
-
import { i as
|
|
3
|
-
import { isBlank as
|
|
4
|
-
import { n as l } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { a as i } from "../chunks/util.C2Bhx22L.mjs";
|
|
2
|
+
import { i as o } from "../chunks/init.Ac4dKUJB.mjs";
|
|
3
|
+
import { isBlank as n } from "@web-utils/core";
|
|
4
|
+
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
5
5
|
var h = function() {
|
|
6
6
|
var t = this, e = t.$createElement, r = t._self._c || e;
|
|
7
7
|
return r("ElRow", {
|
|
@@ -41,7 +41,7 @@ var h = function() {
|
|
|
41
41
|
}, u = [];
|
|
42
42
|
const c = {
|
|
43
43
|
name: "Search",
|
|
44
|
-
mixins: [
|
|
44
|
+
mixins: [o],
|
|
45
45
|
props: {
|
|
46
46
|
value: [String, Object, Number, Boolean, Array]
|
|
47
47
|
},
|
|
@@ -103,7 +103,7 @@ const c = {
|
|
|
103
103
|
dataFormat() {
|
|
104
104
|
this.propOption.forEach((t) => {
|
|
105
105
|
const e = t.prop;
|
|
106
|
-
|
|
106
|
+
n(this.form[e]) && this.$set(this.form, e, t.multiple === !1 ? "" : []);
|
|
107
107
|
});
|
|
108
108
|
},
|
|
109
109
|
getActive(t, e) {
|
package/search/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-search{padding:0 20px}.avue-search__item{border-bottom:1px dashed #e8e8e8;align-items:flex-start;padding:20px 0 10px;display:flex}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;margin-bottom:12px;margin-right:24px;padding:0 12px;font-size:14px;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{color:#fff;opacity:.85}.avue-search__title{box-sizing:border-box;text-align:right;width:120px;margin:0;padding:0 20px;font-size:14px;display:inline-block}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-bottom:10px;margin-right:10px}
|
|
1
|
+
.avue-search{padding:0 20px}.avue-search__item{border-bottom:1px dashed #e8e8e8;align-items:flex-start;padding:20px 0 10px;display:flex}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;margin-bottom:12px;margin-right:24px;padding:0 12px;font-size:14px;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{color:#fff;opacity:.85}.avue-search__title{box-sizing:border-box;text-align:right;width:120px;margin:0;padding:0 20px;font-size:14px;display:inline-block}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-bottom:10px;margin-right:10px}
|
package/search-popover/index.mjs
CHANGED
|
@@ -16,8 +16,8 @@ var c = (t, r, e) => new Promise((s, o) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { copy as d, isInContainer as p } from "@web-utils/core";
|
|
18
18
|
import v from "element-ui/lib/utils/clickoutside";
|
|
19
|
-
import { z as f } from "../chunks/util.
|
|
20
|
-
import { n as m } from "../chunks/vueComponentNormalizer.
|
|
19
|
+
import { z as f } from "../chunks/util.C2Bhx22L.mjs";
|
|
20
|
+
import { n as m } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
21
21
|
var w = function() {
|
|
22
22
|
var t = this, r = t.$createElement, e = t._self._c || r;
|
|
23
23
|
return e("div", {
|
|
@@ -292,7 +292,7 @@ var w = function() {
|
|
|
292
292
|
"font-size": "12px"
|
|
293
293
|
}
|
|
294
294
|
}, [t._v("关闭")])])]);
|
|
295
|
-
},
|
|
295
|
+
}, k = [function() {
|
|
296
296
|
var t = this, r = t.$createElement, e = t._self._c || r;
|
|
297
297
|
return e("div", {
|
|
298
298
|
staticClass: "search-icon"
|
|
@@ -300,7 +300,7 @@ var w = function() {
|
|
|
300
300
|
staticClass: "fa fa-table"
|
|
301
301
|
})]);
|
|
302
302
|
}];
|
|
303
|
-
const
|
|
303
|
+
const y = {
|
|
304
304
|
name: "SearchPopover",
|
|
305
305
|
directives: {
|
|
306
306
|
ClickOutside: v
|
|
@@ -391,9 +391,9 @@ const k = {
|
|
|
391
391
|
}
|
|
392
392
|
}, h = {};
|
|
393
393
|
var x = /* @__PURE__ */ m(
|
|
394
|
-
k,
|
|
395
|
-
w,
|
|
396
394
|
y,
|
|
395
|
+
w,
|
|
396
|
+
k,
|
|
397
397
|
!1,
|
|
398
398
|
g,
|
|
399
399
|
null,
|
package/search-popover/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.search-popover{z-index:100;background-color:#f5f6f7;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeNpi/PTpEwMY8PLyMsFZnz9/ZoKzgAzG////Q1hAABBgAFeiDto+NxIZAAAAAElFTkSuQmCC);background-repeat:repeat;border:1px solid #1989fa;border-radius:4px;flex-direction:column;width:560px;height:500px;display:inline-flex;position:fixed;top:0;left:0;overflow:hidden;transform:translate(calc(50vw - 280px),15%)}.search-popover .footer-tips{text-align:left;border-top:1px solid #1989fa;padding:10px}.search-popover .keyboard-key{background:linear-gradient(-225deg,#d5dbe4,#f8f8f8);border-radius:2px;justify-content:center;align-items:center;width:20px;height:18px;margin-right:.4em;padding-bottom:2px;display:inline-flex;box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4)}.search-popover .search-input{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:1px solid #1989fa;border-radius:4px;outline:none;width:100%;height:46px;padding:10px}.search-popover .search-li{padding:10px}.search-popover .search-icon{color:#969faf;flex-shrink:0;font-size:24px}.search-popover .search-item{box-sizing:border-box;color:#000;background-color:#fff;border-radius:4px;align-items:center;padding:10px;text-decoration:none;display:flex;overflow-x:hidden;box-shadow:0 1px 3px #d4d9e1}.search-popover .search-item .search-action{display:none}.search-popover .search-item .url{color:#969faf;white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow-x:hidden}.search-popover .search-item.active{color:#fff;background-color:#1989fa}.search-popover .search-item.active .url{color:#fff}.search-popover .search-item.active .search-action{display:inline-block}.search-popover .search-item.active .search-icon{color:#fff}
|
|
1
|
+
.search-popover{z-index:100;background-color:#f5f6f7;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeNpi/PTpEwMY8PLyMsFZnz9/ZoKzgAzG////Q1hAABBgAFeiDto+NxIZAAAAAElFTkSuQmCC);background-repeat:repeat;border:1px solid #1989fa;border-radius:4px;flex-direction:column;width:560px;height:500px;display:inline-flex;position:fixed;top:0;left:0;overflow:hidden;transform:translate(calc(50vw - 280px),15%)}.search-popover .footer-tips{text-align:left;border-top:1px solid #1989fa;padding:10px}.search-popover .keyboard-key{background:linear-gradient(-225deg,#d5dbe4,#f8f8f8);border-radius:2px;justify-content:center;align-items:center;width:20px;height:18px;margin-right:.4em;padding-bottom:2px;display:inline-flex;box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4)}.search-popover .search-input{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:1px solid #1989fa;border-radius:4px;outline:none;width:100%;height:46px;padding:10px}.search-popover .search-li{padding:10px}.search-popover .search-icon{color:#969faf;flex-shrink:0;font-size:24px}.search-popover .search-item{box-sizing:border-box;color:#000;background-color:#fff;border-radius:4px;align-items:center;padding:10px;text-decoration:none;display:flex;overflow-x:hidden;box-shadow:0 1px 3px #d4d9e1}.search-popover .search-item .search-action{display:none}.search-popover .search-item .url{color:#969faf;white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow-x:hidden}.search-popover .search-item.active{color:#fff;background-color:#1989fa}.search-popover .search-item.active .url{color:#fff}.search-popover .search-item.active .search-action{display:inline-block}.search-popover .search-item.active .search-icon{color:#fff}
|
package/sign/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { s as g } from "../chunks/util.
|
|
2
|
-
import { n as
|
|
3
|
-
var
|
|
4
|
-
var t = this,
|
|
5
|
-
return
|
|
1
|
+
import { s as g } from "../chunks/util.C2Bhx22L.mjs";
|
|
2
|
+
import { n as p } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
|
+
var x = function() {
|
|
4
|
+
var t = this, s = t.$createElement, n = t._self._c || s;
|
|
5
|
+
return n("div", {
|
|
6
6
|
staticClass: "avue-sign",
|
|
7
7
|
style: t.styleName
|
|
8
|
-
}, [
|
|
8
|
+
}, [n("canvas", {
|
|
9
9
|
ref: "canvas",
|
|
10
10
|
staticClass: "avue-sige__canvas",
|
|
11
11
|
attrs: {
|
|
@@ -13,9 +13,9 @@ var _ = function() {
|
|
|
13
13
|
height: t.height
|
|
14
14
|
}
|
|
15
15
|
})]);
|
|
16
|
-
},
|
|
17
|
-
function
|
|
18
|
-
t.save(), t.fillStyle = e, t.translate(
|
|
16
|
+
}, y = [];
|
|
17
|
+
function _(t, s, n, r, e, o) {
|
|
18
|
+
t.save(), t.fillStyle = e, t.translate(s, n), t.rotate(Math.PI + o), t.beginPath();
|
|
19
19
|
let a = Math.sin(0), d = Math.cos(0);
|
|
20
20
|
const f = Math.PI / 5 * 4;
|
|
21
21
|
for (let h = 0; h < 5; h++)
|
|
@@ -56,26 +56,26 @@ const M = {
|
|
|
56
56
|
this.init();
|
|
57
57
|
},
|
|
58
58
|
methods: {
|
|
59
|
-
getStar(t,
|
|
59
|
+
getStar(t, s, n) {
|
|
60
60
|
const r = this.canvas, e = this.context, o = r.width / 2, a = r.height / 2;
|
|
61
|
-
e.lineWidth = 7, e.strokeStyle = "#f00", e.beginPath(), e.arc(o, a, 110, 0, Math.PI * 2), e.stroke(),
|
|
62
|
-
const d =
|
|
61
|
+
e.lineWidth = 7, e.strokeStyle = "#f00", e.beginPath(), e.arc(o, a, 110, 0, Math.PI * 2), e.stroke(), _(e, o, a, 20, "#f00", 0), e.font = "18px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(t, o, a + 50), e.font = "14px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(n, o, a + 80), e.translate(o, a), e.font = "22px 黑体";
|
|
62
|
+
const d = s.length, f = 4 * Math.PI / (3 * (d - 1)), h = s.split("");
|
|
63
63
|
let l;
|
|
64
64
|
for (let i = 0; i < d; i++)
|
|
65
65
|
l = h[i], i === 0 ? e.rotate(5 * Math.PI / 6) : e.rotate(f), e.save(), e.translate(90, 0), e.rotate(Math.PI / 2), e.strokeText(l, 0, 0), e.restore(), e.save();
|
|
66
66
|
this.disabled = !0;
|
|
67
67
|
},
|
|
68
|
-
submit(t,
|
|
69
|
-
return t || (t = this.width),
|
|
68
|
+
submit(t, s) {
|
|
69
|
+
return t || (t = this.width), s || (s = this.height), this.canvas.toDataURL("i/png");
|
|
70
70
|
},
|
|
71
71
|
clear() {
|
|
72
72
|
this.linex = [], this.liney = [], this.linen = [], this.disabled = !1;
|
|
73
73
|
},
|
|
74
74
|
init() {
|
|
75
75
|
this.canvas = this.$refs.canvas;
|
|
76
|
-
const t = this.canvas,
|
|
76
|
+
const t = this.canvas, s = this;
|
|
77
77
|
typeof document.ontouchstart != "undefined" ? (t.addEventListener("touchmove", d, !1), t.addEventListener("touchstart", f, !1), t.addEventListener("touchend", h, !1)) : (t.addEventListener("mousemove", d, !1), t.addEventListener("mousedown", f, !1), t.addEventListener("mouseup", h, !1), t.addEventListener("mouseleave", h, !1)), this.context = t.getContext("2d");
|
|
78
|
-
const
|
|
78
|
+
const n = this.context;
|
|
79
79
|
this.linex = [], this.liney = [], this.linen = [];
|
|
80
80
|
let r = 1, e = 30, o = 0;
|
|
81
81
|
function a(l, i) {
|
|
@@ -87,33 +87,33 @@ const M = {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
function d(l) {
|
|
90
|
-
if (
|
|
90
|
+
if (s.disabled)
|
|
91
91
|
return;
|
|
92
92
|
const i = a(t, l).x, u = a(t, l).y;
|
|
93
93
|
if (o === 1) {
|
|
94
|
-
|
|
95
|
-
for (let c = 1; c <
|
|
96
|
-
r =
|
|
97
|
-
|
|
94
|
+
s.linex.push(i), s.liney.push(u), s.linen.push(1), n.save(), n.translate(n.canvas.width / 2, n.canvas.height / 2), n.translate(-n.canvas.width / 2, -n.canvas.height / 2), n.beginPath(), n.lineWidth = 2;
|
|
95
|
+
for (let c = 1; c < s.linex.length; c++)
|
|
96
|
+
r = s.linex[c], e = s.liney[c], s.linen[c] === 0 ? n.moveTo(r, e) : n.lineTo(r, e);
|
|
97
|
+
n.shadowBlur = 10, n.stroke(), n.restore();
|
|
98
98
|
}
|
|
99
99
|
l.preventDefault();
|
|
100
100
|
}
|
|
101
101
|
function f(l) {
|
|
102
|
-
if (
|
|
102
|
+
if (s.disabled)
|
|
103
103
|
return;
|
|
104
104
|
const i = a(t, l).x, u = a(t, l).y;
|
|
105
|
-
o = 1,
|
|
105
|
+
o = 1, s.linex.push(i), s.liney.push(u), s.linen.push(0);
|
|
106
106
|
}
|
|
107
107
|
function h() {
|
|
108
|
-
|
|
108
|
+
s.disabled || (o = 0);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
},
|
|
113
|
-
var w = /* @__PURE__ */
|
|
112
|
+
}, m = {};
|
|
113
|
+
var w = /* @__PURE__ */ p(
|
|
114
114
|
M,
|
|
115
|
-
_,
|
|
116
115
|
x,
|
|
116
|
+
y,
|
|
117
117
|
!1,
|
|
118
118
|
b,
|
|
119
119
|
null,
|
|
@@ -121,12 +121,12 @@ var w = /* @__PURE__ */ m(
|
|
|
121
121
|
null
|
|
122
122
|
);
|
|
123
123
|
function b(t) {
|
|
124
|
-
for (let
|
|
125
|
-
this[
|
|
124
|
+
for (let s in m)
|
|
125
|
+
this[s] = m[s];
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const T = /* @__PURE__ */ function() {
|
|
128
128
|
return w.exports;
|
|
129
129
|
}();
|
|
130
130
|
export {
|
|
131
|
-
|
|
131
|
+
T as default
|
|
132
132
|
};
|
package/sign/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-sign{border:1px solid #eee;padding:5px}.avue-sign__canvas{border:1px solid #ccc}
|
|
1
|
+
.avue-sign{border:1px solid #eee;padding:5px}.avue-sign__canvas{border:1px solid #ccc}
|
package/sign-panel/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
2
|
var o = function() {
|
|
3
3
|
var t = this, e = t.$createElement, i = t._self._c || e;
|
|
4
4
|
return i("div", {
|
|
@@ -116,8 +116,8 @@ var o = function() {
|
|
|
116
116
|
}, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : i("i", {
|
|
117
117
|
staticClass: "el-icon-edit-outline sign-edit-icon"
|
|
118
118
|
})])]);
|
|
119
|
-
},
|
|
120
|
-
const
|
|
119
|
+
}, c = [];
|
|
120
|
+
const l = {
|
|
121
121
|
name: "SignPanel",
|
|
122
122
|
props: {
|
|
123
123
|
width: {
|
|
@@ -234,9 +234,9 @@ const c = {
|
|
|
234
234
|
}
|
|
235
235
|
}, a = {};
|
|
236
236
|
var h = /* @__PURE__ */ n(
|
|
237
|
-
c,
|
|
238
|
-
o,
|
|
239
237
|
l,
|
|
238
|
+
o,
|
|
239
|
+
c,
|
|
240
240
|
!1,
|
|
241
241
|
r,
|
|
242
242
|
null,
|
package/sign-panel/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sign-panel{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;justify-content:center;align-items:flex-start;width:100%}.sign-panel .sign-canvas{background:rgba(255,255,155,0);border:1px solid #ccc;width:100%;max-width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-tool-bar{border:1px solid #ccc;border-top:none;width:100%;display:flex}.sign-panel .sign-tips{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.sign-panel .sign-button{text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ebeef5;padding:6px;line-height:1.6}.sign-panel .sign-button:hover{color:#1989fa;background-color:#d0d4de}.sign-panel .sign-button:nth-child(n){border-right:1px solid #ccc}.sign-panel .sign-button:last-child{border:none!important}.sign-panel .sign-watermark{color:#eee;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-view{background-color:#fff;border:1px solid #eee;justify-content:center;align-items:center;min-width:212px;height:80px;display:flex;position:relative}.sign-panel .sign-edit-icon{position:absolute;bottom:4px;right:4px}.sign-panel .sign-image{min-width:160px;height:80px;display:inline-block}.sign-panel .sign-edit{background-color:#fff;flex-direction:column;align-items:center;max-width:100%;display:flex}.sign-panel .sign-draw-area{max-width:100%;position:relative}
|
|
1
|
+
.sign-panel{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;justify-content:center;align-items:flex-start;width:100%}.sign-panel .sign-canvas{background:rgba(255,255,155,0);border:1px solid #ccc;width:100%;max-width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-tool-bar{border:1px solid #ccc;border-top:none;width:100%;display:flex}.sign-panel .sign-tips{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.sign-panel .sign-button{text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ebeef5;padding:6px;line-height:1.6}.sign-panel .sign-button:hover{color:#1989fa;background-color:#d0d4de}.sign-panel .sign-button:nth-child(n){border-right:1px solid #ccc}.sign-panel .sign-button:last-child{border:none!important}.sign-panel .sign-watermark{color:#eee;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-view{background-color:#fff;border:1px solid #eee;justify-content:center;align-items:center;min-width:212px;height:80px;display:flex;position:relative}.sign-panel .sign-edit-icon{position:absolute;bottom:4px;right:4px}.sign-panel .sign-image{min-width:160px;height:80px;display:inline-block}.sign-panel .sign-edit{background-color:#fff;flex-direction:column;align-items:center;max-width:100%;display:flex}.sign-panel .sign-draw-area{max-width:100%;position:relative}
|
package/skeleton/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as o } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
2
|
var r = function() {
|
|
3
3
|
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
4
4
|
return t("div", {
|
|
5
5
|
staticClass: "avue-skeleton"
|
|
6
|
-
}, [e.loading ? e._l(e.number, function(
|
|
6
|
+
}, [e.loading ? e._l(e.number, function(m, n) {
|
|
7
7
|
return t("div", {
|
|
8
8
|
key: n,
|
|
9
9
|
staticClass: "avue-skeleton__item"
|
|
@@ -17,7 +17,7 @@ var r = function() {
|
|
|
17
17
|
class: ["avue-skeleton__title", e.className]
|
|
18
18
|
}), t("div", {
|
|
19
19
|
staticClass: "avue-skeleton__list"
|
|
20
|
-
}, e._l(e.rows, function(
|
|
20
|
+
}, e._l(e.rows, function(d, l) {
|
|
21
21
|
return t("p", {
|
|
22
22
|
key: l,
|
|
23
23
|
class: ["avue-skeleton__li", e.className],
|
|
@@ -25,8 +25,8 @@ var r = function() {
|
|
|
25
25
|
});
|
|
26
26
|
}), 0)])]);
|
|
27
27
|
}) : t("div", [e._t("default")], 2)], 2);
|
|
28
|
-
},
|
|
29
|
-
const
|
|
28
|
+
}, i = [];
|
|
29
|
+
const u = "avue-skeleton", c = {
|
|
30
30
|
name: "Skeleton",
|
|
31
31
|
props: {
|
|
32
32
|
loading: {
|
|
@@ -56,14 +56,14 @@ const i = "avue-skeleton", u = {
|
|
|
56
56
|
},
|
|
57
57
|
className() {
|
|
58
58
|
const { active: e } = this;
|
|
59
|
-
return { [`${
|
|
59
|
+
return { [`${u}__loading`]: e };
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}, s = {};
|
|
63
|
-
var
|
|
64
|
-
|
|
63
|
+
var _ = /* @__PURE__ */ o(
|
|
64
|
+
c,
|
|
65
65
|
r,
|
|
66
|
-
|
|
66
|
+
i,
|
|
67
67
|
!1,
|
|
68
68
|
v,
|
|
69
69
|
null,
|
|
@@ -75,7 +75,7 @@ function v(e) {
|
|
|
75
75
|
this[a] = s[a];
|
|
76
76
|
}
|
|
77
77
|
const p = /* @__PURE__ */ function() {
|
|
78
|
-
return
|
|
78
|
+
return _.exports;
|
|
79
79
|
}();
|
|
80
80
|
export {
|
|
81
81
|
p as default
|
package/skeleton/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-skeleton__avatar{background:#f2f2f2;border-radius:50%;width:40px;height:40px;line-height:40px;display:inline-block}.avue-skeleton__header{vertical-align:top;padding-right:16px;display:table-cell}.avue-skeleton__content{vertical-align:top;width:100%;display:table-cell}.avue-skeleton__title{background:#f2f2f2;width:40%;height:16px;margin-top:16px}.avue-skeleton__item{border-bottom:1px solid #e8e8e8;padding-top:16px;padding-bottom:16px}.avue-skeleton__item:last-child{border-bottom:none}.avue-skeleton__li{background:#f2f2f2;width:100%;height:16px;margin-bottom:10px;list-style:none}.avue-skeleton__li:last-child{width:50%}.avue-skeleton__loading{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%) 0 0/400% 100%;animation:1.4s infinite avue-skeleton-loading}@keyframes avue-skeleton-loading{0%{background-position:100%}to{background-position:0}}
|
|
1
|
+
.avue-skeleton__avatar{background:#f2f2f2;border-radius:50%;width:40px;height:40px;line-height:40px;display:inline-block}.avue-skeleton__header{vertical-align:top;padding-right:16px;display:table-cell}.avue-skeleton__content{vertical-align:top;width:100%;display:table-cell}.avue-skeleton__title{background:#f2f2f2;width:40%;height:16px;margin-top:16px}.avue-skeleton__item{border-bottom:1px solid #e8e8e8;padding-top:16px;padding-bottom:16px}.avue-skeleton__item:last-child{border-bottom:none}.avue-skeleton__li{background:#f2f2f2;width:100%;height:16px;margin-bottom:10px;list-style:none}.avue-skeleton__li:last-child{width:50%}.avue-skeleton__loading{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%) 0 0/400% 100%;animation:1.4s infinite avue-skeleton-loading}@keyframes avue-skeleton-loading{0%{background-position:100%}to{background-position:0}}
|
package/split-pane/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
1
|
+
var l = (t, e, s) => new Promise((o, i) => {
|
|
2
2
|
var n = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
a(s.next(r));
|
|
5
|
-
} catch (
|
|
6
|
-
i(
|
|
5
|
+
} catch (f) {
|
|
6
|
+
i(f);
|
|
7
7
|
}
|
|
8
8
|
}, g = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
a(s.throw(r));
|
|
11
|
-
} catch (
|
|
12
|
-
i(
|
|
11
|
+
} catch (f) {
|
|
12
|
+
i(f);
|
|
13
13
|
}
|
|
14
14
|
}, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(n, g);
|
|
15
15
|
a((s = s.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { n as d } from "../chunks/vueComponentNormalizer.
|
|
17
|
+
import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
18
18
|
import v from "@web-utils/component/resize-observer";
|
|
19
19
|
import "@web-utils/component/resize-observer/style.css";
|
|
20
20
|
function m(t, e) {
|
|
@@ -43,7 +43,7 @@ var x = function() {
|
|
|
43
43
|
}, [t.showIcon ? s("div", {
|
|
44
44
|
class: t.barConClasses
|
|
45
45
|
}, t._m(0), 0) : t._e()]);
|
|
46
|
-
},
|
|
46
|
+
}, $ = [function() {
|
|
47
47
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
48
48
|
return t._l(8, function(o) {
|
|
49
49
|
return s("i", {
|
|
@@ -52,7 +52,7 @@ var x = function() {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}];
|
|
55
|
-
const
|
|
55
|
+
const _ = {
|
|
56
56
|
name: "Trigger",
|
|
57
57
|
props: {
|
|
58
58
|
mode: String,
|
|
@@ -87,9 +87,9 @@ const $ = {
|
|
|
87
87
|
}
|
|
88
88
|
}, u = {};
|
|
89
89
|
var M = /* @__PURE__ */ d(
|
|
90
|
-
$,
|
|
91
|
-
x,
|
|
92
90
|
_,
|
|
91
|
+
x,
|
|
92
|
+
$,
|
|
93
93
|
!1,
|
|
94
94
|
z,
|
|
95
95
|
null,
|
|
@@ -103,7 +103,7 @@ function z(t) {
|
|
|
103
103
|
const O = /* @__PURE__ */ function() {
|
|
104
104
|
return M.exports;
|
|
105
105
|
}();
|
|
106
|
-
var
|
|
106
|
+
var w = function() {
|
|
107
107
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
108
108
|
return s("div", {
|
|
109
109
|
ref: "outerWrapper",
|
|
@@ -172,8 +172,8 @@ var S = function() {
|
|
|
172
172
|
notify: t.resetOffset
|
|
173
173
|
}
|
|
174
174
|
})], 1);
|
|
175
|
-
},
|
|
176
|
-
const
|
|
175
|
+
}, S = [];
|
|
176
|
+
const F = {
|
|
177
177
|
name: "SplitPane",
|
|
178
178
|
components: {
|
|
179
179
|
Trigger: O,
|
|
@@ -245,7 +245,7 @@ const y = {
|
|
|
245
245
|
value: "resetOffset"
|
|
246
246
|
},
|
|
247
247
|
mounted() {
|
|
248
|
-
return
|
|
248
|
+
return l(this, null, function* () {
|
|
249
249
|
yield this.$nextTick(), this.resetOffset();
|
|
250
250
|
});
|
|
251
251
|
},
|
|
@@ -284,10 +284,10 @@ const y = {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
}, c = {};
|
|
287
|
-
var
|
|
288
|
-
|
|
289
|
-
S,
|
|
287
|
+
var y = /* @__PURE__ */ d(
|
|
288
|
+
F,
|
|
290
289
|
w,
|
|
290
|
+
S,
|
|
291
291
|
!1,
|
|
292
292
|
b,
|
|
293
293
|
null,
|
|
@@ -299,7 +299,7 @@ function b(t) {
|
|
|
299
299
|
this[e] = c[e];
|
|
300
300
|
}
|
|
301
301
|
const T = /* @__PURE__ */ function() {
|
|
302
|
-
return
|
|
302
|
+
return y.exports;
|
|
303
303
|
}();
|
|
304
304
|
export {
|
|
305
305
|
T as default
|
package/split-pane/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.egd-split-wrapper{width:100%;height:100%;position:relative}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{left:0;right:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{z-index:10;position:absolute;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{height:32px;top:50%;left:1px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{width:32px;top:1px;left:50%;transform:translate(-50%)}.egd-split-trigger-vertical{cursor:ew-resize;background:#f8f8f9;width:6px;height:100%;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:4px;height:1px;margin-top:3px}.egd-split-trigger-horizontal{cursor:ns-resize;background:#f8f8f9;width:100%;height:6px;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:1px;height:4px;margin-right:3px}.egd-split-horizontal .egd-split-trigger-con{border-right:1px solid #d7dae0;height:100%;top:50%}.egd-split-vertical .egd-split-trigger-con{border-bottom:1px solid #d7dae0;width:100%;left:50%}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{box-shadow:none;background-color:transparent}.egd-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
1
|
+
.egd-split-wrapper{width:100%;height:100%;position:relative}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{left:0;right:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{z-index:10;position:absolute;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{height:32px;top:50%;left:1px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{width:32px;top:1px;left:50%;transform:translate(-50%)}.egd-split-trigger-vertical{cursor:ew-resize;background:#f8f8f9;width:6px;height:100%;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:4px;height:1px;margin-top:3px}.egd-split-trigger-horizontal{cursor:ns-resize;background:#f8f8f9;width:100%;height:6px;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:1px;height:4px;margin-right:3px}.egd-split-horizontal .egd-split-trigger-con{border-right:1px solid #d7dae0;height:100%;top:50%}.egd-split-vertical .egd-split-trigger-con{border-bottom:1px solid #d7dae0;width:100%;left:50%}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{box-shadow:none;background-color:transparent}.egd-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
package/stateful/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
1
|
+
import { n as _ } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
const g = {
|
|
3
3
|
name: "Stateful",
|
|
4
4
|
functional: !0,
|
|
5
5
|
props: {
|
|
@@ -43,28 +43,28 @@ const v = {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
render(r, { props: t, data: y, children: c }) {
|
|
46
|
-
const { draft:
|
|
47
|
-
draft: Array.isArray(
|
|
48
|
-
doing: Array.isArray(
|
|
46
|
+
const { draft: a, doing: n, overdue: o, error: s, done: l, closed: d, status: e, tag: f, size: u, type: p } = t, A = {
|
|
47
|
+
draft: Array.isArray(a) ? a.includes(e) : a,
|
|
48
|
+
doing: Array.isArray(n) ? n.includes(e) : n,
|
|
49
49
|
overdue: Array.isArray(o) ? o.includes(e) : o,
|
|
50
50
|
error: Array.isArray(s) ? s.includes(e) : s,
|
|
51
51
|
done: Array.isArray(l) ? l.includes(e) : l,
|
|
52
52
|
closed: Array.isArray(d) ? d.includes(e) : d
|
|
53
53
|
};
|
|
54
|
-
return r(
|
|
54
|
+
return r(f, y, [
|
|
55
55
|
r("span", {
|
|
56
56
|
style: { width: u, height: u },
|
|
57
|
-
class: ["stateful",
|
|
57
|
+
class: ["stateful", p, A]
|
|
58
58
|
}),
|
|
59
59
|
c
|
|
60
60
|
]);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
let
|
|
63
|
+
let v, S;
|
|
64
64
|
const i = {};
|
|
65
|
-
var m = /* @__PURE__ */
|
|
66
|
-
v,
|
|
65
|
+
var m = /* @__PURE__ */ _(
|
|
67
66
|
g,
|
|
67
|
+
v,
|
|
68
68
|
S,
|
|
69
69
|
!1,
|
|
70
70
|
B,
|
|
@@ -76,9 +76,9 @@ function B(r) {
|
|
|
76
76
|
for (let t in i)
|
|
77
77
|
this[t] = i[t];
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const x = /* @__PURE__ */ function() {
|
|
80
80
|
return m.exports;
|
|
81
81
|
}();
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
x as default
|
|
84
84
|
};
|
package/stateful/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.stateful{vertical-align:middle;content:"";border-radius:2px;width:14px;height:14px;margin-right:6px;display:inline-block}.stateful.draft{background-color:#d7d7d7}.stateful.doing{background-color:#14ca7a}.stateful.overdue{background-color:#feae3d}.stateful.error{background-color:red}.stateful.done{background-color:#45a3e7}.stateful.closed{background-color:#d7d7d7}
|
|
1
|
+
.stateful{vertical-align:middle;content:"";border-radius:2px;width:14px;height:14px;margin-right:6px;display:inline-block}.stateful.draft{background-color:#d7d7d7}.stateful.doing{background-color:#14ca7a}.stateful.overdue{background-color:#feae3d}.stateful.error{background-color:red}.stateful.done{background-color:#45a3e7}.stateful.closed{background-color:#d7d7d7}
|