@web-utils/component 4.0.0 → 4.0.2
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/awesome-button/index.mjs +25 -55
- package/base.css +1 -1
- package/card/style.css +1 -1
- package/carousel/style.css +1 -1
- package/chat/style.css +1 -1
- package/chunks/{ElementForm.8w6UkiuU.mjs → ElementForm.CQ3PN5qj.mjs} +17 -35
- package/chunks/{ElementListeners.DOy8wyD2.mjs → ElementListeners.De_PRuIm.mjs} +56 -95
- package/chunks/{ElementMultiInstance.3Z28ewuh.mjs → ElementMultiInstance.DQo2wuAQ.mjs} +16 -26
- package/chunks/{ElementProperties.B2I48muA.mjs → ElementProperties.CosfDrlW.mjs} +16 -16
- package/chunks/{ElementTaskConfig.MBbkLrth.mjs → ElementTaskConfig.Bko0kgTp.mjs} +104 -113
- package/chunks/{FlowCondition.BfU9kw6h.mjs → FlowCondition.Y6qEYi1T.mjs} +36 -66
- package/chunks/{SignalAndMessage.CH6L7cYu.mjs → SignalAndMessage.Bb5PFX0N.mjs} +11 -22
- package/chunks/{UserTaskListeners.XXe5dC5I.mjs → UserTaskListeners.Bv3BDfEI.mjs} +45 -86
- package/chunks/configComponents.BDhlZU8F.mjs +23 -0
- package/chunks/confirmable-mixin.D9aKzKZ9.mjs +85 -0
- package/chunks/core.DJEgjQW6.mjs +54 -0
- package/chunks/dictionary.DqiP9x2m.mjs +25 -0
- package/chunks/dictionary.DsN-2ukC.mjs +70 -0
- package/chunks/form-input.B8z37eqj.mjs +31 -0
- package/chunks/form-item.D-H-wCPE.mjs +233 -0
- package/chunks/form-validate.CVarNHKX.mjs +12 -0
- package/chunks/helper.BiMLcEEk.mjs +41 -0
- package/chunks/index.9OxHjTIE.mjs +16 -0
- package/chunks/{index.MAFc4eFi.mjs → index.d3MV3Wq2.mjs} +43 -47
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
- package/chunks/{tab-mixin.CVr9bZtn.mjs → tab-mixin.BNK6dxLN.mjs} +1 -1
- package/chunks/utilSelf.Csq1766E.mjs +48 -0
- package/color-picker/index.mjs +19 -37
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +13 -24
- package/custom-scrollbar/index.mjs +1 -2
- package/data-operatext/style.css +1 -1
- package/data-panel/style.css +1 -1
- package/data-pay/style.css +1 -1
- package/data-price/style.css +1 -1
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +1 -1
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +16 -28
- package/dynamic-table/style.css +1 -1
- package/easy-popup/index.mjs +22 -40
- package/easy-popup/style.css +1 -1
- package/editable-tree/index.mjs +203 -250
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +30 -52
- package/element-dialog/style.css +1 -1
- package/flex-column/index.mjs +13 -25
- package/flex-item/index.mjs +15 -27
- package/flex-row/index.mjs +13 -25
- package/flow-designer/index.mjs +343 -374
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.mjs +64 -91
- package/form-block/index.mjs +33 -26
- package/form-card/index.mjs +25 -0
- package/form-cascader/index.mjs +70 -67
- package/form-checkbox/index.mjs +71 -0
- package/form-checkbox-group/index.mjs +33 -53
- package/form-date-picker/index.mjs +44 -73
- package/form-holder/index.mjs +54 -40
- package/form-holder/style.css +1 -0
- package/form-input/index.mjs +62 -40
- package/form-input-cron-expression/index.mjs +77 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.mjs +21 -33
- package/form-input-id-card/index.mjs +25 -38
- package/form-input-number/index.mjs +39 -42
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +26 -37
- package/form-input-tag/index.mjs +32 -34
- package/form-input-time/index.mjs +22 -37
- package/form-item/index.mjs +109 -101
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +18 -10
- package/form-item-group/index.mjs +73 -69
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +41 -36
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +142 -75
- package/form-select/style.css +1 -0
- package/form-switch/index.mjs +29 -34
- package/form-table/index.mjs +85 -0
- package/form-table-plus/index.mjs +109 -0
- package/form-textarea/index.mjs +23 -35
- package/form-tree-select/index.mjs +72 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.mjs +78 -0
- package/form-view/index.mjs +37 -69
- package/form-view/style.css +1 -1
- package/fy-curd/index.mjs +131 -140
- package/fy-curd/style.css +1 -1
- package/fy-draggable/index.mjs +16 -26
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +48 -57
- package/fy-empty/style.css +1 -1
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +314 -339
- package/fy-form-design/style.css +1 -1
- package/fy-input-map/index.mjs +40 -50
- package/fy-input-map/style.css +1 -1
- package/fy-input-table/index.mjs +31 -41
- package/fy-u-editor/index.mjs +77 -103
- package/fy-upload/style.css +1 -1
- package/highlight-j-s/style.css +1 -1
- package/image-cropper/index.mjs +14 -65
- package/image-preview/index.mjs +17 -45
- package/image-preview/style.css +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +666 -496
- package/input-number/index.mjs +64 -9
- package/keyboard/style.css +1 -1
- package/monaco-editor/index.mjs +43 -71
- package/name-avatar/style.css +1 -1
- package/package.json +5 -4
- package/page-index/index.mjs +30 -54
- package/page-index-top/index.mjs +25 -47
- package/pageable-table/index.mjs +385 -218
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +56 -95
- package/photo-swipe/index.mjs +51 -74
- package/picker-table-view/index.mjs +117 -0
- package/present-view/index.mjs +43 -77
- package/present-view/style.css +1 -1
- package/resize-observer/index.mjs +1 -1
- package/resize-observer/style.css +1 -1
- package/search/style.css +1 -1
- package/search-popover/index.mjs +28 -48
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton-panel/index.mjs +38 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.mjs +31 -49
- package/split-pane/style.css +1 -1
- package/sub-table/index.mjs +206 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.mjs +231 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.mjs +18 -38
- package/swiper/style.css +1 -1
- package/tab/index.mjs +1 -1
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +166 -37
- package/table-column/style.css +1 -0
- package/table-view/index.mjs +177 -132
- package/table-view/style.css +1 -1
- package/tabs-view/index.mjs +104 -0
- package/tabs-view/style.css +1 -0
- package/tag-render/index.mjs +13 -24
- package/toolbar/index.mjs +115 -58
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +92 -48
- package/vue-cron/index.mjs +47 -65
- package/vue-qr-code/index.mjs +14 -32
- package/vue-quill-editor/index.mjs +13 -24
- package/vue-tags-input/index.mjs +10 -21
- package/vue-tree-select/index.mjs +352 -393
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +34 -63
- package/watermark/index.mjs +21 -31
- package/web-types.json +9240 -3840
- package/x-input-tag/index.mjs +29 -61
- package/chunks/confirmable-mixin.D4LAArE5.mjs +0 -114
- package/chunks/form-input-mixin.BkKiqJhi.mjs +0 -24
- package/chunks/form-item-mixin.CG4ZwzMC.mjs +0 -140
- package/chunks/input-number-mixin.CzjtGf2n.mjs +0 -60
- package/chunks/utilSelf.CRqpl0Cz.mjs +0 -56
- package/toolbar-button/style.css +0 -1
- /package/chunks/{form-pick-mixin.BFTIVn_i.mjs → form-pick.BFTIVn_i.mjs} +0 -0
package/count-up/index.mjs
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var p = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var r = (t, e, s) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, n = (t, e) => {
|
|
6
|
-
for (var s in e || (e = {}))
|
|
7
|
-
p.call(e, s) && r(t, s, e[s]);
|
|
8
|
-
if (i)
|
|
9
|
-
for (var s of i(e))
|
|
10
|
-
h.call(e, s) && r(t, s, e[s]);
|
|
11
|
-
return t;
|
|
12
|
-
}, a = (t, e) => o(t, d(e));
|
|
13
|
-
import { CountUp as c } from "countup.js";
|
|
14
|
-
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
|
-
const m = {
|
|
1
|
+
import { CountUp as i } from "countup.js";
|
|
2
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const n = {
|
|
16
4
|
name: "CountUp",
|
|
17
5
|
props: {
|
|
18
6
|
animation: {
|
|
@@ -70,11 +58,12 @@ const m = {
|
|
|
70
58
|
},
|
|
71
59
|
methods: {
|
|
72
60
|
init() {
|
|
73
|
-
this.c || (this.c = new
|
|
61
|
+
this.c || (this.c = new i(this.$el, this.end, {
|
|
62
|
+
...this.options,
|
|
74
63
|
decimal: this.decimals,
|
|
75
64
|
duration: this.duration,
|
|
76
65
|
startVal: this.start
|
|
77
|
-
})
|
|
66
|
+
}), this.c.start(() => {
|
|
78
67
|
this.callback(this.c);
|
|
79
68
|
}));
|
|
80
69
|
},
|
|
@@ -101,18 +90,18 @@ const m = {
|
|
|
101
90
|
(e = this.c) == null || e.update(t);
|
|
102
91
|
}
|
|
103
92
|
};
|
|
104
|
-
var
|
|
93
|
+
var a = function() {
|
|
105
94
|
var e = this, s = e._self._c;
|
|
106
95
|
return s("span", [e._v(e._s(e.end))]);
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
96
|
+
}, u = [], o = /* @__PURE__ */ r(
|
|
97
|
+
n,
|
|
98
|
+
a,
|
|
99
|
+
u,
|
|
111
100
|
!1,
|
|
112
101
|
null,
|
|
113
102
|
null
|
|
114
103
|
);
|
|
115
|
-
const
|
|
104
|
+
const h = o.exports;
|
|
116
105
|
export {
|
|
117
|
-
|
|
106
|
+
h as default
|
|
118
107
|
};
|
package/data-operatext/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-data-operatext .item{box-sizing:border-box;background:#fff;border-radius:3px;margin:5px 10px;position:relative;box-shadow:0 1px 1px
|
|
1
|
+
.avue-data-operatext .item{box-sizing:border-box;background:#fff;border-radius:3px;margin:5px 10px;position:relative;box-shadow:0 1px 1px #0000001a}.avue-data-operatext .item a{color:#333;text-decoration:none}.avue-data-operatext .item a:visited{color:inherit}.avue-data-operatext .item-header{color:#fff;background-position:50%;border-top-left-radius:3px;border-top-right-radius:3px;padding:20px 20px 60px}.avue-data-operatext .item-title{text-shadow:0 1px 1px #0003;margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;display:block}.avue-data-operatext .item-subtitle{font-size:14px;font-weight:400}.avue-data-operatext .item-content{background-color:#fff;border-top:1px solid #f4f4f4;border-radius:0 0 3px 3px;padding:10px 10px 20px}.avue-data-operatext .item-img{border:4px solid #fff;border-radius:100%;width:90px;height:90px;margin:-60px auto 5px;overflow:hidden}.avue-data-operatext .item-img img{width:100%;height:100%}.avue-data-operatext .item-list{flex-wrap:wrap;display:flex}.avue-data-operatext .item-row{box-sizing:border-box;text-align:center;width:33.33%}.avue-data-operatext .item-label{margin-bottom:5px;font-size:16px;font-weight:600;display:block}.avue-data-operatext .item-value{text-transform:uppercase;font-weight:300;display:block}
|
package/data-panel/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-data-panel .item{color:#666;cursor:pointer;background:#fff;border-color
|
|
1
|
+
.avue-data-panel .item{color:#666;cursor:pointer;background:#fff;border-color:#0000000d;justify-content:space-between;align-items:center;height:108px;margin:0 20px;padding:0 30px;font-size:12px;display:flex;position:relative;overflow:hidden;box-shadow:4px 4px 40px #0000000d}.avue-data-panel .item-icon{font-size:52px}.avue-data-panel .item-info{text-align:center}.avue-data-panel .item-title{color:#00000073;margin-bottom:12px;font-size:16px;line-height:18px}.avue-data-panel .item-count{font-size:20px}
|
package/data-pay/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-data-pay .item{background-color:#fff;border-radius:4px;width:80%;min-height:670px;margin:0 auto;padding-bottom:16px;position:relative;box-shadow:1px 2px 10px #eee}.avue-data-pay .item a{text-decoration:none}.avue-data-pay .item a:visited{color:inherit}.avue-data-pay .top{border-radius:4px 4px 0 0;width:100%;height:6px;position:absolute;top:0;left:0}.avue-data-pay .header{text-align:center;margin-bottom:40px}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{background
|
|
1
|
+
.avue-data-pay .item{background-color:#fff;border-radius:4px;width:80%;min-height:670px;margin:0 auto;padding-bottom:16px;position:relative;box-shadow:1px 2px 10px #eee}.avue-data-pay .item a{text-decoration:none}.avue-data-pay .item a:visited{color:inherit}.avue-data-pay .top{border-radius:4px 4px 0 0;width:100%;height:6px;position:absolute;top:0;left:0}.avue-data-pay .header{text-align:center;margin-bottom:40px}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{background:#9696961a;width:60%;height:1px;margin:20px auto}.avue-data-pay .btn{color:#fff;text-align:center;cursor:pointer;border-radius:32px;width:120px;height:32px;margin:0 auto;line-height:32px;transition:opacity .2s ease-in-out;display:block}.avue-data-pay .list-item{color:#666;margin-bottom:12px;padding-left:20px;font-size:14px;list-style:none}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{color:#2d8cf0;font-size:12px}.avue-data-pay .list-item--no,.avue-data-pay .list-item--no+span{color:#c5c8ce}
|
package/data-price/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.data-price .item{text-align:center;border:1px solid #ccc;margin:0 20px;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body:after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{color:#333;height:80px;font-size:18px;line-height:80px}.data-price .item .price{color:#6b6b6b;height:120px;margin:0 0 50px;padding:0 8px;font-size:42px;line-height:120px}.data-price .item .append{font-size:16px}.data-price .item .body{color:#6b6b6b;background-color:#f4f4f4;height:120px;margin:0 0 50px;padding:0;font-size:42px;line-height:120px;position:relative}.data-price .item .body:before{content:"¥";font-size:16px;font-weight:400}.data-price .item .body:after{content:"";border:30px solid
|
|
1
|
+
.data-price .item{text-align:center;border:1px solid #ccc;margin:0 20px;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body:after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{color:#333;height:80px;font-size:18px;line-height:80px}.data-price .item .price{color:#6b6b6b;height:120px;margin:0 0 50px;padding:0 8px;font-size:42px;line-height:120px}.data-price .item .append{font-size:16px}.data-price .item .body{color:#6b6b6b;background-color:#f4f4f4;height:120px;margin:0 0 50px;padding:0;font-size:42px;line-height:120px;position:relative}.data-price .item .body:before{content:"¥";font-size:16px;font-weight:400}.data-price .item .body:after{content:"";border:30px solid #0000;border-top:20px solid #f4f4f4;border-bottom-width:0;width:0;height:0;display:block;position:absolute;bottom:-15px;left:50%;transform:translate(-50%)}.data-price .item .list{color:#666;padding-bottom:30px;font-size:14px}
|
package/data-rotate/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-data-rotate .item{box-sizing:border-box;color:#fff;border-radius:3px;margin:5px 10px;position:relative}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{white-space:nowrap;margin-bottom:5px;font-size:38px;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{color
|
|
1
|
+
.avue-data-rotate .item{box-sizing:border-box;color:#fff;border-radius:3px;margin:5px 10px;position:relative}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{white-space:nowrap;margin-bottom:5px;font-size:38px;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{color:#00000026;font-size:65px;transition:all .3s linear;position:absolute;top:20px;right:20px}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{z-index:10;color:#fffc;letter-spacing:2px;text-align:center;background:#0000001a;padding:3px 0;font-size:14px;text-decoration:none;display:block;position:relative}
|
package/data-tabs/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-data-tabs .item{box-sizing:border-box;color:#fff;border-radius:4px;height:160px;margin:15px;padding:12px;position:relative;overflow:hidden}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{background
|
|
1
|
+
.avue-data-tabs .item{box-sizing:border-box;color:#fff;border-radius:4px;height:160px;margin:15px;padding:12px;position:relative;overflow:hidden}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{background:#ffffff4d;border-radius:4px;padding:2px 8px;font-size:12px;position:absolute;top:0;right:0}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;font-weight:700;line-height:60px}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{opacity:.1;border:2px solid #fff;border-radius:100%;justify-content:center;align-items:center;width:80px;height:80px;font-size:48px;display:flex;position:absolute;bottom:10px;right:10px;transform:rotate(-40deg)}
|
package/dialog-form/index.mjs
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var l = (t, e, o) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, n = (t, e) => {
|
|
6
|
-
for (var o in e || (e = {}))
|
|
7
|
-
u.call(e, o) && l(t, o, e[o]);
|
|
8
|
-
if (a)
|
|
9
|
-
for (var o of a(e))
|
|
10
|
-
p.call(e, o) && l(t, o, e[o]);
|
|
11
|
-
return t;
|
|
12
|
-
}, r = (t, e) => d(t, m(e));
|
|
13
|
-
import { isEmpty as f } from "@web-utils/core";
|
|
14
|
-
import { d as b } from "../chunks/util.DqFv_pWg.mjs";
|
|
15
|
-
import h from "vue";
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
1
|
+
import { isEmpty as a } from "@web-utils/core";
|
|
2
|
+
import { d as l } from "../chunks/util.DqFv_pWg.mjs";
|
|
3
|
+
import n from "vue";
|
|
4
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
5
|
const i = {
|
|
18
6
|
name: "DialogForm",
|
|
19
7
|
data() {
|
|
@@ -45,8 +33,8 @@ const i = {
|
|
|
45
33
|
}
|
|
46
34
|
},
|
|
47
35
|
methods: {
|
|
48
|
-
isEmpty:
|
|
49
|
-
deepClone:
|
|
36
|
+
isEmpty: a,
|
|
37
|
+
deepClone: l,
|
|
50
38
|
submit() {
|
|
51
39
|
this.$refs.form.submit();
|
|
52
40
|
},
|
|
@@ -74,28 +62,28 @@ const i = {
|
|
|
74
62
|
}
|
|
75
63
|
};
|
|
76
64
|
i.showForm = (t) => {
|
|
77
|
-
const e =
|
|
65
|
+
const e = n.extend(i), o = new e().$mount();
|
|
78
66
|
return document.body.appendChild(o.$el), o.show(t), o;
|
|
79
67
|
};
|
|
80
|
-
const
|
|
81
|
-
var
|
|
68
|
+
const c = i;
|
|
69
|
+
var d = function() {
|
|
82
70
|
var e = this, o = e._self._c;
|
|
83
71
|
return e._self._setupProxy, o(e.dialogType, e._b({ tag: "Component", staticClass: "dialog-form", attrs: { visible: e.visible, "destroy-on-close": "", "before-close": e.beforeClose }, on: { "update:visible": function(s) {
|
|
84
72
|
e.visible = s;
|
|
85
|
-
} } }, "Component", e.dialog, !1), [o("FyForm", { ref: "form", attrs: { option:
|
|
73
|
+
} } }, "Component", e.dialog, !1), [o("FyForm", { ref: "form", attrs: { option: { ...e.deepClone(e.option), menuBtn: !1 }, status: e.disabled }, on: { "update:status": function(s) {
|
|
86
74
|
e.disabled = s;
|
|
87
75
|
}, submit: e.handleSubmit, "reset-change": e.close }, model: { value: e.data, callback: function(s) {
|
|
88
76
|
e.data = s;
|
|
89
77
|
}, expression: "data" } }), e.isEmpty(e.option.menuBtn, !0) ? o("span", { staticClass: "avue-dialog__footer", class: `avue-dialog__footer--${e.menuPosition}` }, [e.isEmpty(e.option.submitBtn, !0) ? o("ElButton", { attrs: { size: e.$AVUE.size, icon: e.option.submitIcon, loading: e.disabled, type: "primary" }, on: { click: e.submit } }, [e._v(e._s(e.option.submitText))]) : e._e(), e.isEmpty(e.option.emptyBtn, !0) ? o("ElButton", { attrs: { disabled: e.disabled, size: e.$AVUE.size, icon: e.option.emptyIcon }, on: { click: e.reset } }, [e._v(e._s(e.option.emptyText))]) : e._e()], 1) : e._e()], 1);
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
78
|
+
}, m = [], u = /* @__PURE__ */ r(
|
|
79
|
+
c,
|
|
80
|
+
d,
|
|
81
|
+
m,
|
|
94
82
|
!1,
|
|
95
83
|
null,
|
|
96
84
|
null
|
|
97
85
|
);
|
|
98
|
-
const
|
|
86
|
+
const _ = u.exports;
|
|
99
87
|
export {
|
|
100
|
-
|
|
88
|
+
_ as default
|
|
101
89
|
};
|
package/dynamic-table/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dynamic-table{flex-direction:column;align-items:center;width:100%;display:flex}.dynamic-table .dynamic-table-action-icon{cursor:pointer;margin-left:10px;font-weight:700}.dynamic-table .el-form-item{margin-bottom:0}.dynamic-table .el-table{flex:auto}.dynamic-table .el-table td{padding:2px 0}.dynamic-table .el-input.is-disabled .el-input__inner{background-color
|
|
1
|
+
.dynamic-table{flex-direction:column;align-items:center;width:100%;display:flex}.dynamic-table .dynamic-table-action-icon{cursor:pointer;margin-left:10px;font-weight:700}.dynamic-table .el-form-item{margin-bottom:0}.dynamic-table .el-table{flex:auto}.dynamic-table .el-table td{padding:2px 0}.dynamic-table .el-input.is-disabled .el-input__inner{background-color:#0000;border:none}
|
package/easy-popup/index.mjs
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
n(t.next(s));
|
|
5
|
-
} catch (a) {
|
|
6
|
-
r(a);
|
|
7
|
-
}
|
|
8
|
-
}, l = (s) => {
|
|
9
|
-
try {
|
|
10
|
-
n(t.throw(s));
|
|
11
|
-
} catch (a) {
|
|
12
|
-
r(a);
|
|
13
|
-
}
|
|
14
|
-
}, n = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(h, l);
|
|
15
|
-
n((t = t.apply(i, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { getComputedWidth as f, getComputedHeight as p } from "@web-utils/core";
|
|
18
|
-
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
19
|
-
const c = {
|
|
1
|
+
import { getComputedWidth as o, getComputedHeight as n } from "@web-utils/core";
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const r = {
|
|
20
4
|
name: "EasyPopup",
|
|
21
5
|
props: {
|
|
22
6
|
/**
|
|
@@ -77,45 +61,43 @@ const c = {
|
|
|
77
61
|
}
|
|
78
62
|
},
|
|
79
63
|
watch: {
|
|
80
|
-
axis() {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
});
|
|
64
|
+
async axis() {
|
|
65
|
+
if (this.border) {
|
|
66
|
+
await this.$nextTick();
|
|
67
|
+
const t = o(this.$refs.container), e = n(this.$refs.container), i = document.body.offsetWidth, s = document.body.offsetHeight;
|
|
68
|
+
this.axis.x + this.offset.x + t >= i && (this.axis.x = i - t - this.borderWidth - this.offset.x), this.axis.y + this.offset.y + e >= s && (this.axis.y = s - e - this.borderWidth - this.offset.y);
|
|
69
|
+
}
|
|
88
70
|
}
|
|
89
71
|
},
|
|
90
72
|
destroyed() {
|
|
91
73
|
this.$el.remove();
|
|
92
74
|
},
|
|
93
75
|
methods: {
|
|
94
|
-
show({ clientX:
|
|
95
|
-
this.axis = { x:
|
|
76
|
+
show({ clientX: t, clientY: e }) {
|
|
77
|
+
this.axis = { x: t, y: e }, this.visible || (document.addEventListener("click", this.doHide, !0), this.rendered = !0, this.visible = !0), this.appendToBody && document.body.appendChild(this.$el);
|
|
96
78
|
},
|
|
97
79
|
hide() {
|
|
98
80
|
this.visible = !1, document.removeEventListener("click", this.doHide);
|
|
99
81
|
},
|
|
100
|
-
doHide(
|
|
101
|
-
this.interactive && this.$el.contains(
|
|
82
|
+
doHide(t) {
|
|
83
|
+
this.interactive && this.$el.contains(t.target) || this.hide();
|
|
102
84
|
}
|
|
103
85
|
}
|
|
104
86
|
};
|
|
105
|
-
var
|
|
106
|
-
var e = this,
|
|
107
|
-
return
|
|
87
|
+
var d = function() {
|
|
88
|
+
var e = this, i = e._self._c;
|
|
89
|
+
return i("Transition", { attrs: { name: "easy-popup" } }, [e.rendered ? i("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }], ref: "container", class: ["easy-popup", { "easy-popup__visible": e.visible, "easy-popup__hide": !e.visible, "flex-row": e.flexRow, "flex-column": e.flexColumn }], style: e.position, on: { mouseleave: function(s) {
|
|
108
90
|
e.hideOnMouseLeave && e.hide();
|
|
109
91
|
} } }, [e._t("default")], 2) : e._e()]);
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
92
|
+
}, h = [], l = /* @__PURE__ */ a(
|
|
93
|
+
r,
|
|
94
|
+
d,
|
|
95
|
+
h,
|
|
114
96
|
!1,
|
|
115
97
|
null,
|
|
116
98
|
null
|
|
117
99
|
);
|
|
118
|
-
const
|
|
100
|
+
const u = l.exports;
|
|
119
101
|
export {
|
|
120
|
-
|
|
102
|
+
u as default
|
|
121
103
|
};
|
package/easy-popup/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.easy-popup{z-index:9999;background:#fff;border:1px solid #ebeef5;border-radius:4px;width:300px;min-height:200px;padding:12px;position:fixed;box-shadow:0 2px 12px
|
|
1
|
+
.easy-popup{z-index:9999;background:#fff;border:1px solid #ebeef5;border-radius:4px;width:300px;min-height:200px;padding:12px;position:fixed;box-shadow:0 2px 12px #0000001a}@keyframes easy-popup-zoom-in{0%{opacity:0;transform:scale3d(0,0,0)}to{opacity:1}}.easy-popup-enter-active,.easy-popup-enter{animation:.2s easy-popup-zoom-in}@keyframes easy-popup-zoom-out{0%{opacity:1}to{opacity:0;transform:scale3d(0,0,0)}}.easy-popup-leave-active,.easy-popup-leave{animation:.2s easy-popup-zoom-out}
|