@web-utils/component 3.1.1 → 3.2.1
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 +1 -1
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +13 -13
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +6 -6
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +5 -5
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +13 -13
- package/card/style.css +1 -1
- package/carousel/index.mjs +9 -9
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +9 -9
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.aa57efb4.mjs → FormTemp.0eqGAu6W.mjs} +4 -4
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.eaac0823.mjs → dic.7JBaVHv6.mjs} +1 -1
- package/chunks/{event.b5d855dd.mjs → event.lbJYeMJp.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.47f219b4.mjs → init.6oF7OO2W.mjs} +3 -3
- package/code-mirror-editor/index.mjs +24 -24
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +3 -3
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +4 -4
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +10 -10
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +4 -4
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +6 -6
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +5 -5
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +10 -10
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +3 -3
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +6 -6
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +11 -11
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +8 -8
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +7 -7
- 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 +9 -9
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +4 -4
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +11 -11
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +1 -1
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +6 -6
- 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 +49 -49
- 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 +14 -14
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +4 -4
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +3 -3
- 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 +3 -3
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +5 -5
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +27 -29
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +11 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +14 -14
- 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 +20 -20
- 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 +9 -9
- 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 +10 -10
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +2 -2
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +25 -25
- 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 +15 -15
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +19 -19
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +1 -1
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +7 -7
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +11 -13
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +9 -9
- 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 +5 -5
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +5 -5
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +15 -17
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +19 -23
- 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 +26 -26
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +12 -12
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +2 -2
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +10 -10
- 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 +16 -16
- 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 +9 -9
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +5 -5
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +13 -13
- 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 +24 -24
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +3 -3
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +4 -4
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +3 -3
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +4 -4
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +8 -8
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +4 -4
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +6 -6
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +6 -6
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +7 -7
- package/loading-view/style.css +1 -1
- package/login/index.mjs +6 -6
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +7 -7
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +10 -10
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -5
- package/page/index.mjs +6 -6
- package/page/style.css +1 -1
- package/page-header/index.mjs +3 -3
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +13 -13
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +9 -9
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +18 -18
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +13 -13
- 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 +1 -1
- package/queue/style.css +1 -1
- package/record-video/index.mjs +2 -2
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +4 -4
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +9 -9
- package/search/style.css +1 -1
- package/search-popover/index.mjs +18 -18
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +15 -15
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +7 -7
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +47 -48
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +19 -19
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +7 -7
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +4 -4
- package/swiper/style.css +1 -1
- package/tab/index.mjs +8 -8
- 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 +10 -10
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +7 -7
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +4 -4
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +21 -22
- package/tinymce-editor/style.css +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +13 -13
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +15 -15
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +2 -3
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- 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 +2 -3
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +8 -8
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +19 -19
- package/watermark/style.css +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +5 -5
- package/x-input-tag/style.css +1 -1
- /package/chunks/{_plugin-vue2_normalizer.446f5dc4.mjs → _plugin-vue2_normalizer.JwmUNtgn.mjs} +0 -0
- /package/chunks/{confirmable-mixin.817b542f.mjs → confirmable-mixin.GqdyYLEM.mjs} +0 -0
- /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.ae730cde.mjs → util.y1gUGRqi.mjs} +0 -0
package/pageable-view/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, T = Object.defineProperties;
|
|
2
|
+
var _ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var d = Object.getOwnPropertySymbols;
|
|
4
4
|
var f = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var u = (e, t, s) => t in e ?
|
|
5
|
+
var u = (e, t, s) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
|
|
6
6
|
for (var s in t || (t = {}))
|
|
7
7
|
f.call(t, s) && u(e, s, t[s]);
|
|
8
8
|
if (d)
|
|
9
9
|
for (var s of d(t))
|
|
10
10
|
m.call(t, s) && u(e, s, t[s]);
|
|
11
11
|
return e;
|
|
12
|
-
}, b = (e, t) =>
|
|
12
|
+
}, b = (e, t) => T(e, _(t));
|
|
13
13
|
var y = (e, t) => {
|
|
14
14
|
var s = {};
|
|
15
15
|
for (var l in e)
|
|
@@ -36,9 +36,9 @@ var h = (e, t, s) => new Promise((l, r) => {
|
|
|
36
36
|
a((s = s.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { cloneDeep as S, merge as w } from "@web-utils/integrations/lodash";
|
|
39
|
-
import { copy as P, hasOwn as
|
|
40
|
-
import { f as
|
|
41
|
-
import { n as R } from "../chunks/_plugin-vue2_normalizer.
|
|
39
|
+
import { copy as P, hasOwn as C } from "@web-utils/core";
|
|
40
|
+
import { f as v, h as x, i as O } from "../chunks/index.LGsb2aDq.mjs";
|
|
41
|
+
import { n as R } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
42
42
|
function k(e) {
|
|
43
43
|
let t = "";
|
|
44
44
|
for (const s in e)
|
|
@@ -159,7 +159,7 @@ const c = {
|
|
|
159
159
|
},
|
|
160
160
|
headers() {
|
|
161
161
|
var e;
|
|
162
|
-
return ((e = this.columns) == null ? void 0 : e.map(
|
|
162
|
+
return ((e = this.columns) == null ? void 0 : e.map(v)) || [];
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
watch: {
|
|
@@ -194,9 +194,9 @@ const c = {
|
|
|
194
194
|
this.$refs.scroller && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
|
|
195
195
|
});
|
|
196
196
|
},
|
|
197
|
-
filterTableProperties:
|
|
197
|
+
filterTableProperties: x,
|
|
198
198
|
filterTableEvents: O,
|
|
199
|
-
filterTableColumnProperties:
|
|
199
|
+
filterTableColumnProperties: v,
|
|
200
200
|
onTableScroll() {
|
|
201
201
|
this.tableScrollTop = this.$refs.scroller.scrollTop, this.tableScrollLeft = this.$refs.scroller.scrollLeft;
|
|
202
202
|
},
|
|
@@ -254,7 +254,7 @@ const c = {
|
|
|
254
254
|
getPage() {
|
|
255
255
|
return h(this, null, function* () {
|
|
256
256
|
var i;
|
|
257
|
-
if (
|
|
257
|
+
if (C(this.$attrs, "data")) {
|
|
258
258
|
this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
@@ -314,7 +314,7 @@ var F = function() {
|
|
|
314
314
|
null,
|
|
315
315
|
null
|
|
316
316
|
);
|
|
317
|
-
const
|
|
317
|
+
const I = M.exports;
|
|
318
318
|
export {
|
|
319
|
-
|
|
319
|
+
I as default
|
|
320
320
|
};
|
package/pageable-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
|
1
|
+
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
package/photo-swipe/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var u = (i, n, t) => new Promise((h, a) => {
|
|
|
16
16
|
});
|
|
17
17
|
import g from "photoswipe";
|
|
18
18
|
import "photoswipe/dist/photoswipe.css";
|
|
19
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
19
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
20
20
|
function w(i) {
|
|
21
21
|
new g(i).init();
|
|
22
22
|
}
|
package/present-view/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y = Object.defineProperty, _ = Object.defineProperties;
|
|
2
2
|
var g = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var h = Object.getOwnPropertySymbols;
|
|
4
4
|
var x = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var b = (e, t, o) => t in e ?
|
|
5
|
+
var b = (e, t, o) => t in e ? y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, c = (e, t) => {
|
|
6
6
|
for (var o in t || (t = {}))
|
|
7
7
|
x.call(t, o) && b(e, o, t[o]);
|
|
8
8
|
if (h)
|
|
9
9
|
for (var o of h(t))
|
|
10
10
|
$.call(t, o) && b(e, o, t[o]);
|
|
11
11
|
return e;
|
|
12
|
-
}, f = (e, t) =>
|
|
12
|
+
}, f = (e, t) => _(e, g(t));
|
|
13
13
|
var d = (e, t, o) => new Promise((r, s) => {
|
|
14
14
|
var i = (n) => {
|
|
15
15
|
try {
|
|
@@ -30,8 +30,8 @@ import { hasOwn as p, toStringArray as S, delay as F, isInContainer as k } from
|
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
31
|
import L from "@web-utils/component/resize-observer";
|
|
32
32
|
import "@web-utils/component/resize-observer/style.css";
|
|
33
|
-
import { n as C } from "../chunks/_plugin-vue2_normalizer.
|
|
34
|
-
const
|
|
33
|
+
import { n as C } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
34
|
+
const w = [
|
|
35
35
|
"back",
|
|
36
36
|
"create",
|
|
37
37
|
"save",
|
|
@@ -51,7 +51,7 @@ const _ = [
|
|
|
51
51
|
"disabled",
|
|
52
52
|
"reload",
|
|
53
53
|
"slot"
|
|
54
|
-
], T =
|
|
54
|
+
], T = w.map((e) => `${e}-down`), I = ["back", "withdraw", "edit"], v = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], m = (e, t) => {
|
|
55
55
|
if (e.classList.contains(t))
|
|
56
56
|
return e;
|
|
57
57
|
let o = e.parentNode;
|
|
@@ -138,7 +138,7 @@ const _ = [
|
|
|
138
138
|
},
|
|
139
139
|
methods: {
|
|
140
140
|
getToolbarSlotKeys() {
|
|
141
|
-
return Object.keys(this.$scopedSlots).filter((e) =>
|
|
141
|
+
return Object.keys(this.$scopedSlots).filter((e) => w.includes(e));
|
|
142
142
|
},
|
|
143
143
|
getFooterSlotKeys() {
|
|
144
144
|
return Object.keys(this.$scopedSlots).filter((e) => T.includes(e));
|
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
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 } from "../chunks/util.
|
|
2
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
let o = class {
|
|
4
4
|
/**
|
|
5
5
|
* 构造函数
|
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 r } from "../chunks/index.
|
|
2
|
-
import { n as o } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { j as r } from "../chunks/index.LGsb2aDq.mjs";
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
let t;
|
|
4
4
|
function i() {
|
|
5
5
|
i.init || (i.init = !0, t = r() !== -1);
|
|
@@ -44,7 +44,7 @@ var a = function() {
|
|
|
44
44
|
null,
|
|
45
45
|
null
|
|
46
46
|
);
|
|
47
|
-
const
|
|
47
|
+
const _ = d.exports;
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
_ as default
|
|
50
50
|
};
|
|
@@ -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 p } from "../chunks/util.
|
|
2
|
-
import { i } from "../chunks/init.
|
|
3
|
-
import { isBlank as
|
|
4
|
-
import { n
|
|
1
|
+
import { a as p } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { i } from "../chunks/init.6oF7OO2W.mjs";
|
|
3
|
+
import { isBlank as o } from "@web-utils/core";
|
|
4
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "Search",
|
|
7
7
|
mixins: [i],
|
|
@@ -66,7 +66,7 @@ const l = {
|
|
|
66
66
|
dataFormat() {
|
|
67
67
|
this.propOption.forEach((e) => {
|
|
68
68
|
const t = e.prop;
|
|
69
|
-
|
|
69
|
+
o(this.form[t]) && this.$set(this.form, t, e.multiple === !1 ? "" : []);
|
|
70
70
|
});
|
|
71
71
|
},
|
|
72
72
|
getActive(e, t) {
|
|
@@ -88,12 +88,12 @@ var h = function() {
|
|
|
88
88
|
var t = this, r = t._self._c;
|
|
89
89
|
return r("ElRow", { class: ["avue-search", { "avue--card": t.isCard }], attrs: { span: 24 } }, t._l(t.columnOption, function(s) {
|
|
90
90
|
return r("ElCol", { key: s.prop, staticClass: "avue-search__item", attrs: { span: s.span || 24 } }, [r("p", { staticClass: "avue-search__title" }, [t._v(t._s(s.label) + ":")]), r("div", { staticClass: "avue-search__content" }, [t.mainSlot.includes(s.prop) ? t._t(s.prop, null, { dic: t.DIC[s.prop] }) : t._l(t.DIC[s.prop], function(a) {
|
|
91
|
-
return r("span", { key: t.getKey(a, s.props, t.valueKey), class: ["avue-search__tags", { "avue-search__tags--active": t.getActive(a, s) }], on: { click: function(
|
|
91
|
+
return r("span", { key: t.getKey(a, s.props, t.valueKey), class: ["avue-search__tags", { "avue-search__tags--active": t.getActive(a, s) }], on: { click: function(f) {
|
|
92
92
|
return t.handleClick(s, a);
|
|
93
93
|
} } }, [t._v(t._s(t.getKey(a, s.props, t.labelKey)))]);
|
|
94
94
|
})], 2)]);
|
|
95
95
|
}), 1);
|
|
96
|
-
}, u = [], c = /* @__PURE__ */
|
|
96
|
+
}, u = [], c = /* @__PURE__ */ n(
|
|
97
97
|
l,
|
|
98
98
|
h,
|
|
99
99
|
u,
|
|
@@ -103,7 +103,7 @@ var h = function() {
|
|
|
103
103
|
null,
|
|
104
104
|
null
|
|
105
105
|
);
|
|
106
|
-
const
|
|
106
|
+
const O = c.exports;
|
|
107
107
|
export {
|
|
108
|
-
|
|
108
|
+
O as default
|
|
109
109
|
};
|
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
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var c = (r, e, t) => new Promise((s,
|
|
2
|
-
var n = (
|
|
1
|
+
var c = (r, e, t) => new Promise((s, i) => {
|
|
2
|
+
var n = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
a(t.next(
|
|
4
|
+
a(t.next(o));
|
|
5
5
|
} catch (l) {
|
|
6
|
-
|
|
6
|
+
i(l);
|
|
7
7
|
}
|
|
8
|
-
}, h = (
|
|
8
|
+
}, h = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
a(t.throw(
|
|
10
|
+
a(t.throw(o));
|
|
11
11
|
} catch (l) {
|
|
12
|
-
|
|
12
|
+
i(l);
|
|
13
13
|
}
|
|
14
|
-
}, a = (
|
|
14
|
+
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(n, h);
|
|
15
15
|
a((t = t.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { copy as u, isInContainer as d } from "@web-utils/core";
|
|
18
18
|
import p from "element-ui/lib/utils/clickoutside";
|
|
19
|
-
import { z as
|
|
20
|
-
import { n as
|
|
19
|
+
import { z as f } from "../chunks/util.y1gUGRqi.mjs";
|
|
20
|
+
import { n as v } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
21
21
|
const m = {
|
|
22
22
|
name: "SearchPopover",
|
|
23
23
|
directives: {
|
|
@@ -47,7 +47,7 @@ const m = {
|
|
|
47
47
|
},
|
|
48
48
|
evalResult() {
|
|
49
49
|
try {
|
|
50
|
-
return
|
|
50
|
+
return f(this.keyword);
|
|
51
51
|
} catch (r) {
|
|
52
52
|
return "";
|
|
53
53
|
}
|
|
@@ -112,10 +112,10 @@ var w = function() {
|
|
|
112
112
|
var e = this, t = e._self._c;
|
|
113
113
|
return t("div", { directives: [{ name: "show", rawName: "v-show", value: e.showPopover, expression: "showPopover" }, { name: "click-outside", rawName: "v-click-outside", value: e.hidePopover, expression: "hidePopover" }], staticClass: "search-popover" }, [t("div", { staticStyle: { padding: "10px" } }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.keyword, expression: "keyword" }], ref: "searchInput", staticClass: "search-input", attrs: { placeholder: e.currentItem ? e.currentItem.name : "输入关键字搜索 ..." }, domProps: { value: e.keyword }, on: { input: function(s) {
|
|
114
114
|
s.target.composing || (e.keyword = s.target.value);
|
|
115
|
-
} } })]), t("ul", { ref: "ul", staticStyle: { flex: "1", overflow: "auto", "list-style-type": "none" } }, [e.filterList.length ? e._l(e.filterList, function(s,
|
|
116
|
-
return t("li", { key: s.name +
|
|
117
|
-
return e.mouseHoverItem(s,
|
|
118
|
-
} } }, [t("a", { class: ["search-item", { active: e.currentIndex ===
|
|
115
|
+
} } })]), t("ul", { ref: "ul", staticStyle: { flex: "1", overflow: "auto", "list-style-type": "none" } }, [e.filterList.length ? e._l(e.filterList, function(s, i) {
|
|
116
|
+
return t("li", { key: s.name + i, staticClass: "search-li", attrs: { id: `item-${i}` }, on: { mousemove: function(n) {
|
|
117
|
+
return e.mouseHoverItem(s, i);
|
|
118
|
+
} } }, [t("a", { class: ["search-item", { active: e.currentIndex === i }], attrs: { target: s.url ? "_blank" : "", rel: "noopener noreferrer", href: s.url ? s.url : "javascript:void(0)" }, on: { click: function(n) {
|
|
119
119
|
return e.onItemClick(s);
|
|
120
120
|
} } }, [t("div", { staticClass: "search-icon" }, [t("i", { class: s.icon || "el-icon-menu" })]), t("div", { staticStyle: { flex: "1", "box-sizing": "border-box", padding: "0 10px", "overflow-x": "hidden", "text-align": "left" } }, [t("p", { staticStyle: { "margin-bottom": "4px", "font-size": "16px" } }, [e._v(e._s(s.name))]), t("p", { staticClass: "url" }, [e._v(e._s(s.url || s.path))])]), t("div", { staticClass: "search-icon search-action" }, [t("svg", { staticClass: "action", attrs: { width: "20", height: "20", viewBox: "0 0 20 20" } }, [t("g", { attrs: { stroke: "currentColor", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M18 3v4c0 2-2 4-4 4H2" } }), t("path", { attrs: { d: "M8 17l-6-6 6-6" } })])])])])]);
|
|
121
121
|
}) : e.evalResult !== "" ? t("li", { staticClass: "search-li", on: { click: e.copyEvalResult, mousemove: function(s) {
|
|
@@ -124,7 +124,7 @@ var w = function() {
|
|
|
124
124
|
}, k = [function() {
|
|
125
125
|
var r = this, e = r._self._c;
|
|
126
126
|
return e("div", { staticClass: "search-icon" }, [e("i", { staticClass: "fa fa-table" })]);
|
|
127
|
-
}], y = /* @__PURE__ */
|
|
127
|
+
}], y = /* @__PURE__ */ v(
|
|
128
128
|
m,
|
|
129
129
|
w,
|
|
130
130
|
k,
|
|
@@ -134,7 +134,7 @@ var w = function() {
|
|
|
134
134
|
null,
|
|
135
135
|
null
|
|
136
136
|
);
|
|
137
|
-
const
|
|
137
|
+
const b = y.exports;
|
|
138
138
|
export {
|
|
139
|
-
|
|
139
|
+
b as default
|
|
140
140
|
};
|
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 v } from "../chunks/util.
|
|
2
|
-
import { n as m } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as v } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { n as m } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
function p(e, s, n, r, t, o) {
|
|
4
4
|
e.save(), e.fillStyle = t, e.translate(s, n), e.rotate(Math.PI + o), e.beginPath();
|
|
5
5
|
let a = Math.sin(0), d = Math.cos(0);
|
|
6
|
-
const
|
|
6
|
+
const u = Math.PI / 5 * 4;
|
|
7
7
|
for (let h = 0; h < 5; h++)
|
|
8
|
-
a = Math.sin(h *
|
|
8
|
+
a = Math.sin(h * u), d = Math.cos(h * u), e.lineTo(a * r, d * r);
|
|
9
9
|
e.closePath(), e.stroke(), e.fill(), e.restore();
|
|
10
10
|
}
|
|
11
11
|
const x = {
|
|
@@ -45,10 +45,10 @@ const x = {
|
|
|
45
45
|
getStar(e, s, n) {
|
|
46
46
|
const r = this.canvas, t = this.context, o = r.width / 2, a = r.height / 2;
|
|
47
47
|
t.lineWidth = 7, t.strokeStyle = "#f00", t.beginPath(), t.arc(o, a, 110, 0, Math.PI * 2), t.stroke(), p(t, o, a, 20, "#f00", 0), t.font = "18px 黑体", t.textBaseline = "middle", t.textAlign = "center", t.lineWidth = 1, t.strokeStyle = "#f00", t.strokeText(e, o, a + 50), t.font = "14px 黑体", t.textBaseline = "middle", t.textAlign = "center", t.lineWidth = 1, t.strokeStyle = "#f00", t.strokeText(n, o, a + 80), t.translate(o, a), t.font = "22px 黑体";
|
|
48
|
-
const d = s.length,
|
|
48
|
+
const d = s.length, u = 4 * Math.PI / (3 * (d - 1)), h = s.split("");
|
|
49
49
|
let l;
|
|
50
50
|
for (let i = 0; i < d; i++)
|
|
51
|
-
l = h[i], i === 0 ? t.rotate(5 * Math.PI / 6) : t.rotate(
|
|
51
|
+
l = h[i], i === 0 ? t.rotate(5 * Math.PI / 6) : t.rotate(u), t.save(), t.translate(90, 0), t.rotate(Math.PI / 2), t.strokeText(l, 0, 0), t.restore(), t.save();
|
|
52
52
|
this.disabled = !0;
|
|
53
53
|
},
|
|
54
54
|
submit(e, s) {
|
|
@@ -60,35 +60,35 @@ const x = {
|
|
|
60
60
|
init() {
|
|
61
61
|
this.canvas = this.$refs.canvas;
|
|
62
62
|
const e = this.canvas, s = this;
|
|
63
|
-
typeof document.ontouchstart != "undefined" ? (e.addEventListener("touchmove", d, !1), e.addEventListener("touchstart",
|
|
63
|
+
typeof document.ontouchstart != "undefined" ? (e.addEventListener("touchmove", d, !1), e.addEventListener("touchstart", u, !1), e.addEventListener("touchend", h, !1)) : (e.addEventListener("mousemove", d, !1), e.addEventListener("mousedown", u, !1), e.addEventListener("mouseup", h, !1), e.addEventListener("mouseleave", h, !1)), this.context = e.getContext("2d");
|
|
64
64
|
const n = this.context;
|
|
65
65
|
this.linex = [], this.liney = [], this.linen = [];
|
|
66
66
|
let r = 1, t = 30, o = 0;
|
|
67
67
|
function a(l, i) {
|
|
68
|
-
const
|
|
68
|
+
const f = l.getBoundingClientRect();
|
|
69
69
|
let c, g;
|
|
70
70
|
return i.targetTouches ? (c = i.targetTouches[0].clientX, g = i.targetTouches[0].clientY) : (c = i.clientX, g = i.clientY), {
|
|
71
|
-
x: (c -
|
|
72
|
-
y: (g -
|
|
71
|
+
x: (c - f.left) * (l.width / f.width),
|
|
72
|
+
y: (g - f.top) * (l.height / f.height)
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
function d(l) {
|
|
76
76
|
if (s.disabled)
|
|
77
77
|
return;
|
|
78
|
-
const i = a(e, l).x,
|
|
78
|
+
const i = a(e, l).x, f = a(e, l).y;
|
|
79
79
|
if (o === 1) {
|
|
80
|
-
s.linex.push(i), s.liney.push(
|
|
80
|
+
s.linex.push(i), s.liney.push(f), 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;
|
|
81
81
|
for (let c = 1; c < s.linex.length; c++)
|
|
82
82
|
r = s.linex[c], t = s.liney[c], s.linen[c] === 0 ? n.moveTo(r, t) : n.lineTo(r, t);
|
|
83
83
|
n.shadowBlur = 10, n.stroke(), n.restore();
|
|
84
84
|
}
|
|
85
85
|
l.preventDefault();
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function u(l) {
|
|
88
88
|
if (s.disabled)
|
|
89
89
|
return;
|
|
90
|
-
const i = a(e, l).x,
|
|
91
|
-
o = 1, s.linex.push(i), s.liney.push(
|
|
90
|
+
const i = a(e, l).x, f = a(e, l).y;
|
|
91
|
+
o = 1, s.linex.push(i), s.liney.push(f), s.linen.push(0);
|
|
92
92
|
}
|
|
93
93
|
function h() {
|
|
94
94
|
s.disabled || (o = 0);
|
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
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,5 +1,5 @@
|
|
|
1
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const o = "avue-skeleton",
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
|
+
const o = "avue-skeleton", r = {
|
|
3
3
|
name: "Skeleton",
|
|
4
4
|
props: {
|
|
5
5
|
loading: {
|
|
@@ -33,24 +33,24 @@ const o = "avue-skeleton", _ = {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
var
|
|
36
|
+
var i = function() {
|
|
37
37
|
var e = this, t = e._self._c;
|
|
38
38
|
return t("div", { staticClass: "avue-skeleton" }, [e.loading ? e._l(e.number, function(c, s) {
|
|
39
39
|
return t("div", { key: s, staticClass: "avue-skeleton__item" }, [t("div", { staticClass: "avue-skeleton__header" }, [e.avatar ? t("span", { staticClass: "avue-skeleton__vatar'),className]" }) : e._e()]), t("div", { staticClass: "avue-skeleton__content" }, [t("h3", { class: ["avue-skeleton__title", e.className] }), t("div", { staticClass: "avue-skeleton__list" }, e._l(e.rows, function(v, l) {
|
|
40
40
|
return t("p", { key: l, class: ["avue-skeleton__li", e.className], style: e.styleName });
|
|
41
41
|
}), 0)])]);
|
|
42
42
|
}) : t("div", [e._t("default")], 2)], 2);
|
|
43
|
-
},
|
|
44
|
-
_,
|
|
43
|
+
}, u = [], _ = /* @__PURE__ */ n(
|
|
45
44
|
r,
|
|
46
45
|
i,
|
|
46
|
+
u,
|
|
47
47
|
!1,
|
|
48
48
|
null,
|
|
49
49
|
null,
|
|
50
50
|
null,
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
|
-
const
|
|
53
|
+
const d = _.exports;
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
d as default
|
|
56
56
|
};
|
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}}
|