@web-utils/component 2.7.30 → 2.7.31
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/dist/chunks/{config.7dec2bf2.js → config.75161c38.js} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.js +137 -0
- package/dist/chunks/dataformat.b8c8c01a.js +237 -0
- package/dist/chunks/detail.6135ade5.js +55 -0
- package/dist/chunks/dic.e57b75f2.js +215 -0
- package/dist/chunks/{event.fc358074.js → event.812c361c.js} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.3e63b57f.js} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a56c101a.js} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.js} +1 -1
- package/dist/chunks/{init.e0133910.js → init.38cbb3a2.js} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.js} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.js} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.js} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.js} +6 -1
- package/dist/chunks/slot.55598d0f.js +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.js} +29 -11
- package/dist/chunks/util.b0d0b0ad.js +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.js} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.js} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.js +59 -0
- package/dist/components/address-input/index.js +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.js +78 -28
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/index.js +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/index.js +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/index.js +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/index.js +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/index.js +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/index.js +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/index.js +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.js +63 -29
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/index.js +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.js +45 -27
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/index.js +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/index.js +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/index.js +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/index.js +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/index.js +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/index.js +62 -39
- package/dist/components/column/index.js +54 -29
- package/dist/components/column-default/index.js +47 -33
- package/dist/components/column-dynamic/index.js +26 -19
- package/dist/components/column-menu/index.js +98 -86
- package/dist/components/column-slot/index.js +135 -75
- package/dist/components/comment/index.js +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/index.js +7 -5
- package/dist/components/confirmable/index.js +5 -4
- package/dist/components/context-menu/index.js +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.js +55 -38
- package/dist/components/custom-scrollbar/index.js +45 -21
- package/dist/components/data-box/index.js +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/index.js +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/index.js +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/index.js +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/index.js +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/index.js +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/index.js +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/index.js +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/index.js +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/index.js +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/index.js +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/index.js +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/index.js +47 -28
- package/dist/components/data-tabs/index.js +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/index.js +46 -33
- package/dist/components/dialog-excel/index.js +102 -53
- package/dist/components/dialog-filter/index.js +64 -51
- package/dist/components/dialog-form/index.js +54 -34
- package/dist/components/dialog-form/style.css +10 -0
- package/dist/components/dynamic-table/index.js +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/index.js +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/index.js +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/index.js +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/index.js +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/index.js +25 -12
- package/dist/components/egd-collapse-item/index.js +41 -25
- package/dist/components/element-dialog/index.js +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/index.js +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/index.js +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.js +39 -17
- package/dist/components/flex-item/index.js +59 -24
- package/dist/components/flex-row/index.js +39 -17
- package/dist/components/flex-scroller/index.js +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/index.js +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/index.js +29 -21
- package/dist/components/flow-viewer/index.js +97 -52
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/index.js +12 -8
- package/dist/components/form-cascader/index.js +55 -40
- package/dist/components/form-checkbox-group/index.js +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/index.js +113 -44
- package/dist/components/form-group/index.js +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/index.js +41 -30
- package/dist/components/form-input/index.js +42 -31
- package/dist/components/form-input-email/index.js +47 -30
- package/dist/components/form-input-id-card/index.js +40 -29
- package/dist/components/form-input-number/index.js +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/index.js +40 -29
- package/dist/components/form-input-time/index.js +40 -29
- package/dist/components/form-item/index.js +99 -47
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/index.js +9 -8
- package/dist/components/form-item-group/index.js +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/index.js +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/index.js +71 -51
- package/dist/components/form-switch/index.js +41 -30
- package/dist/components/form-temp/index.js +49 -29
- package/dist/components/form-textarea/index.js +45 -34
- package/dist/components/form-view/index.js +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/index.js +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/index.js +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/index.js +39 -29
- package/dist/components/fy-checkbox/index.js +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/index.js +19 -12
- package/dist/components/fy-curd/index.js +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/index.js +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/index.js +127 -54
- package/dist/components/fy-draggable/index.js +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/index.js +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/index.js +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/index.js +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/index.js +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/index.js +43 -35
- package/dist/components/fy-input/index.js +46 -35
- package/dist/components/fy-input-color/index.js +40 -33
- package/dist/components/fy-input-icon/index.js +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/index.js +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/index.js +29 -24
- package/dist/components/fy-input-table/index.js +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/index.js +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/index.js +15 -10
- package/dist/components/fy-radio/index.js +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/index.js +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/index.js +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/index.js +22 -17
- package/dist/components/fy-switch/index.js +17 -12
- package/dist/components/fy-tabs/index.js +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/index.js +29 -18
- package/dist/components/fy-title/index.js +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/index.js +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/index.js +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/index.js +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/index.js +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/index.js +86 -66
- package/dist/components/header-search/index.js +92 -60
- package/dist/components/highlight-j-s/index.js +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/index.js +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/index.js +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/index.js +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/index.js +69 -51
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/index.js +77 -46
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/index.js +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/index.js +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/index.js +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/keep-view-alive/index.js +68 -21
- package/dist/components/keyboard/index.js +217 -132
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.js +81 -35
- package/dist/components/loading-view/index.js +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/index.js +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/index.js +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/index.js +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/index.js +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/index.js +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/index.js +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/index.js +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/index.js +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/index.js +53 -34
- package/dist/components/page-skeleton/index.js +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/index.js +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/index.js +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/index.js +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.js +92 -46
- package/dist/components/process-designer/index.js +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/index.js +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/index.js +24 -12
- package/dist/components/record-video/index.js +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.js +52 -18
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/index.js +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/index.js +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.js +138 -35
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/index.js +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/index.js +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/index.js +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/index.js +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/index.js +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.js +127 -58
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/index.js +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/index.js +14 -9
- package/dist/components/table-column/index.js +26 -17
- package/dist/components/table-page/index.js +42 -23
- package/dist/components/table-view/index.js +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/index.js +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/index.js +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/index.js +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/index.js +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/index.js +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/index.js +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/index.js +15 -8
- package/dist/components/verify/index.js +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/index.js +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/index.js +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/index.es.js +15944 -9317
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
- package/dist/components/fy-dialog-form/style.css +0 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
2
2
|
var render = function() {
|
|
3
|
-
var _vm = this
|
|
3
|
+
var _vm = this;
|
|
4
|
+
var _h = _vm.$createElement;
|
|
5
|
+
var _c = _vm._self._c || _h;
|
|
4
6
|
return _c("div", {
|
|
5
7
|
staticClass: "avue-skeleton"
|
|
6
8
|
}, [_vm.loading ? _vm._l(_vm.number, function(citem, cindex) {
|
|
@@ -25,18 +27,21 @@ var render = function() {
|
|
|
25
27
|
});
|
|
26
28
|
}), 0)])]);
|
|
27
29
|
}) : _c("div", [_vm._t("default")], 2)], 2);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
+
};
|
|
31
|
+
var staticRenderFns = [];
|
|
32
|
+
const Skeleton_vue_vue_type_style_index_0_lang = "";
|
|
33
|
+
const prefixCls = "avue-skeleton";
|
|
34
|
+
const __vue2_script = {
|
|
30
35
|
name: "Skeleton",
|
|
31
36
|
props: {
|
|
32
37
|
loading: {
|
|
33
38
|
type: Boolean,
|
|
34
|
-
default:
|
|
39
|
+
default: true
|
|
35
40
|
},
|
|
36
41
|
avatar: Boolean,
|
|
37
42
|
active: {
|
|
38
43
|
type: Boolean,
|
|
39
|
-
default:
|
|
44
|
+
default: true
|
|
40
45
|
},
|
|
41
46
|
block: Boolean,
|
|
42
47
|
number: {
|
|
@@ -50,29 +55,34 @@ const prefixCls = "avue-skeleton", __vue2_script = {
|
|
|
50
55
|
},
|
|
51
56
|
computed: {
|
|
52
57
|
styleName() {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
58
|
+
if (this.block) {
|
|
59
|
+
return {
|
|
60
|
+
width: "100%"
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
return {};
|
|
56
64
|
},
|
|
57
65
|
className() {
|
|
58
66
|
const { active } = this;
|
|
59
67
|
return { [`${prefixCls}__loading`]: active };
|
|
60
68
|
}
|
|
61
69
|
}
|
|
62
|
-
}
|
|
70
|
+
};
|
|
71
|
+
const __cssModules = {};
|
|
63
72
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
64
73
|
__vue2_script,
|
|
65
74
|
render,
|
|
66
75
|
staticRenderFns,
|
|
67
|
-
|
|
76
|
+
false,
|
|
68
77
|
__vue2_injectStyles,
|
|
69
78
|
null,
|
|
70
79
|
null,
|
|
71
80
|
null
|
|
72
81
|
);
|
|
73
82
|
function __vue2_injectStyles(context) {
|
|
74
|
-
for (let o in __cssModules)
|
|
83
|
+
for (let o in __cssModules) {
|
|
75
84
|
this[o] = __cssModules[o];
|
|
85
|
+
}
|
|
76
86
|
}
|
|
77
87
|
const Skeleton = /* @__PURE__ */ function() {
|
|
78
88
|
return __component__.exports;
|
|
@@ -1 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.avue-skeleton__avatar {
|
|
8
|
+
width: 40px;
|
|
9
|
+
height: 40px;
|
|
10
|
+
line-height: 40px;
|
|
11
|
+
display: inline-block;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
background: #f2f2f2;
|
|
14
|
+
}
|
|
15
|
+
.avue-skeleton__header {
|
|
16
|
+
display: table-cell;
|
|
17
|
+
vertical-align: top;
|
|
18
|
+
padding-right: 16px;
|
|
19
|
+
}
|
|
20
|
+
.avue-skeleton__content {
|
|
21
|
+
display: table-cell;
|
|
22
|
+
vertical-align: top;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
.avue-skeleton__title {
|
|
26
|
+
margin-top: 16px;
|
|
27
|
+
height: 16px;
|
|
28
|
+
width: 40%;
|
|
29
|
+
background: #f2f2f2;
|
|
30
|
+
}
|
|
31
|
+
.avue-skeleton__item {
|
|
32
|
+
padding-top: 16px;
|
|
33
|
+
padding-bottom: 16px;
|
|
34
|
+
border-bottom: 1px solid #e8e8e8;
|
|
35
|
+
}
|
|
36
|
+
.avue-skeleton__item:last-child {
|
|
37
|
+
border-bottom: none;
|
|
38
|
+
}
|
|
39
|
+
.avue-skeleton__li {
|
|
40
|
+
margin-bottom: 10px;
|
|
41
|
+
height: 16px;
|
|
42
|
+
background: #f2f2f2;
|
|
43
|
+
list-style: none;
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
.avue-skeleton__li:last-child {
|
|
47
|
+
width: 50%;
|
|
48
|
+
}
|
|
49
|
+
.avue-skeleton__loading {
|
|
50
|
+
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
|
|
51
|
+
animation: avue-skeleton-loading 1.4s ease infinite;
|
|
52
|
+
background-size: 400% 100%;
|
|
53
|
+
}
|
|
54
|
+
@keyframes avue-skeleton-loading {
|
|
55
|
+
0% {
|
|
56
|
+
background-position: 100% 50%;
|
|
57
|
+
}
|
|
58
|
+
100% {
|
|
59
|
+
background-position: 0 50%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,52 +1,72 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) =>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
1
|
+
var __async = (__this, __arguments, generator) => {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
var fulfilled = (value) => {
|
|
4
|
+
try {
|
|
5
|
+
step(generator.next(value));
|
|
6
|
+
} catch (e) {
|
|
7
|
+
reject(e);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var rejected = (value) => {
|
|
11
|
+
try {
|
|
12
|
+
step(generator.throw(value));
|
|
13
|
+
} catch (e) {
|
|
14
|
+
reject(e);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
18
22
|
function oneOf(value, validList) {
|
|
19
|
-
for (let i = 0; i < validList.length; i++)
|
|
20
|
-
if (value === validList[i])
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
+
for (let i = 0; i < validList.length; i++) {
|
|
24
|
+
if (value === validList[i]) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
23
29
|
}
|
|
24
30
|
const on = function() {
|
|
25
|
-
|
|
26
|
-
element
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
element
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
if (document.addEventListener) {
|
|
32
|
+
return function(element, event, handler) {
|
|
33
|
+
if (element && event && handler) {
|
|
34
|
+
element.addEventListener(event, handler, false);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
} else {
|
|
38
|
+
return function(element, event, handler) {
|
|
39
|
+
if (element && event && handler) {
|
|
40
|
+
element.attachEvent(`on${event}`, handler);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}();
|
|
45
|
+
const off = function() {
|
|
46
|
+
if (document.removeEventListener) {
|
|
47
|
+
return function(element, event, handler) {
|
|
48
|
+
if (element && event) {
|
|
49
|
+
element.removeEventListener(event, handler, false);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
} else {
|
|
53
|
+
return function(element, event, handler) {
|
|
54
|
+
if (element && event) {
|
|
55
|
+
element.detachEvent(`on${event}`, handler);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
36
59
|
}();
|
|
37
60
|
var render = function() {
|
|
38
|
-
var _vm = this
|
|
61
|
+
var _vm = this;
|
|
62
|
+
var _h = _vm.$createElement;
|
|
63
|
+
var _c = _vm._self._c || _h;
|
|
39
64
|
return _c("div", {
|
|
40
65
|
ref: "outerWrapper",
|
|
41
66
|
class: _vm.wrapperClasses
|
|
42
67
|
}, [_vm.isHorizontal ? _c("div", {
|
|
43
68
|
class: `${_vm.prefix}-horizontal`
|
|
44
|
-
}, [_vm.hideLeft ? _c("div", {
|
|
45
|
-
class: [`${_vm.prefix}-pane`, "right-pane"],
|
|
46
|
-
staticStyle: {
|
|
47
|
-
left: "0"
|
|
48
|
-
}
|
|
49
|
-
}, [_vm._t("right")], 2) : [_c("div", {
|
|
69
|
+
}, [!_vm.hideLeft ? [_c("div", {
|
|
50
70
|
class: [`${_vm.prefix}-pane`, "left-pane"],
|
|
51
71
|
style: {
|
|
52
72
|
right: `${_vm.anotherOffset}%`
|
|
@@ -58,12 +78,12 @@ var render = function() {
|
|
|
58
78
|
width: `${_vm.triggerSize}px`
|
|
59
79
|
},
|
|
60
80
|
on: {
|
|
61
|
-
mousedown: _vm.handleMousedown
|
|
81
|
+
"mousedown": _vm.handleMousedown
|
|
62
82
|
}
|
|
63
83
|
}, [_vm._t("trigger", function() {
|
|
64
84
|
return [_c("Trigger", {
|
|
65
85
|
attrs: {
|
|
66
|
-
mode: "vertical"
|
|
86
|
+
"mode": "vertical"
|
|
67
87
|
}
|
|
68
88
|
})];
|
|
69
89
|
})], 2), _c("div", {
|
|
@@ -71,7 +91,12 @@ var render = function() {
|
|
|
71
91
|
style: {
|
|
72
92
|
left: `calc(${_vm.offset}% + ${_vm.triggerSize}px)`
|
|
73
93
|
}
|
|
74
|
-
}, [_vm._t("right")], 2)]
|
|
94
|
+
}, [_vm._t("right")], 2)] : _c("div", {
|
|
95
|
+
class: [`${_vm.prefix}-pane`, "right-pane"],
|
|
96
|
+
staticStyle: {
|
|
97
|
+
"left": "0"
|
|
98
|
+
}
|
|
99
|
+
}, [_vm._t("right")], 2)], 2) : _c("div", {
|
|
75
100
|
class: `${_vm.prefix}-vertical`
|
|
76
101
|
}, [_c("div", {
|
|
77
102
|
class: [`${_vm.prefix}-pane`, "top-pane"],
|
|
@@ -85,12 +110,12 @@ var render = function() {
|
|
|
85
110
|
height: `${_vm.triggerSize}px`
|
|
86
111
|
},
|
|
87
112
|
on: {
|
|
88
|
-
mousedown: _vm.handleMousedown
|
|
113
|
+
"mousedown": _vm.handleMousedown
|
|
89
114
|
}
|
|
90
115
|
}, [_vm._t("trigger", function() {
|
|
91
116
|
return [_c("Trigger", {
|
|
92
117
|
attrs: {
|
|
93
|
-
mode: "horizontal"
|
|
118
|
+
"mode": "horizontal"
|
|
94
119
|
}
|
|
95
120
|
})];
|
|
96
121
|
})], 2), _c("div", {
|
|
@@ -100,10 +125,12 @@ var render = function() {
|
|
|
100
125
|
}
|
|
101
126
|
}, [_vm._t("bottom")], 2)]), _c("ResizeObserver", {
|
|
102
127
|
on: {
|
|
103
|
-
notify: _vm.resetOffset
|
|
128
|
+
"notify": _vm.resetOffset
|
|
104
129
|
}
|
|
105
130
|
})], 1);
|
|
106
|
-
}
|
|
131
|
+
};
|
|
132
|
+
var staticRenderFns = [];
|
|
133
|
+
const SplitPane_vue_vue_type_style_index_0_lang = "";
|
|
107
134
|
const __vue2_script = {
|
|
108
135
|
name: "SplitPane",
|
|
109
136
|
props: {
|
|
@@ -142,7 +169,7 @@ const __vue2_script = {
|
|
|
142
169
|
prefix: "egd-split",
|
|
143
170
|
offset: 0,
|
|
144
171
|
oldOffset: 0,
|
|
145
|
-
isMoving:
|
|
172
|
+
isMoving: false
|
|
146
173
|
};
|
|
147
174
|
},
|
|
148
175
|
computed: {
|
|
@@ -156,7 +183,7 @@ const __vue2_script = {
|
|
|
156
183
|
return 100 - this.offset;
|
|
157
184
|
},
|
|
158
185
|
valueIsPx() {
|
|
159
|
-
return typeof this.value
|
|
186
|
+
return typeof this.value === "string";
|
|
160
187
|
},
|
|
161
188
|
offsetSize() {
|
|
162
189
|
return this.isHorizontal ? "offsetWidth" : "offsetHeight";
|
|
@@ -173,7 +200,8 @@ const __vue2_script = {
|
|
|
173
200
|
},
|
|
174
201
|
mounted() {
|
|
175
202
|
return __async(this, null, function* () {
|
|
176
|
-
yield this.$nextTick()
|
|
203
|
+
yield this.$nextTick();
|
|
204
|
+
this.resetOffset();
|
|
177
205
|
});
|
|
178
206
|
},
|
|
179
207
|
methods: {
|
|
@@ -185,45 +213,82 @@ const __vue2_script = {
|
|
|
185
213
|
},
|
|
186
214
|
getComputedThresholdValue(type) {
|
|
187
215
|
const size = this.$refs.outerWrapper[this.offsetSize];
|
|
188
|
-
|
|
216
|
+
if (this.valueIsPx) {
|
|
217
|
+
return typeof this[type] === "string" ? this[type] : size * this[type];
|
|
218
|
+
} else {
|
|
219
|
+
return typeof this[type] === "string" ? this.px2percent(this[type], size) : this[type];
|
|
220
|
+
}
|
|
189
221
|
},
|
|
190
222
|
getMin(value1, value2) {
|
|
191
|
-
|
|
223
|
+
if (this.valueIsPx) {
|
|
224
|
+
return `${Math.min(parseFloat(value1), parseFloat(value2))}px`;
|
|
225
|
+
} else {
|
|
226
|
+
return Math.min(value1, value2);
|
|
227
|
+
}
|
|
192
228
|
},
|
|
193
229
|
getMax(value1, value2) {
|
|
194
|
-
|
|
230
|
+
if (this.valueIsPx) {
|
|
231
|
+
return `${Math.max(parseFloat(value1), parseFloat(value2))}px`;
|
|
232
|
+
} else {
|
|
233
|
+
return Math.max(value1, value2);
|
|
234
|
+
}
|
|
195
235
|
},
|
|
196
236
|
getAnotherOffset(value) {
|
|
197
237
|
let res = 0;
|
|
198
|
-
|
|
238
|
+
if (this.valueIsPx) {
|
|
239
|
+
res = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(value)}px`;
|
|
240
|
+
} else {
|
|
241
|
+
res = 1 - value;
|
|
242
|
+
}
|
|
243
|
+
return res;
|
|
199
244
|
},
|
|
200
245
|
handleMove(e) {
|
|
201
|
-
const
|
|
246
|
+
const pageOffset = this.isHorizontal ? e.pageX : e.pageY;
|
|
247
|
+
const offset = pageOffset - this.initOffset;
|
|
248
|
+
const outerWidth = this.$refs.outerWrapper[this.offsetSize];
|
|
202
249
|
let value = this.valueIsPx ? `${parseFloat(this.oldOffset) + offset}px` : this.px2percent(outerWidth * this.oldOffset + offset, outerWidth);
|
|
203
250
|
const anotherValue = this.getAnotherOffset(value);
|
|
204
|
-
|
|
251
|
+
if (parseFloat(value) <= parseFloat(this.computedMin))
|
|
252
|
+
value = this.getMax(value, this.computedMin);
|
|
253
|
+
if (parseFloat(anotherValue) <= parseFloat(this.computedMax)) {
|
|
254
|
+
value = this.getAnotherOffset(this.getMax(anotherValue, this.computedMax));
|
|
255
|
+
}
|
|
256
|
+
e.atMin = this.value === this.computedMin;
|
|
257
|
+
e.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5);
|
|
258
|
+
this.$emit("input", value);
|
|
259
|
+
this.$emit("on-moving", e);
|
|
205
260
|
},
|
|
206
261
|
handleUp() {
|
|
207
|
-
this.isMoving =
|
|
262
|
+
this.isMoving = false;
|
|
263
|
+
off(window, "mousemove", this.handleMove);
|
|
264
|
+
off(window, "mouseup", this.handleUp);
|
|
265
|
+
this.$emit("on-move-end");
|
|
208
266
|
},
|
|
209
267
|
handleMousedown(e) {
|
|
210
|
-
this.initOffset = this.isHorizontal ? e.pageX : e.pageY
|
|
268
|
+
this.initOffset = this.isHorizontal ? e.pageX : e.pageY;
|
|
269
|
+
this.oldOffset = this.value;
|
|
270
|
+
this.isMoving = true;
|
|
271
|
+
on(window, "mousemove", this.handleMove);
|
|
272
|
+
on(window, "mouseup", this.handleUp);
|
|
273
|
+
this.$emit("on-move-start");
|
|
211
274
|
}
|
|
212
275
|
}
|
|
213
|
-
}
|
|
276
|
+
};
|
|
277
|
+
const __cssModules = {};
|
|
214
278
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
215
279
|
__vue2_script,
|
|
216
280
|
render,
|
|
217
281
|
staticRenderFns,
|
|
218
|
-
|
|
282
|
+
false,
|
|
219
283
|
__vue2_injectStyles,
|
|
220
284
|
null,
|
|
221
285
|
null,
|
|
222
286
|
null
|
|
223
287
|
);
|
|
224
288
|
function __vue2_injectStyles(context) {
|
|
225
|
-
for (let o in __cssModules)
|
|
289
|
+
for (let o in __cssModules) {
|
|
226
290
|
this[o] = __cssModules[o];
|
|
291
|
+
}
|
|
227
292
|
}
|
|
228
293
|
const SplitPane = /* @__PURE__ */ function() {
|
|
229
294
|
return __component__.exports;
|
|
@@ -1 +1,100 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */ /* 应用头部高度 */ /* 页面宽度 */ /* 侧栏宽度 */ /* 标签高度 */ /* 页面头部工具条高度 */
|
|
2
|
+
.egd-split-wrapper {
|
|
3
|
+
position: relative;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
.egd-split-pane {
|
|
8
|
+
position: absolute;
|
|
9
|
+
}
|
|
10
|
+
.egd-split-pane.left-pane, .egd-split-pane.right-pane {
|
|
11
|
+
top: 0;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
.egd-split-pane.left-pane {
|
|
15
|
+
left: 0;
|
|
16
|
+
}
|
|
17
|
+
.egd-split-pane.right-pane {
|
|
18
|
+
right: 0;
|
|
19
|
+
}
|
|
20
|
+
.egd-split-pane.top-pane, .egd-split-pane.bottom-pane {
|
|
21
|
+
right: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
}
|
|
24
|
+
.egd-split-pane.top-pane {
|
|
25
|
+
top: 0;
|
|
26
|
+
}
|
|
27
|
+
.egd-split-pane.bottom-pane {
|
|
28
|
+
bottom: 0;
|
|
29
|
+
}
|
|
30
|
+
.egd-split-trigger-con {
|
|
31
|
+
position: absolute;
|
|
32
|
+
z-index: 10;
|
|
33
|
+
transform: translate(-50%, -50%);
|
|
34
|
+
}
|
|
35
|
+
.egd-split-trigger-bar-con {
|
|
36
|
+
position: absolute;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
.egd-split-trigger-bar-con.vertical {
|
|
40
|
+
top: 50%;
|
|
41
|
+
left: 1px;
|
|
42
|
+
height: 32px;
|
|
43
|
+
transform: translate(0, -50%);
|
|
44
|
+
}
|
|
45
|
+
.egd-split-trigger-bar-con.horizontal {
|
|
46
|
+
top: 1px;
|
|
47
|
+
left: 50%;
|
|
48
|
+
width: 32px;
|
|
49
|
+
transform: translate(-50%, 0);
|
|
50
|
+
}
|
|
51
|
+
.egd-split-trigger-vertical {
|
|
52
|
+
width: 6px;
|
|
53
|
+
height: 100%;
|
|
54
|
+
background: #f8f8f9;
|
|
55
|
+
box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.4);
|
|
56
|
+
cursor: ew-resize;
|
|
57
|
+
}
|
|
58
|
+
.egd-split-trigger-vertical .egd-split-trigger-bar {
|
|
59
|
+
float: left;
|
|
60
|
+
width: 4px;
|
|
61
|
+
height: 1px;
|
|
62
|
+
margin-top: 3px;
|
|
63
|
+
background: rgba(23, 35, 61, 0.25);
|
|
64
|
+
}
|
|
65
|
+
.egd-split-trigger-horizontal {
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 6px;
|
|
68
|
+
background: #f8f8f9;
|
|
69
|
+
box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.4);
|
|
70
|
+
cursor: ns-resize;
|
|
71
|
+
}
|
|
72
|
+
.egd-split-trigger-horizontal .egd-split-trigger-bar {
|
|
73
|
+
float: left;
|
|
74
|
+
width: 1px;
|
|
75
|
+
height: 4px;
|
|
76
|
+
margin-right: 3px;
|
|
77
|
+
background: rgba(23, 35, 61, 0.25);
|
|
78
|
+
}
|
|
79
|
+
.egd-split-horizontal .egd-split-trigger-con {
|
|
80
|
+
top: 50%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
border-right: 1px solid #d7dae0;
|
|
83
|
+
}
|
|
84
|
+
.egd-split-vertical .egd-split-trigger-con {
|
|
85
|
+
left: 50%;
|
|
86
|
+
width: 100%;
|
|
87
|
+
border-bottom: 1px solid #d7dae0;
|
|
88
|
+
}
|
|
89
|
+
.egd-split-trigger-vertical-line {
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
box-shadow: none;
|
|
92
|
+
}
|
|
93
|
+
.egd-split-trigger-horizontal-line {
|
|
94
|
+
background-color: transparent;
|
|
95
|
+
box-shadow: none;
|
|
96
|
+
}
|
|
97
|
+
.egd-split .no-select {
|
|
98
|
+
-webkit-touch-callout: none;
|
|
99
|
+
user-select: none;
|
|
100
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
2
|
+
const Stateful_vue_vue_type_style_index_0_lang = "";
|
|
2
3
|
const __vue2_script = {
|
|
3
4
|
name: "Stateful",
|
|
4
|
-
functional:
|
|
5
|
+
functional: true,
|
|
5
6
|
props: {
|
|
6
7
|
tag: {
|
|
7
8
|
type: String,
|
|
@@ -43,7 +44,8 @@ const __vue2_script = {
|
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
46
|
render(createElement, { props, data, children }) {
|
|
46
|
-
const { draft, doing, overdue, error, done, closed, status, tag, size, type } = props
|
|
47
|
+
const { draft, doing, overdue, error, done, closed, status, tag, size, type } = props;
|
|
48
|
+
const statusClass = {
|
|
47
49
|
draft: Array.isArray(draft) ? draft.includes(status) : draft,
|
|
48
50
|
doing: Array.isArray(doing) ? doing.includes(status) : doing,
|
|
49
51
|
overdue: Array.isArray(overdue) ? overdue.includes(status) : overdue,
|
|
@@ -66,15 +68,16 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
|
66
68
|
__vue2_script,
|
|
67
69
|
__vue2_render,
|
|
68
70
|
__vue2_staticRenderFns,
|
|
69
|
-
|
|
71
|
+
false,
|
|
70
72
|
__vue2_injectStyles,
|
|
71
73
|
null,
|
|
72
74
|
null,
|
|
73
75
|
null
|
|
74
76
|
);
|
|
75
77
|
function __vue2_injectStyles(context) {
|
|
76
|
-
for (let o in __cssModules)
|
|
78
|
+
for (let o in __cssModules) {
|
|
77
79
|
this[o] = __cssModules[o];
|
|
80
|
+
}
|
|
78
81
|
}
|
|
79
82
|
const Stateful = /* @__PURE__ */ function() {
|
|
80
83
|
return __component__.exports;
|
|
@@ -1 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.stateful {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
width: 14px;
|
|
10
|
+
height: 14px;
|
|
11
|
+
margin-right: 6px;
|
|
12
|
+
vertical-align: middle;
|
|
13
|
+
border-radius: 2px;
|
|
14
|
+
content: "";
|
|
15
|
+
}
|
|
16
|
+
.stateful.draft {
|
|
17
|
+
background-color: #d7d7d7;
|
|
18
|
+
}
|
|
19
|
+
.stateful.doing {
|
|
20
|
+
background-color: #14ca7a;
|
|
21
|
+
}
|
|
22
|
+
.stateful.overdue {
|
|
23
|
+
background-color: #feae3d;
|
|
24
|
+
}
|
|
25
|
+
.stateful.error {
|
|
26
|
+
background-color: #f00;
|
|
27
|
+
}
|
|
28
|
+
.stateful.done {
|
|
29
|
+
background-color: #45a3e7;
|
|
30
|
+
}
|
|
31
|
+
.stateful.closed {
|
|
32
|
+
background-color: #d7d7d7;
|
|
33
|
+
}
|