@done-coding/forge-core 0.0.0-placeholder.0 → 0.100.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +49 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/bridge/badge.mjs +37 -0
- package/es/bridge/config-hook.mjs +58 -0
- package/es/bridge/contracts/event.mjs +102 -0
- package/es/bridge/contracts/index.mjs +5 -0
- package/es/bridge/event.mjs +87 -0
- package/es/bridge/index.mjs +331 -0
- package/es/bridge/layout.mjs +100 -0
- package/es/bridge/permission.mjs +91 -0
- package/es/bridge/plugin.mjs +39 -0
- package/es/bridge/route.mjs +78 -0
- package/es/bridge/state.mjs +61 -0
- package/es/bridge/storage.mjs +26 -0
- package/es/bridge/theme/index.mjs +233 -0
- package/es/bridge/theme/persist.mjs +18 -0
- package/es/bridge/theme/system-dark.mjs +18 -0
- package/es/components/basic/AppCollapseToggle.vue.mjs +7 -0
- package/es/components/basic/AppCollapseToggle.vue2.mjs +63 -0
- package/es/components/basic/action-btn/ActionBtn.vue.mjs +200 -0
- package/es/components/basic/action-btn/ActionBtn.vue2.mjs +4 -0
- package/es/components/basic/action-btn/index.mjs +4 -0
- package/es/components/basic/action-btn/use-action-btn-report.mjs +54 -0
- package/es/components/basic/action-btn-group/ActionBtnGroup.vue.mjs +69 -0
- package/es/components/basic/action-btn-group/ActionBtnGroup.vue2.mjs +4 -0
- package/es/components/basic/action-btn-group/index.mjs +4 -0
- package/es/components/basic/action-btn-group/use-action-btn-group-report.mjs +30 -0
- package/es/components/basic/display-contracts/index.mjs +1 -0
- package/es/components/basic/drag-float/DragFloat.vue.mjs +7 -0
- package/es/components/basic/drag-float/DragFloat.vue2.mjs +109 -0
- package/es/components/basic/drag-float/index.mjs +4 -0
- package/es/components/basic/height-provider/HeightProvider.vue.mjs +62 -0
- package/es/components/basic/height-provider/HeightProvider.vue2.mjs +4 -0
- package/es/components/basic/height-provider/index.mjs +4 -0
- package/es/components/basic/index.mjs +4 -0
- package/es/components/basic/shadow-clone/ShadowClone.vue.mjs +32 -0
- package/es/components/basic/shadow-clone/ShadowClone.vue2.mjs +4 -0
- package/es/components/basic/shadow-clone/index.mjs +4 -0
- package/es/components/basic/shadow-clone/use-shadow-target.mjs +76 -0
- package/es/components/basic/slot-layout-flow-aside/SlotLayoutFlowAside.vue.mjs +7 -0
- package/es/components/basic/slot-layout-flow-aside/SlotLayoutFlowAside.vue2.mjs +68 -0
- package/es/components/basic/slot-layout-flow-aside/index.mjs +4 -0
- package/es/components/basic/slot-layout-template/SlotLayoutTemplate.vue.mjs +30 -0
- package/es/components/basic/slot-layout-template/SlotLayoutTemplate.vue2.mjs +4 -0
- package/es/components/basic/slot-layout-template/index.mjs +4 -0
- package/es/components/basic/watch-size/WatchSize.vue.mjs +73 -0
- package/es/components/basic/watch-size/WatchSize.vue2.mjs +4 -0
- package/es/components/basic/watch-size/index.mjs +4 -0
- package/es/components/config/app-theme/AppTheme.vue.mjs +7 -0
- package/es/components/config/app-theme/AppTheme.vue2.mjs +82 -0
- package/es/components/config/app-theme/index.mjs +4 -0
- package/es/components/data/badge-mark/BadgeMark.vue.mjs +7 -0
- package/es/components/data/badge-mark/BadgeMark.vue2.mjs +80 -0
- package/es/components/data/badge-mark/index.mjs +4 -0
- package/es/components/data/badge-mark/use-badge-mask.mjs +82 -0
- package/es/components/data/badge-mark/use-badge.mjs +106 -0
- package/es/components/data/boolean-tag/BooleanTag.vue.mjs +36 -0
- package/es/components/data/boolean-tag/BooleanTag.vue2.mjs +4 -0
- package/es/components/data/boolean-tag/index.mjs +4 -0
- package/es/components/data/image-preview-trigger/ImagePreviewTrigger.vue.mjs +38 -0
- package/es/components/data/image-preview-trigger/ImagePreviewTrigger.vue2.mjs +4 -0
- package/es/components/data/image-preview-trigger/index.mjs +4 -0
- package/es/components/data/modal-image-preview/ModalImagePreview.vue.mjs +52 -0
- package/es/components/data/modal-image-preview/ModalImagePreview.vue2.mjs +4 -0
- package/es/components/data/modal-image-preview/index.mjs +4 -0
- package/es/components/feedback/action-confirm/ActionConfirm.vue.mjs +7 -0
- package/es/components/feedback/action-confirm/ActionConfirm.vue2.mjs +143 -0
- package/es/components/feedback/action-confirm/index.mjs +4 -0
- package/es/components/feedback/modal-confirm/ModalConfirm.vue.mjs +8 -0
- package/es/components/feedback/modal-confirm/ModalConfirm.vue2.mjs +243 -0
- package/es/components/feedback/modal-confirm/index.mjs +4 -0
- package/es/components/feedback/modal-video-preview/ModalVideoPreview.vue.mjs +8 -0
- package/es/components/feedback/modal-video-preview/ModalVideoPreview.vue2.mjs +93 -0
- package/es/components/feedback/modal-video-preview/index.mjs +4 -0
- package/es/components/feedback/preview-keys/index.mjs +7 -0
- package/es/components/feedback/preview-keys/keys.mjs +7 -0
- package/es/components/feedback/shelf-contracts/index.mjs +1 -0
- package/es/components/feedback/video-preview-trigger/VideoPreviewTrigger.vue.mjs +7 -0
- package/es/components/feedback/video-preview-trigger/VideoPreviewTrigger.vue2.mjs +133 -0
- package/es/components/feedback/video-preview-trigger/index.mjs +4 -0
- package/es/components/other/TriggerAutoImport.vue.mjs +12 -0
- package/es/components/other/TriggerAutoImport.vue2.mjs +4 -0
- package/es/components/other/auto-refresh/AutoRefresh.vue.mjs +7 -0
- package/es/components/other/auto-refresh/AutoRefresh.vue2.mjs +96 -0
- package/es/components/other/auto-refresh/index.mjs +4 -0
- package/es/components/other/auto-refresh/use-auto-refresh-report.mjs +31 -0
- package/es/components/other/auto-refresh-contracts/index.mjs +1 -0
- package/es/components/other/auto-refresh-group/AutoRefreshGroup.vue.mjs +7 -0
- package/es/components/other/auto-refresh-group/AutoRefreshGroup.vue2.mjs +69 -0
- package/es/components/other/auto-refresh-group/index.mjs +4 -0
- package/es/components/other/auto-refresh-group/use-auto-refresh-group-report.mjs +12 -0
- package/es/components/other/index.mjs +4 -0
- package/es/config/badge-attr.mjs +6 -0
- package/es/config/index.mjs +19 -0
- package/es/config/list-model.mjs +13 -0
- package/es/config/modal-keys.mjs +6 -0
- package/es/config/route.mjs +6 -0
- package/es/config/slot-region.mjs +45 -0
- package/es/helpers/form.mjs +25 -0
- package/es/helpers/index.mjs +10 -0
- package/es/helpers/list-helper.mjs +77 -0
- package/es/hooks/activated.mjs +64 -0
- package/es/hooks/feel-size.mjs +46 -0
- package/es/hooks/index.mjs +31 -0
- package/es/hooks/menus-dispatch.mjs +85 -0
- package/es/hooks/timeout.mjs +36 -0
- package/es/hooks/use-active-record.mjs +104 -0
- package/es/hooks/use-breakpoint.mjs +48 -0
- package/es/hooks/use-bridge-report.mjs +12 -0
- package/es/hooks/use-channel-viewport-height.mjs +43 -0
- package/es/hooks/use-context-defaults.mjs +44 -0
- package/es/hooks/use-custom-breakpoint.mjs +69 -0
- package/es/hooks/use-is-dev.mjs +16 -0
- package/es/hooks/use-observe-size.mjs +43 -0
- package/es/hooks/use-permission.mjs +12 -0
- package/es/hooks/use-surface.mjs +35 -0
- package/es/hooks/use-theme-apply.mjs +496 -0
- package/es/hooks/use-viewport-apply.mjs +52 -0
- package/es/index.mjs +179 -0
- package/es/inject/index.mjs +19 -0
- package/es/inject/key.mjs +70 -0
- package/es/injection-namespace.mjs +4 -0
- package/es/internals/index.mjs +16 -0
- package/es/router/group-redirect.mjs +26 -0
- package/es/router/guard/index.mjs +36 -0
- package/es/router/guard/login.mjs +6 -0
- package/es/router/guard/permission.mjs +6 -0
- package/es/router/index.mjs +10 -0
- package/es/store/app.mjs +306 -0
- package/es/store/index.mjs +8 -0
- package/es/store/router-permission.mjs +94 -0
- package/es/store/user.mjs +128 -0
- package/es/style.css +339 -0
- package/es/types/index.mjs +1 -0
- package/es/utils/dom.mjs +42 -0
- package/es/utils/export.mjs +39 -0
- package/es/utils/gap-scale.mjs +25 -0
- package/es/utils/id.mjs +7 -0
- package/es/utils/index.mjs +37 -0
- package/es/utils/permission.mjs +31 -0
- package/es/utils/router.mjs +42 -0
- package/es/utils/theme-scale.mjs +86 -0
- package/es/utils/time.mjs +24 -0
- package/package.json +232 -1
- package/types/bridge/badge.d.ts +215 -0
- package/types/bridge/config-hook.d.ts +12 -0
- package/types/bridge/contracts/bridge.d.ts +339 -0
- package/types/bridge/contracts/config.d.ts +519 -0
- package/types/bridge/contracts/event.d.ts +546 -0
- package/types/bridge/contracts/index.d.ts +3 -0
- package/types/bridge/event.d.ts +3 -0
- package/types/bridge/index.d.ts +28 -0
- package/types/bridge/layout.d.ts +102 -0
- package/types/bridge/permission.d.ts +31 -0
- package/types/bridge/plugin.d.ts +11 -0
- package/types/bridge/route.d.ts +36 -0
- package/types/bridge/state.d.ts +26 -0
- package/types/bridge/storage.d.ts +10 -0
- package/types/bridge/theme/index.d.ts +10 -0
- package/types/bridge/theme/persist.d.ts +23 -0
- package/types/bridge/theme/system-dark.d.ts +14 -0
- package/types/bridge/theme/types.d.ts +346 -0
- package/types/components/basic/AppCollapseToggle.vue.d.ts +14 -0
- package/types/components/basic/action-btn/ActionBtn.vue.d.ts +19 -0
- package/types/components/basic/action-btn/index.d.ts +1 -0
- package/types/components/basic/action-btn/use-action-btn-report.d.ts +12 -0
- package/types/components/basic/action-btn-group/ActionBtnGroup.vue.d.ts +18 -0
- package/types/components/basic/action-btn-group/index.d.ts +1 -0
- package/types/components/basic/action-btn-group/use-action-btn-group-report.d.ts +6 -0
- package/types/components/basic/display-contracts/index.d.ts +1 -0
- package/types/components/basic/display-contracts/types.d.ts +280 -0
- package/types/components/basic/drag-float/DragFloat.vue.d.ts +35 -0
- package/types/components/basic/drag-float/index.d.ts +1 -0
- package/types/components/basic/height-provider/HeightProvider.vue.d.ts +28 -0
- package/types/components/basic/height-provider/index.d.ts +1 -0
- package/types/components/basic/index.d.ts +1 -0
- package/types/components/basic/shadow-clone/ShadowClone.vue.d.ts +20 -0
- package/types/components/basic/shadow-clone/index.d.ts +1 -0
- package/types/components/basic/shadow-clone/use-shadow-target.d.ts +9 -0
- package/types/components/basic/slot-layout-flow-aside/SlotLayoutFlowAside.vue.d.ts +32 -0
- package/types/components/basic/slot-layout-flow-aside/index.d.ts +2 -0
- package/types/components/basic/slot-layout-flow-aside/types.d.ts +10 -0
- package/types/components/basic/slot-layout-template/SlotLayoutTemplate.vue.d.ts +48 -0
- package/types/components/basic/slot-layout-template/index.d.ts +1 -0
- package/types/components/basic/watch-size/WatchSize.vue.d.ts +45 -0
- package/types/components/basic/watch-size/index.d.ts +1 -0
- package/types/components/config/app-theme/AppTheme.vue.d.ts +2 -0
- package/types/components/config/app-theme/index.d.ts +1 -0
- package/types/components/data/badge-mark/BadgeMark.vue.d.ts +212 -0
- package/types/components/data/badge-mark/index.d.ts +1 -0
- package/types/components/data/badge-mark/use-badge-mask.d.ts +8 -0
- package/types/components/data/badge-mark/use-badge.d.ts +78 -0
- package/types/components/data/boolean-tag/BooleanTag.vue.d.ts +8 -0
- package/types/components/data/boolean-tag/index.d.ts +1 -0
- package/types/components/data/image-preview-trigger/ImagePreviewTrigger.vue.d.ts +41 -0
- package/types/components/data/image-preview-trigger/index.d.ts +1 -0
- package/types/components/data/modal-image-preview/ModalImagePreview.vue.d.ts +31 -0
- package/types/components/data/modal-image-preview/index.d.ts +1 -0
- package/types/components/feedback/action-confirm/ActionConfirm.vue.d.ts +33 -0
- package/types/components/feedback/action-confirm/index.d.ts +1 -0
- package/types/components/feedback/modal-confirm/ModalConfirm.vue.d.ts +120 -0
- package/types/components/feedback/modal-confirm/index.d.ts +2 -0
- package/types/components/feedback/modal-confirm/types.d.ts +4 -0
- package/types/components/feedback/modal-video-preview/ModalVideoPreview.vue.d.ts +40 -0
- package/types/components/feedback/modal-video-preview/index.d.ts +1 -0
- package/types/components/feedback/preview-keys/index.d.ts +2 -0
- package/types/components/feedback/preview-keys/keys.d.ts +14 -0
- package/types/components/feedback/shelf-contracts/index.d.ts +1 -0
- package/types/components/feedback/shelf-contracts/types.d.ts +1 -0
- package/types/components/feedback/video-preview-trigger/VideoPreviewTrigger.vue.d.ts +46 -0
- package/types/components/feedback/video-preview-trigger/index.d.ts +1 -0
- package/types/components/other/TriggerAutoImport.vue.d.ts +17 -0
- package/types/components/other/auto-refresh/AutoRefresh.vue.d.ts +14 -0
- package/types/components/other/auto-refresh/index.d.ts +1 -0
- package/types/components/other/auto-refresh/use-auto-refresh-report.d.ts +1 -0
- package/types/components/other/auto-refresh-contracts/index.d.ts +1 -0
- package/types/components/other/auto-refresh-contracts/types.d.ts +17 -0
- package/types/components/other/auto-refresh-group/AutoRefreshGroup.vue.d.ts +18 -0
- package/types/components/other/auto-refresh-group/index.d.ts +1 -0
- package/types/components/other/auto-refresh-group/use-auto-refresh-group-report.d.ts +3 -0
- package/types/components/other/index.d.ts +1 -0
- package/types/config/badge-attr.d.ts +26 -0
- package/types/config/index.d.ts +5 -0
- package/types/config/list-model.d.ts +49 -0
- package/types/config/modal-keys.d.ts +12 -0
- package/types/config/route.d.ts +4 -0
- package/types/config/slot-region.d.ts +72 -0
- package/types/helpers/form.d.ts +8 -0
- package/types/helpers/index.d.ts +3 -0
- package/types/helpers/list-helper.d.ts +35 -0
- package/types/helpers/types.d.ts +15 -0
- package/types/hooks/activated.d.ts +36 -0
- package/types/hooks/feel-size.d.ts +10 -0
- package/types/hooks/index.d.ts +12 -0
- package/types/hooks/menus-dispatch.d.ts +35 -0
- package/types/hooks/timeout.d.ts +7 -0
- package/types/hooks/use-active-record.d.ts +64 -0
- package/types/hooks/use-breakpoint.d.ts +4 -0
- package/types/hooks/use-bridge-report.d.ts +3 -0
- package/types/hooks/use-channel-viewport-height.d.ts +22 -0
- package/types/hooks/use-context-defaults.d.ts +39 -0
- package/types/hooks/use-custom-breakpoint.d.ts +17 -0
- package/types/hooks/use-is-dev.d.ts +24 -0
- package/types/hooks/use-observe-size.d.ts +36 -0
- package/types/hooks/use-permission.d.ts +14 -0
- package/types/hooks/use-surface.d.ts +45 -0
- package/types/hooks/use-theme-apply.d.ts +34 -0
- package/types/hooks/use-viewport-apply.d.ts +20 -0
- package/types/index.d.ts +33 -0
- package/types/inject/index.d.ts +1 -0
- package/types/inject/key.d.ts +247 -0
- package/types/injection-namespace.d.ts +4 -0
- package/types/internals/index.d.ts +6 -0
- package/types/router/group-redirect.d.ts +14 -0
- package/types/router/guard/index.d.ts +20 -0
- package/types/router/guard/login.d.ts +4 -0
- package/types/router/guard/permission.d.ts +4 -0
- package/types/router/guard/types.d.ts +14 -0
- package/types/router/index.d.ts +2 -0
- package/types/store/app.d.ts +219 -0
- package/types/store/index.d.ts +3 -0
- package/types/store/router-permission.d.ts +79 -0
- package/types/store/user.d.ts +64 -0
- package/types/types/app-layout.d.ts +42 -0
- package/types/types/dc-path.d.ts +2 -0
- package/types/types/dot-path.d.ts +13 -0
- package/types/types/index.d.ts +9 -0
- package/types/types/list-api.d.ts +17 -0
- package/types/types/modal-shelf.d.ts +123 -0
- package/types/types/nest-form.d.ts +8 -0
- package/types/types/permission.d.ts +31 -0
- package/types/types/route.d.ts +141 -0
- package/types/types/utility-types.d.ts +25 -0
- package/types/utils/dom.d.ts +61 -0
- package/types/utils/export.d.ts +35 -0
- package/types/utils/gap-scale.d.ts +46 -0
- package/types/utils/id.d.ts +2 -0
- package/types/utils/index.d.ts +8 -0
- package/types/utils/permission.d.ts +16 -0
- package/types/utils/router.d.ts +18 -0
- package/types/utils/theme-scale.d.ts +78 -0
- package/types/utils/time.d.ts +2 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { useBridgeReport } from "../../../hooks/use-bridge-report.mjs";
|
|
2
|
+
function useActionBtnReport(get) {
|
|
3
|
+
const report = useBridgeReport();
|
|
4
|
+
let confirmCycle;
|
|
5
|
+
const reportConfirmClose = (confirmed, cycle = confirmCycle) => {
|
|
6
|
+
if (!cycle || cycle !== confirmCycle) return;
|
|
7
|
+
confirmCycle = void 0;
|
|
8
|
+
report("confirm-close", () => {
|
|
9
|
+
var _a;
|
|
10
|
+
const state = get();
|
|
11
|
+
return {
|
|
12
|
+
...state.groupMeta,
|
|
13
|
+
type: ((_a = state.config) == null ? void 0 : _a.type) ?? state.type,
|
|
14
|
+
confirmed
|
|
15
|
+
};
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
return {
|
|
19
|
+
reportActionClick() {
|
|
20
|
+
if (get().groupMeta)
|
|
21
|
+
report("action-click", () => ({
|
|
22
|
+
...get().groupMeta,
|
|
23
|
+
type: get().type
|
|
24
|
+
}));
|
|
25
|
+
},
|
|
26
|
+
reportConfirmOpen() {
|
|
27
|
+
confirmCycle = {};
|
|
28
|
+
report("confirm-open", () => {
|
|
29
|
+
var _a, _b, _c;
|
|
30
|
+
const state = get();
|
|
31
|
+
return {
|
|
32
|
+
...state.groupMeta,
|
|
33
|
+
type: ((_a = state.config) == null ? void 0 : _a.type) ?? state.type,
|
|
34
|
+
title: (_b = state.config) == null ? void 0 : _b.title,
|
|
35
|
+
content: (_c = state.config) == null ? void 0 : _c.content
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
reportConfirmClose,
|
|
40
|
+
// 已开始的确认回调可以移除按钮;成功报告不能依赖卸载后会被 Vue 丢弃的 emit。
|
|
41
|
+
// 不注册生命周期/调度资源;失败原样传播,取消与普通 close 按同轮去重。
|
|
42
|
+
runConfirmSubmit(submit) {
|
|
43
|
+
const cycle = confirmCycle;
|
|
44
|
+
const result = submit();
|
|
45
|
+
if (result) {
|
|
46
|
+
return result.then(() => reportConfirmClose(true, cycle));
|
|
47
|
+
}
|
|
48
|
+
reportConfirmClose(true, cycle);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
useActionBtnReport
|
|
54
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { defineComponent, toRefs, computed, openBlock, createElementBlock, Fragment, renderList, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { useActionBtnGroupReport } from "./use-action-btn-group-report.mjs";
|
|
3
|
+
import { ElButton } from "element-plus";
|
|
4
|
+
import _sfc_main$1 from "../action-btn/ActionBtn.vue.mjs";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "ActionBtnGroup",
|
|
7
|
+
props: {
|
|
8
|
+
configs: {},
|
|
9
|
+
ctx: {},
|
|
10
|
+
defaultSize: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const { configs, ctx, defaultSize } = toRefs(props);
|
|
15
|
+
const { withGroupMeta, withNativeReport } = useActionBtnGroupReport();
|
|
16
|
+
const AnyActionBtn = _sfc_main$1;
|
|
17
|
+
const visibleConfigs = computed(
|
|
18
|
+
() => (configs.value ?? []).filter(
|
|
19
|
+
(c) => {
|
|
20
|
+
var _a;
|
|
21
|
+
return ((_a = c.show) == null ? void 0 : _a.call(c, ctx.value)) ?? true;
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
const mergeSize = (raw) => {
|
|
26
|
+
const base = raw ?? {};
|
|
27
|
+
return defaultSize.value === void 0 ? base : { size: defaultSize.value, ...base };
|
|
28
|
+
};
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(visibleConfigs.value, (btn, index) => {
|
|
31
|
+
var _a;
|
|
32
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
33
|
+
key: btn.key
|
|
34
|
+
}, [
|
|
35
|
+
btn.actionBtnProps ? (openBlock(), createBlock(resolveDynamicComponent(unref(AnyActionBtn)), mergeProps({
|
|
36
|
+
key: 0,
|
|
37
|
+
ref_for: true
|
|
38
|
+
}, unref(withGroupMeta)(mergeSize(btn.actionBtnProps(unref(ctx))), btn.key, index)), {
|
|
39
|
+
default: withCtx(() => [
|
|
40
|
+
btn.render ? (openBlock(), createBlock(resolveDynamicComponent(btn.render), {
|
|
41
|
+
key: 0,
|
|
42
|
+
ctx: unref(ctx)
|
|
43
|
+
}, null, 8, ["ctx"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
44
|
+
createTextVNode(toDisplayString(btn.label), 1)
|
|
45
|
+
], 64))
|
|
46
|
+
]),
|
|
47
|
+
_: 2
|
|
48
|
+
}, 1040)) : (openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
49
|
+
key: 1,
|
|
50
|
+
ref_for: true
|
|
51
|
+
}, unref(withNativeReport)(mergeSize((_a = btn.props) == null ? void 0 : _a.call(btn, unref(ctx))), btn.key, index)), {
|
|
52
|
+
default: withCtx(() => [
|
|
53
|
+
btn.render ? (openBlock(), createBlock(resolveDynamicComponent(btn.render), {
|
|
54
|
+
key: 0,
|
|
55
|
+
ctx: unref(ctx)
|
|
56
|
+
}, null, 8, ["ctx"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
57
|
+
createTextVNode(toDisplayString(btn.label), 1)
|
|
58
|
+
], 64))
|
|
59
|
+
]),
|
|
60
|
+
_: 2
|
|
61
|
+
}, 1040))
|
|
62
|
+
], 64);
|
|
63
|
+
}), 128);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
export {
|
|
68
|
+
_sfc_main as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useBridgeReport } from "../../../hooks/use-bridge-report.mjs";
|
|
2
|
+
function useActionBtnGroupReport() {
|
|
3
|
+
const report = useBridgeReport();
|
|
4
|
+
const withGroupMeta = (raw, key, index) => ({
|
|
5
|
+
...raw,
|
|
6
|
+
groupMeta: { ...raw.groupMeta, key, index }
|
|
7
|
+
});
|
|
8
|
+
const withNativeReport = (raw, key, index) => {
|
|
9
|
+
const { onClick, groupMeta, ...buttonProps } = raw;
|
|
10
|
+
const wrap = (handler, first = true) => function(...args) {
|
|
11
|
+
if (first && !raw.disabled && !raw.loading) {
|
|
12
|
+
report("action-click", () => ({
|
|
13
|
+
...groupMeta,
|
|
14
|
+
key,
|
|
15
|
+
index,
|
|
16
|
+
type: raw.type ?? "default"
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
return handler == null ? void 0 : handler.apply(this, args);
|
|
20
|
+
};
|
|
21
|
+
return {
|
|
22
|
+
...buttonProps,
|
|
23
|
+
onClick: Array.isArray(onClick) ? onClick.length ? onClick.map((handler, i) => wrap(handler, i === 0)) : wrap() : wrap(onClick)
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
return { withGroupMeta, withNativeReport };
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
useActionBtnGroupReport
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./DragFloat.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const DragFloat = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-77c2e755"]]);
|
|
5
|
+
export {
|
|
6
|
+
DragFloat as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { defineComponent, shallowRef, ref, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot } from "vue";
|
|
2
|
+
const DRAG_THRESHOLD_PX = 3;
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
...{ name: "DragFloat" },
|
|
5
|
+
__name: "DragFloat",
|
|
6
|
+
props: {
|
|
7
|
+
placement: { default: "top-right" },
|
|
8
|
+
offset: { default: 0 },
|
|
9
|
+
breathing: { type: Boolean, default: true }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const rootRef = shallowRef();
|
|
14
|
+
const dragFloatPos = ref(null);
|
|
15
|
+
const pressing = ref(false);
|
|
16
|
+
const dragging = ref(false);
|
|
17
|
+
const pressStart = ref(null);
|
|
18
|
+
const rootStyle = computed(() => {
|
|
19
|
+
if (dragFloatPos.value) {
|
|
20
|
+
return {
|
|
21
|
+
left: `${dragFloatPos.value.left}px`,
|
|
22
|
+
top: `${dragFloatPos.value.top}px`
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const o = `${props.offset}px`;
|
|
26
|
+
const [v, h] = props.placement.split("-");
|
|
27
|
+
return { [v]: o, [h]: o };
|
|
28
|
+
});
|
|
29
|
+
const resolveCurrentPos = () => {
|
|
30
|
+
if (dragFloatPos.value) return dragFloatPos.value;
|
|
31
|
+
const el = rootRef.value;
|
|
32
|
+
const parent = el == null ? void 0 : el.offsetParent;
|
|
33
|
+
if (!el || !parent) return { left: 0, top: 0 };
|
|
34
|
+
return { left: el.offsetLeft, top: el.offsetTop };
|
|
35
|
+
};
|
|
36
|
+
const clampToParent = (left, top) => {
|
|
37
|
+
const el = rootRef.value;
|
|
38
|
+
const parent = el == null ? void 0 : el.offsetParent;
|
|
39
|
+
if (!el || !parent) return { left, top };
|
|
40
|
+
const maxLeft = Math.max(0, parent.clientWidth - el.offsetWidth);
|
|
41
|
+
const maxTop = Math.max(0, parent.clientHeight - el.offsetHeight);
|
|
42
|
+
return {
|
|
43
|
+
left: Math.min(Math.max(0, left), maxLeft),
|
|
44
|
+
top: Math.min(Math.max(0, top), maxTop)
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
const onPointerDown = (e) => {
|
|
48
|
+
if (e.isPrimary === false) return;
|
|
49
|
+
const { left, top } = resolveCurrentPos();
|
|
50
|
+
pressStart.value = { x: e.clientX, y: e.clientY, left, top };
|
|
51
|
+
pressing.value = true;
|
|
52
|
+
dragging.value = false;
|
|
53
|
+
};
|
|
54
|
+
const onPointerMove = (e) => {
|
|
55
|
+
var _a;
|
|
56
|
+
const start = pressStart.value;
|
|
57
|
+
if (!pressing.value || !start) return;
|
|
58
|
+
const dx = e.clientX - start.x;
|
|
59
|
+
const dy = e.clientY - start.y;
|
|
60
|
+
if (!dragging.value) {
|
|
61
|
+
if (Math.hypot(dx, dy) < DRAG_THRESHOLD_PX) return;
|
|
62
|
+
dragging.value = true;
|
|
63
|
+
try {
|
|
64
|
+
(_a = rootRef.value) == null ? void 0 : _a.setPointerCapture(e.pointerId);
|
|
65
|
+
} catch {
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
dragFloatPos.value = clampToParent(start.left + dx, start.top + dy);
|
|
69
|
+
};
|
|
70
|
+
const onPointerUp = (e) => {
|
|
71
|
+
var _a, _b;
|
|
72
|
+
if (!pressing.value) return;
|
|
73
|
+
pressing.value = false;
|
|
74
|
+
pressStart.value = null;
|
|
75
|
+
try {
|
|
76
|
+
(_b = (_a = rootRef.value) == null ? void 0 : _a.releasePointerCapture) == null ? void 0 : _b.call(_a, e.pointerId);
|
|
77
|
+
} catch {
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const onClickCapture = (e) => {
|
|
81
|
+
if (!dragging.value) return;
|
|
82
|
+
dragging.value = false;
|
|
83
|
+
e.stopImmediatePropagation();
|
|
84
|
+
e.stopPropagation();
|
|
85
|
+
e.preventDefault();
|
|
86
|
+
};
|
|
87
|
+
return (_ctx, _cache) => {
|
|
88
|
+
return openBlock(), createElementBlock("div", {
|
|
89
|
+
ref_key: "rootRef",
|
|
90
|
+
ref: rootRef,
|
|
91
|
+
class: normalizeClass(["dc-drag-float drag-float", {
|
|
92
|
+
"drag-float_dragging": dragging.value,
|
|
93
|
+
"drag-float_breathing": __props.breathing && !dragging.value
|
|
94
|
+
}]),
|
|
95
|
+
style: normalizeStyle(rootStyle.value),
|
|
96
|
+
onPointerdown: onPointerDown,
|
|
97
|
+
onPointermove: onPointerMove,
|
|
98
|
+
onPointerup: onPointerUp,
|
|
99
|
+
onPointercancel: onPointerUp,
|
|
100
|
+
onClickCapture
|
|
101
|
+
}, [
|
|
102
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
103
|
+
], 38);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
_sfc_main as default
|
|
109
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, Fragment, createBlock, unref, withCtx, renderSlot, createCommentVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../watch-size/WatchSize.vue.mjs";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "HeightProvider",
|
|
5
|
+
props: {
|
|
6
|
+
viewportHeight: {},
|
|
7
|
+
minHeight: { default: 0 }
|
|
8
|
+
},
|
|
9
|
+
emits: ["childViewportHeightChange"],
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const emits = __emit;
|
|
13
|
+
const headerReserve = ref(0);
|
|
14
|
+
const footerReserve = ref(0);
|
|
15
|
+
const reserve = computed(() => headerReserve.value + footerReserve.value);
|
|
16
|
+
const available = computed(
|
|
17
|
+
() => Math.max(props.viewportHeight - reserve.value, props.minHeight)
|
|
18
|
+
);
|
|
19
|
+
const onHeaderHeightChange = (height) => {
|
|
20
|
+
headerReserve.value = height;
|
|
21
|
+
};
|
|
22
|
+
const onFooterHeightChange = (height) => {
|
|
23
|
+
footerReserve.value = height;
|
|
24
|
+
};
|
|
25
|
+
const defaultSlotProps = computed(
|
|
26
|
+
() => {
|
|
27
|
+
return {
|
|
28
|
+
viewportHeight: available.value
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
watch(available, (n) => emits("childViewportHeightChange", n), {
|
|
33
|
+
immediate: true
|
|
34
|
+
});
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
37
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
38
|
+
key: 0,
|
|
39
|
+
onHeightChange: onHeaderHeightChange
|
|
40
|
+
}, {
|
|
41
|
+
default: withCtx(() => [
|
|
42
|
+
renderSlot(_ctx.$slots, "header")
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
})) : createCommentVNode("", true),
|
|
46
|
+
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(defaultSlotProps.value))),
|
|
47
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
48
|
+
key: 1,
|
|
49
|
+
onHeightChange: onFooterHeightChange
|
|
50
|
+
}, {
|
|
51
|
+
default: withCtx(() => [
|
|
52
|
+
renderSlot(_ctx.$slots, "footer")
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
})) : createCommentVNode("", true)
|
|
56
|
+
], 64);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
_sfc_main as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderSlot, unref, createBlock, Teleport, createCommentVNode } from "vue";
|
|
2
|
+
import { useShadowTarget } from "./use-shadow-target.mjs";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ShadowClone",
|
|
5
|
+
props: {
|
|
6
|
+
to: {},
|
|
7
|
+
disabled: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
const { targetValid } = useShadowTarget({
|
|
12
|
+
to: () => props.to,
|
|
13
|
+
disabled: () => !!props.disabled
|
|
14
|
+
});
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
17
|
+
renderSlot(_ctx.$slots, "default"),
|
|
18
|
+
unref(targetValid) ? (openBlock(), createBlock(Teleport, {
|
|
19
|
+
key: 0,
|
|
20
|
+
to: __props.to
|
|
21
|
+
}, [
|
|
22
|
+
renderSlot(_ctx.$slots, "clone", {}, () => [
|
|
23
|
+
renderSlot(_ctx.$slots, "default")
|
|
24
|
+
])
|
|
25
|
+
], 8, ["to"])) : createCommentVNode("", true)
|
|
26
|
+
], 64);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
_sfc_main as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ref, watch, nextTick } from "vue";
|
|
2
|
+
import { useActivated } from "../../../hooks/activated.mjs";
|
|
3
|
+
function useShadowTarget(options) {
|
|
4
|
+
const { to, disabled } = options;
|
|
5
|
+
const targetValid = ref(false);
|
|
6
|
+
let mo;
|
|
7
|
+
let lastTarget = null;
|
|
8
|
+
function resolveTarget() {
|
|
9
|
+
const t = to();
|
|
10
|
+
if (!t || disabled()) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
if (typeof t === "string") {
|
|
14
|
+
return t.trim() ? document.querySelector(t) : null;
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function startWatch() {
|
|
19
|
+
if (mo) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
mo = new MutationObserver(() => {
|
|
23
|
+
if (lastTarget && lastTarget.isConnected) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const found = resolveTarget();
|
|
27
|
+
if (found && found !== lastTarget) {
|
|
28
|
+
targetValid.value = false;
|
|
29
|
+
nextTick(() => {
|
|
30
|
+
targetValid.value = true;
|
|
31
|
+
});
|
|
32
|
+
} else {
|
|
33
|
+
targetValid.value = !!found;
|
|
34
|
+
}
|
|
35
|
+
lastTarget = found;
|
|
36
|
+
});
|
|
37
|
+
mo.observe(document.body, { childList: true, subtree: true });
|
|
38
|
+
}
|
|
39
|
+
function stopAll() {
|
|
40
|
+
mo == null ? void 0 : mo.disconnect();
|
|
41
|
+
mo = void 0;
|
|
42
|
+
}
|
|
43
|
+
function bind() {
|
|
44
|
+
const target = resolveTarget();
|
|
45
|
+
lastTarget = target;
|
|
46
|
+
if (target) {
|
|
47
|
+
targetValid.value = true;
|
|
48
|
+
} else {
|
|
49
|
+
targetValid.value = false;
|
|
50
|
+
}
|
|
51
|
+
startWatch();
|
|
52
|
+
}
|
|
53
|
+
function unbind() {
|
|
54
|
+
stopAll();
|
|
55
|
+
lastTarget = null;
|
|
56
|
+
targetValid.value = false;
|
|
57
|
+
}
|
|
58
|
+
useActivated((info) => {
|
|
59
|
+
if (info.isActivated) {
|
|
60
|
+
bind();
|
|
61
|
+
} else {
|
|
62
|
+
unbind();
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
watch(disabled, (off) => {
|
|
66
|
+
if (off) {
|
|
67
|
+
unbind();
|
|
68
|
+
} else {
|
|
69
|
+
bind();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
return { targetValid };
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
useShadowTarget
|
|
76
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./SlotLayoutFlowAside.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const SlotLayoutFlowAside = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-822351cd"]]);
|
|
5
|
+
export {
|
|
6
|
+
SlotLayoutFlowAside as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent, useCssVars, useModel, computed, openBlock, createElementBlock, normalizeClass, createVNode, unref, withCtx, renderSlot, mergeModels } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../slot-layout-template/SlotLayoutTemplate.vue.mjs";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "SlotLayoutFlowAside",
|
|
5
|
+
props: /* @__PURE__ */ mergeModels({
|
|
6
|
+
type: { default: "right" },
|
|
7
|
+
gap: { default: "12px" },
|
|
8
|
+
asideWidth: { default: "240px" },
|
|
9
|
+
asideMaxHeight: { default: "100vh" }
|
|
10
|
+
}, {
|
|
11
|
+
"separate": { type: Boolean, ...{
|
|
12
|
+
default: false
|
|
13
|
+
} },
|
|
14
|
+
"separateModifiers": {}
|
|
15
|
+
}),
|
|
16
|
+
emits: ["update:separate"],
|
|
17
|
+
setup(__props) {
|
|
18
|
+
useCssVars((_ctx) => ({
|
|
19
|
+
"v7c7b61da": props.asideWidth,
|
|
20
|
+
"v11c8dc82": props.asideMaxHeight,
|
|
21
|
+
"v6a96241f": mainWidth.value
|
|
22
|
+
}));
|
|
23
|
+
const props = __props;
|
|
24
|
+
const isSeparate = useModel(__props, "separate");
|
|
25
|
+
const isUnsegregated = computed(() => !isSeparate.value);
|
|
26
|
+
const boxCls = computed(() => {
|
|
27
|
+
return isSeparate.value ? [
|
|
28
|
+
"dc-slot-layout-flow-aside_separate",
|
|
29
|
+
`dc-slot-layout-flow-aside_separate_${props.type}`
|
|
30
|
+
] : [];
|
|
31
|
+
});
|
|
32
|
+
const asideCls = computed(
|
|
33
|
+
() => `dc-slot-layout-flow-aside-aside_${props.type}`
|
|
34
|
+
);
|
|
35
|
+
const mainWidth = computed(() => {
|
|
36
|
+
return isSeparate.value ? `calc(100% - ${props.gap})` : void 0;
|
|
37
|
+
});
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return openBlock(), createElementBlock("div", {
|
|
40
|
+
class: normalizeClass(["dc-slot-layout-flow-aside", boxCls.value])
|
|
41
|
+
}, [
|
|
42
|
+
createVNode(unref(_sfc_main$1), {
|
|
43
|
+
disabled: isUnsegregated.value,
|
|
44
|
+
tag: "div",
|
|
45
|
+
class: normalizeClass(["dc-slot-layout-flow-aside-aside", asideCls.value])
|
|
46
|
+
}, {
|
|
47
|
+
default: withCtx(() => [
|
|
48
|
+
renderSlot(_ctx.$slots, "aside", {}, void 0, true)
|
|
49
|
+
]),
|
|
50
|
+
_: 3
|
|
51
|
+
}, 8, ["disabled", "class"]),
|
|
52
|
+
createVNode(unref(_sfc_main$1), {
|
|
53
|
+
disabled: isUnsegregated.value,
|
|
54
|
+
tag: "div",
|
|
55
|
+
class: "dc-slot-layout-flow-aside-main"
|
|
56
|
+
}, {
|
|
57
|
+
default: withCtx(() => [
|
|
58
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
59
|
+
]),
|
|
60
|
+
_: 3
|
|
61
|
+
}, 8, ["disabled"])
|
|
62
|
+
], 2);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
_sfc_main as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, useSlots, h } from "vue";
|
|
2
|
+
const _sfc_main = defineComponent({
|
|
3
|
+
name: "SlotLayoutTemplate",
|
|
4
|
+
inheritAttrs: false,
|
|
5
|
+
props: {
|
|
6
|
+
/**
|
|
7
|
+
* 包裹宿主:原生标签名("div")/ 组件对象 / 函数式组件。
|
|
8
|
+
* 懒加载组件 [MUST] 先经 `defineAsyncComponent` 包裹再传——裸异步工厂
|
|
9
|
+
* `() => import('./X.vue')` 会被当函数式组件调用、不 resolve Promise(同
|
|
10
|
+
* `<component :is>` 原生语义,参 ModalShelf 同款约定)。
|
|
11
|
+
*/
|
|
12
|
+
tag: {
|
|
13
|
+
type: [String, Object, Function],
|
|
14
|
+
default: "div"
|
|
15
|
+
},
|
|
16
|
+
disabled: { type: Boolean, default: false }
|
|
17
|
+
},
|
|
18
|
+
setup(props) {
|
|
19
|
+
const attrs = useAttrs();
|
|
20
|
+
const slots = useSlots();
|
|
21
|
+
return () => {
|
|
22
|
+
var _a;
|
|
23
|
+
if (props.disabled) return (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
24
|
+
return h(props.tag, attrs, slots);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_sfc_main as default
|
|
30
|
+
};
|