fit2cloud-ui-plus 0.0.1-beta.10 → 0.0.1-beta.13
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/README.md +61 -9
- package/lib/fit2cloud-ui-plus.es.js +693 -90
- package/lib/fit2cloud-ui-plus.umd.js +1 -1
- package/package.json +6 -3
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/speed-dial/FuSpeedDial.vue +289 -0
- package/src/components/speed-dial/FuSpeedDialActionButton.vue +88 -0
- package/src/components/speed-dial/FuSpeedDialButton.vue +45 -0
- package/src/components/speed-dial/FuSpeedDialItem.vue +82 -0
- package/src/components/speed-dial/index.ts +11 -0
- package/src/components/speed-dial/types.ts +12 -0
- package/src/styles/components/speed-dial.scss +1 -51
- package/src/styles/components/table.scss +0 -3
- package/types/examples/App.vue.d.ts +2 -0
- package/types/examples/components/CodeExample.vue.d.ts +29 -0
- package/types/examples/components/DocumentTable.vue.d.ts +14 -0
- package/types/examples/components/Markdown.vue.d.ts +12 -0
- package/types/examples/layout/components/AppHeader.vue.d.ts +2 -0
- package/types/examples/layout/components/Sidebar.vue.d.ts +2 -0
- package/types/examples/layout/index.vue.d.ts +2 -0
- package/types/examples/main.d.ts +2 -0
- package/types/examples/pages/filter-bar/attributes.d.ts +63 -0
- package/types/examples/pages/filter-bar/demo/BaseFilterBar.vue.d.ts +2 -0
- package/types/examples/pages/filter-bar/demo/SetConditionsDemo.vue.d.ts +2 -0
- package/types/examples/pages/filter-bar/demo/SlotDemo.vue.d.ts +2 -0
- package/types/examples/pages/filter-bar/index.vue.d.ts +2 -0
- package/types/examples/pages/index.d.ts +3 -0
- package/types/examples/pages/read-write-switch/attributes.d.ts +63 -0
- package/types/examples/pages/read-write-switch/demo/BaseDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/CustomContentDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/InputRwSwitchDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/ReadSwitchDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/SelectRwSwitchDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/TableInnerEditDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/demo/WriteSwitchDemo.vue.d.ts +2 -0
- package/types/examples/pages/read-write-switch/index.vue.d.ts +2 -0
- package/types/examples/pages/speed-dial/attributes.d.ts +63 -0
- package/types/examples/pages/speed-dial/demo/BaseSpeedDial.vue.d.ts +2 -0
- package/types/examples/pages/speed-dial/demo/SpeedDialCustom.vue.d.ts +2 -0
- package/types/examples/pages/speed-dial/demo/SpeedDialPosition.vue.d.ts +2 -0
- package/types/examples/pages/speed-dial/demo/SpeedDialTrigger.vue.d.ts +2 -0
- package/types/examples/pages/speed-dial/index.vue.d.ts +2 -0
- package/types/examples/pages/split-pane/attributes.d.ts +63 -0
- package/types/examples/pages/split-pane/demo/BaseSplit.vue.d.ts +2 -0
- package/types/examples/pages/split-pane/demo/CustomResizer.vue.d.ts +2 -0
- package/types/examples/pages/split-pane/demo/NestSplit.vue.d.ts +2 -0
- package/types/examples/pages/split-pane/demo/ResizerType.vue.d.ts +2 -0
- package/types/examples/pages/split-pane/index.vue.d.ts +2 -0
- package/types/examples/pages/table/attributes.d.ts +121 -0
- package/types/examples/pages/table/demo/BaseTable.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/DropdownColumn.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/DropdownColumnSlot.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/SaveSelectColumn.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/SelectColumn.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/TableOperations.vue.d.ts +2 -0
- package/types/examples/pages/table/demo/TablePagination.vue.d.ts +2 -0
- package/types/examples/pages/table/index.vue.d.ts +2 -0
- package/types/examples/pages/tabs/attributes.d.ts +63 -0
- package/types/examples/pages/tabs/demo/AddCloseTab.vue.d.ts +2 -0
- package/types/examples/pages/tabs/index.vue.d.ts +2 -0
- package/types/examples/router/doc-routes.d.ts +12 -0
- package/types/examples/router/index.d.ts +4 -0
- package/types/plugins/example-transform.d.ts +5 -0
- package/types/src/components/filter-bar/FuFilter.vue.d.ts +39 -0
- package/types/src/components/filter-bar/FuFilterBar.vue.d.ts +22 -0
- package/types/src/components/filter-bar/FuFilterConditions.vue.d.ts +8 -0
- package/types/src/components/filter-bar/FuSearchInput.vue.d.ts +17 -0
- package/types/src/components/filter-bar/filter-components/FuFilterDate.vue.d.ts +36 -0
- package/types/src/components/filter-bar/filter-components/FuFilterDateTime.vue.d.ts +36 -0
- package/types/src/components/filter-bar/filter-components/FuFilterOption.vue.d.ts +24 -0
- package/types/src/components/filter-bar/filter-components/FuFilterSelect.vue.d.ts +66 -0
- package/types/src/components/filter-bar/index.d.ts +2 -0
- package/types/src/components/filter-bar/types.d.ts +22 -0
- package/types/src/components/read-write-switch/FuInputRwSwitch.vue.d.ts +21 -0
- package/types/src/components/read-write-switch/FuReadWriteSwitch.vue.d.ts +23 -0
- package/types/src/components/read-write-switch/FuSelectRwSwitch.vue.d.ts +33 -0
- package/types/src/components/read-write-switch/index.d.ts +2 -0
- package/types/src/components/read-write-switch/types.d.ts +4 -0
- package/types/src/components/speed-dial/FuSpeedDial.vue.d.ts +218 -0
- package/types/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +32 -0
- package/types/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +42 -0
- package/types/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +12 -0
- package/types/src/components/speed-dial/index.d.ts +2 -0
- package/types/src/components/speed-dial/types.d.ts +8 -0
- package/types/src/components/split-pane/FuSplitPane.vue.d.ts +59 -0
- package/types/src/components/split-pane/index.d.ts +2 -0
- package/types/src/components/table/FuTable.vue.d.ts +18 -0
- package/types/src/components/table/FuTableBody.d.ts +3 -0
- package/types/src/components/table/FuTableColumnDropdown.vue.d.ts +50 -0
- package/types/src/components/table/FuTablePagination.vue.d.ts +47 -0
- package/types/src/components/table/index.d.ts +2 -0
- package/types/src/components/table/table-column-select/FuTableColumnSelect.vue.d.ts +10 -0
- package/types/src/components/table/table-column-select/FuTableColumnSelectDialog.vue.d.ts +23 -0
- package/types/src/components/table/table-column-select/FuTableColumnSelectPopover.vue.d.ts +34 -0
- package/types/src/components/table/table-column-select/utils.d.ts +8 -0
- package/types/src/components/table/table-operations/FuTableButton.vue.d.ts +13 -0
- package/types/src/components/table/table-operations/FuTableMoreButton.vue.d.ts +37 -0
- package/types/src/components/table/table-operations/FuTableOperations.vue.d.ts +46 -0
- package/types/src/components/table/types.d.ts +2 -0
- package/types/src/components/tabs/FuTabs.vue.d.ts +54 -0
- package/types/src/components/tabs/index.d.ts +2 -0
- package/types/src/hooks/index.d.ts +3 -0
- package/types/src/hooks/use-global-config/index.d.ts +1 -0
- package/types/src/hooks/use-locale/index.d.ts +14 -0
- package/types/src/hooks/use-size/index.d.ts +5 -0
- package/types/src/index.d.ts +7 -0
- package/types/src/locale/index.d.ts +10 -0
- package/types/src/locale/lang/en.d.ts +59 -0
- package/types/src/locale/lang/zh-cn.d.ts +59 -0
- package/types/src/locale/lang/zh-tw.d.ts +59 -0
- package/types/src/tools/size.d.ts +4 -0
- package/types/src/tools/theme.d.ts +1 -0
- package/types/src/tools/time.d.ts +2 -0
- package/types/src/tools/types.d.ts +8 -0
- package/types/src/tools/utils.d.ts +2 -0
- package/types/src/tools/vnode.d.ts +9 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="fu-speed-dial-action-button">
|
|
3
|
+
<div v-if="title" class="fu-speed-dial-action-button__title" :style="titleSize">
|
|
4
|
+
<slot name="title">
|
|
5
|
+
<div class="fu-speed-dial-action-button__text" :class="titleClass" :style="titleStyle" @click="click">{{ title
|
|
6
|
+
}}
|
|
7
|
+
</div>
|
|
8
|
+
</slot>
|
|
9
|
+
</div>
|
|
10
|
+
<slot>
|
|
11
|
+
<fu-speed-dial-button :class="buttonClass" v-bind="buttonProps" :icon="icon" @click="click" />
|
|
12
|
+
</slot>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
import { inject, computed } from 'vue'
|
|
18
|
+
import type { CSSProperties } from 'vue'
|
|
19
|
+
import FuSpeedDialButton from "@/components/speed-dial/FuSpeedDialButton.vue";
|
|
20
|
+
import { SpeedDialKey } from "./types";
|
|
21
|
+
|
|
22
|
+
const props = defineProps({
|
|
23
|
+
index: Number,
|
|
24
|
+
icon: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "Plus"
|
|
27
|
+
},
|
|
28
|
+
titleClass: String,
|
|
29
|
+
titleBgColor: String,
|
|
30
|
+
titleColor: String,
|
|
31
|
+
buttonClass: String,
|
|
32
|
+
bgColor: String,
|
|
33
|
+
color: String,
|
|
34
|
+
title: [String, Number]
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
const emit = defineEmits(["click"])
|
|
38
|
+
const speedDialKey = inject(SpeedDialKey)
|
|
39
|
+
|
|
40
|
+
const config = computed(() => {
|
|
41
|
+
return speedDialKey?.config;
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
const direction = computed(() => {
|
|
45
|
+
return speedDialKey?.direction.value || "";
|
|
46
|
+
})
|
|
47
|
+
// const clickClose =computed(()=>{
|
|
48
|
+
// return FuSpeedDial.clickClose;
|
|
49
|
+
// })
|
|
50
|
+
|
|
51
|
+
const titleSize = computed(() => {
|
|
52
|
+
let size = config.value?.fab.size + "px";
|
|
53
|
+
let style: CSSProperties = { position: "absolute", height: size };
|
|
54
|
+
if (["top", "bottom"].includes(direction.value)) {
|
|
55
|
+
style['text-align'] = "right"
|
|
56
|
+
style['right'] = size
|
|
57
|
+
} else {
|
|
58
|
+
style['text-align'] = "center"
|
|
59
|
+
style['min-width'] = size
|
|
60
|
+
if (props.index || 0 % 2 === 0) {
|
|
61
|
+
style.top = size
|
|
62
|
+
} else {
|
|
63
|
+
style.top = "-" + size
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return style;
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
const titleStyle = computed(() => {
|
|
70
|
+
let backgroundColor = props.titleBgColor;
|
|
71
|
+
let color = props.titleColor
|
|
72
|
+
let fontSize = config.value?.item.titleFontSize
|
|
73
|
+
return { backgroundColor, color, fontSize }
|
|
74
|
+
})
|
|
75
|
+
|
|
76
|
+
const buttonProps = computed(() => {
|
|
77
|
+
let backgroundColor = props.bgColor;
|
|
78
|
+
let color = props.color
|
|
79
|
+
let fontSize = config.value?.item.buttonFontSize
|
|
80
|
+
let size = config.value?.item.size + "px";
|
|
81
|
+
return { backgroundColor, color, fontSize, size }
|
|
82
|
+
})
|
|
83
|
+
function click(e: Event) {
|
|
84
|
+
const { index, title } = props
|
|
85
|
+
emit("click", { index, title }, e);
|
|
86
|
+
speedDialKey?.close();
|
|
87
|
+
}
|
|
88
|
+
</script>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="[
|
|
3
|
+
'fu-speed-dial-button',
|
|
4
|
+
'el-button',
|
|
5
|
+
'el-button--' + type,
|
|
6
|
+
{
|
|
7
|
+
'fu-speed-dial-button--rotate': rotate,
|
|
8
|
+
'is-disabled': disabled,
|
|
9
|
+
'is-active': active,
|
|
10
|
+
},]" :style="{
|
|
11
|
+
width: size,
|
|
12
|
+
height: size,
|
|
13
|
+
backgroundColor: backgroundColor,
|
|
14
|
+
color: color,
|
|
15
|
+
fontSize: fontSize
|
|
16
|
+
}">
|
|
17
|
+
<slot>
|
|
18
|
+
<el-icon>
|
|
19
|
+
<component :is="icon" />
|
|
20
|
+
</el-icon>
|
|
21
|
+
</slot>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script setup lang="ts">
|
|
26
|
+
import { validateType } from "@/tools/theme"
|
|
27
|
+
defineProps({
|
|
28
|
+
type: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "default",
|
|
31
|
+
validator: validateType
|
|
32
|
+
},
|
|
33
|
+
rotate: Boolean,
|
|
34
|
+
disabled: Boolean,
|
|
35
|
+
active: Boolean,
|
|
36
|
+
icon: String,
|
|
37
|
+
size: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "32px"
|
|
40
|
+
},
|
|
41
|
+
backgroundColor: String,
|
|
42
|
+
color: String,
|
|
43
|
+
fontSize: String
|
|
44
|
+
})
|
|
45
|
+
</script>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<transition :css="false" @before-enter="beforeEnter" @enter="enter" @leave="leave">
|
|
3
|
+
<div v-if="isActive" class="fu-speed-dial-item" :style="itemSize">
|
|
4
|
+
<slot>
|
|
5
|
+
<fu-speed-dial-action-button :index="index" v-bind="$attrs" />
|
|
6
|
+
</slot>
|
|
7
|
+
</div>
|
|
8
|
+
</transition>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script setup lang="ts">
|
|
12
|
+
import { inject, computed } from 'vue'
|
|
13
|
+
import FuSpeedDialActionButton from "@/components/speed-dial/FuSpeedDialActionButton.vue";
|
|
14
|
+
import { SpeedDialKey } from "./types";
|
|
15
|
+
defineOptions({ name: "FuSpeedDialItem" });
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
index: {
|
|
18
|
+
type: Number,
|
|
19
|
+
required: true
|
|
20
|
+
},
|
|
21
|
+
})
|
|
22
|
+
const speedDialKey = inject(SpeedDialKey)
|
|
23
|
+
|
|
24
|
+
const config = computed(() => {
|
|
25
|
+
return speedDialKey?.config;
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
const direction = computed(() => {
|
|
29
|
+
return speedDialKey?.direction.value || "";
|
|
30
|
+
})
|
|
31
|
+
const isActive = computed(() => {
|
|
32
|
+
return speedDialKey?.active?.value;
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
const spacing = computed(() => {
|
|
36
|
+
return config.value.item.spacing || 0;
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
const directionPosition = computed(() => {
|
|
40
|
+
if (["top", "left"].includes(direction.value)) {
|
|
41
|
+
return -config.value?.fab?.size - spacing.value
|
|
42
|
+
}
|
|
43
|
+
return config.value?.fab?.size + spacing.value
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
const itemSize = computed(() => {
|
|
47
|
+
let size = config.value?.fab?.size + "px";
|
|
48
|
+
return {
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
function setPosition(el: HTMLElement, position: any) {
|
|
55
|
+
if (["top", "bottom"].includes(direction.value)) {
|
|
56
|
+
el.style.transform = "translateY(" + position + ")"
|
|
57
|
+
} else {
|
|
58
|
+
el.style.transform = "translateX(" + position + ")"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function beforeEnter(el: HTMLElement) {
|
|
62
|
+
el.style.transition = "all 0.3s"
|
|
63
|
+
el.style.position = "absolute"
|
|
64
|
+
setPosition(el, 0)
|
|
65
|
+
el.style.opacity = "0"
|
|
66
|
+
}
|
|
67
|
+
function enter(el: HTMLElement, done: Function) {
|
|
68
|
+
let position = props.index * directionPosition.value + "px"
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
setPosition(el, position)
|
|
71
|
+
el.style.opacity = "1"
|
|
72
|
+
done()
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
function leave(el: HTMLElement, done: Function) {
|
|
76
|
+
setPosition(el, 0)
|
|
77
|
+
el.style.opacity = "0"
|
|
78
|
+
setTimeout(() => {
|
|
79
|
+
done()
|
|
80
|
+
}, 200)
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import FuSpeedDial from "./FuSpeedDial.vue"
|
|
2
|
+
import FuSpeedDialItem from "./FuSpeedDialItem.vue"
|
|
3
|
+
|
|
4
|
+
import type { App } from 'vue'
|
|
5
|
+
|
|
6
|
+
FuSpeedDial.install = (app: App): void => {
|
|
7
|
+
app.component(FuSpeedDial.name, FuSpeedDial)
|
|
8
|
+
app.component(FuSpeedDialItem.name, FuSpeedDialItem)
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default FuSpeedDial;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {InjectionKey, ComputedRef, Ref} from "vue";
|
|
2
|
+
|
|
3
|
+
export interface SpeedDialContext {
|
|
4
|
+
config?: any,
|
|
5
|
+
direction: ComputedRef<string>,
|
|
6
|
+
active?: Ref<boolean>,
|
|
7
|
+
close(): void
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const SpeedDialKey: InjectionKey<SpeedDialContext> = Symbol('SpeedDialKey')
|
|
12
|
+
|
|
@@ -1,38 +1,6 @@
|
|
|
1
1
|
@use "../common/mixins.scss" as *;
|
|
2
2
|
@use "../common/variables.scss" as *;
|
|
3
3
|
|
|
4
|
-
// @mixin speed-dial-button-variant($color, $background-color) {
|
|
5
|
-
// color: $color;
|
|
6
|
-
// background-color: $background-color;
|
|
7
|
-
|
|
8
|
-
// &:hover,
|
|
9
|
-
// &:focus {
|
|
10
|
-
// background: mix($--color-white, $background-color, $--button-hover-tint-percent);
|
|
11
|
-
// color: $color;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
// &:active {
|
|
15
|
-
// background: mix($--color-black, $background-color, $--button-active-shade-percent);
|
|
16
|
-
// color: $color;
|
|
17
|
-
// outline: none;
|
|
18
|
-
// }
|
|
19
|
-
|
|
20
|
-
// &.is-active {
|
|
21
|
-
// background: mix($--color-black, $background-color, $--button-active-shade-percent);
|
|
22
|
-
// color: $color;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
// &.is-disabled {
|
|
26
|
-
// &,
|
|
27
|
-
// &:hover,
|
|
28
|
-
// &:focus,
|
|
29
|
-
// &:active {
|
|
30
|
-
// color: $--color-white;
|
|
31
|
-
// background-color: mix($background-color, $--color-white);
|
|
32
|
-
// }
|
|
33
|
-
// }
|
|
34
|
-
// }
|
|
35
|
-
|
|
36
4
|
@include b(speed-dial) {
|
|
37
5
|
width: 0;
|
|
38
6
|
|
|
@@ -47,6 +15,7 @@
|
|
|
47
15
|
box-sizing: border-box;
|
|
48
16
|
cursor: pointer;
|
|
49
17
|
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
|
|
18
|
+
padding: 0;
|
|
50
19
|
@include active-scale(0.9);
|
|
51
20
|
|
|
52
21
|
@include m(rotate) {
|
|
@@ -60,25 +29,6 @@
|
|
|
60
29
|
}
|
|
61
30
|
}
|
|
62
31
|
}
|
|
63
|
-
|
|
64
|
-
// @include m(default) {
|
|
65
|
-
// @include speed-dial-button-variant($--button-default-font-color, $--button-default-background-color);
|
|
66
|
-
// }
|
|
67
|
-
// @include m(primary) {
|
|
68
|
-
// @include speed-dial-button-variant($--button-primary-font-color, $--button-primary-background-color);
|
|
69
|
-
// }
|
|
70
|
-
// @include m(success) {
|
|
71
|
-
// @include speed-dial-button-variant($--button-success-font-color, $--button-success-background-color);
|
|
72
|
-
// }
|
|
73
|
-
// @include m(warning) {
|
|
74
|
-
// @include speed-dial-button-variant($--button-warning-font-color, $--button-warning-background-color);
|
|
75
|
-
// }
|
|
76
|
-
// @include m(danger) {
|
|
77
|
-
// @include speed-dial-button-variant($--button-danger-font-color, $--button-danger-background-color);
|
|
78
|
-
// }
|
|
79
|
-
// @include m(info) {
|
|
80
|
-
// @include speed-dial-button-variant($--button-info-font-color, $--button-info-background-color);
|
|
81
|
-
// }
|
|
82
32
|
}
|
|
83
33
|
|
|
84
34
|
@include b(speed-dial-item) {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import 'prismjs';
|
|
2
|
+
import './code.scss';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
component: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
description: StringConstructor;
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
lang: StringConstructor;
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
component: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
description: StringConstructor;
|
|
20
|
+
label: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
lang: StringConstructor;
|
|
25
|
+
}>>, {
|
|
26
|
+
label: string;
|
|
27
|
+
component: Record<string, any>;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: any;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
data: {
|
|
8
|
+
type: any;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
data: any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
content: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
content: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 说明文档
|
|
3
|
+
* @name 表格名称
|
|
4
|
+
* @header 表格头部参数,任意定义
|
|
5
|
+
* @table table内容,字段要和header定义的属性保持一直
|
|
6
|
+
* @children 多表使用
|
|
7
|
+
*/
|
|
8
|
+
export declare const attributes: {
|
|
9
|
+
name: string;
|
|
10
|
+
children: ({
|
|
11
|
+
name: string;
|
|
12
|
+
header: {
|
|
13
|
+
prop: string;
|
|
14
|
+
desc: string;
|
|
15
|
+
type: string;
|
|
16
|
+
enum: string;
|
|
17
|
+
default: string;
|
|
18
|
+
event?: undefined;
|
|
19
|
+
value?: undefined;
|
|
20
|
+
name?: undefined;
|
|
21
|
+
};
|
|
22
|
+
table: {
|
|
23
|
+
prop: string;
|
|
24
|
+
desc: string;
|
|
25
|
+
type: string;
|
|
26
|
+
enum: string;
|
|
27
|
+
default: string;
|
|
28
|
+
}[];
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
header: {
|
|
32
|
+
event: string;
|
|
33
|
+
desc: string;
|
|
34
|
+
value: string;
|
|
35
|
+
prop?: undefined;
|
|
36
|
+
type?: undefined;
|
|
37
|
+
enum?: undefined;
|
|
38
|
+
default?: undefined;
|
|
39
|
+
name?: undefined;
|
|
40
|
+
};
|
|
41
|
+
table: {
|
|
42
|
+
event: string;
|
|
43
|
+
desc: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
} | {
|
|
47
|
+
name: string;
|
|
48
|
+
header: {
|
|
49
|
+
name: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
prop?: undefined;
|
|
52
|
+
type?: undefined;
|
|
53
|
+
enum?: undefined;
|
|
54
|
+
default?: undefined;
|
|
55
|
+
event?: undefined;
|
|
56
|
+
value?: undefined;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
name: string;
|
|
60
|
+
desc: string;
|
|
61
|
+
}[];
|
|
62
|
+
})[];
|
|
63
|
+
}[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 说明文档
|
|
3
|
+
* @name 表格名称
|
|
4
|
+
* @header 表格头部参数,任意定义
|
|
5
|
+
* @table table内容,字段要和header定义的属性保持一直
|
|
6
|
+
* @children 多表使用
|
|
7
|
+
*/
|
|
8
|
+
export declare const attributes: {
|
|
9
|
+
name: string;
|
|
10
|
+
children: ({
|
|
11
|
+
name: string;
|
|
12
|
+
header: {
|
|
13
|
+
prop: string;
|
|
14
|
+
desc: string;
|
|
15
|
+
type: string;
|
|
16
|
+
enum: string;
|
|
17
|
+
default: string;
|
|
18
|
+
event?: undefined;
|
|
19
|
+
value?: undefined;
|
|
20
|
+
name?: undefined;
|
|
21
|
+
};
|
|
22
|
+
table: {
|
|
23
|
+
prop: string;
|
|
24
|
+
desc: string;
|
|
25
|
+
type: string;
|
|
26
|
+
enum: string;
|
|
27
|
+
default: string;
|
|
28
|
+
}[];
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
header: {
|
|
32
|
+
event: string;
|
|
33
|
+
desc: string;
|
|
34
|
+
value: string;
|
|
35
|
+
prop?: undefined;
|
|
36
|
+
type?: undefined;
|
|
37
|
+
enum?: undefined;
|
|
38
|
+
default?: undefined;
|
|
39
|
+
name?: undefined;
|
|
40
|
+
};
|
|
41
|
+
table: {
|
|
42
|
+
event: string;
|
|
43
|
+
desc: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
} | {
|
|
47
|
+
name: string;
|
|
48
|
+
header: {
|
|
49
|
+
name: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
prop?: undefined;
|
|
52
|
+
type?: undefined;
|
|
53
|
+
enum?: undefined;
|
|
54
|
+
default?: undefined;
|
|
55
|
+
event?: undefined;
|
|
56
|
+
value?: undefined;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
name: string;
|
|
60
|
+
desc: string;
|
|
61
|
+
}[];
|
|
62
|
+
})[];
|
|
63
|
+
}[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 说明文档
|
|
3
|
+
* @name 表格名称
|
|
4
|
+
* @header 表格头部参数,任意定义
|
|
5
|
+
* @table table内容,字段要和header定义的属性保持一直
|
|
6
|
+
* @children 多表使用
|
|
7
|
+
*/
|
|
8
|
+
export declare const attributes: {
|
|
9
|
+
name: string;
|
|
10
|
+
children: ({
|
|
11
|
+
name: string;
|
|
12
|
+
header: {
|
|
13
|
+
prop: string;
|
|
14
|
+
desc: string;
|
|
15
|
+
type: string;
|
|
16
|
+
enum: string;
|
|
17
|
+
default: string;
|
|
18
|
+
event?: undefined;
|
|
19
|
+
value?: undefined;
|
|
20
|
+
name?: undefined;
|
|
21
|
+
};
|
|
22
|
+
table: {
|
|
23
|
+
prop: string;
|
|
24
|
+
desc: string;
|
|
25
|
+
type: string;
|
|
26
|
+
enum: string;
|
|
27
|
+
default: string;
|
|
28
|
+
}[];
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
header: {
|
|
32
|
+
event: string;
|
|
33
|
+
desc: string;
|
|
34
|
+
value: string;
|
|
35
|
+
prop?: undefined;
|
|
36
|
+
type?: undefined;
|
|
37
|
+
enum?: undefined;
|
|
38
|
+
default?: undefined;
|
|
39
|
+
name?: undefined;
|
|
40
|
+
};
|
|
41
|
+
table: {
|
|
42
|
+
event: string;
|
|
43
|
+
desc: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
} | {
|
|
47
|
+
name: string;
|
|
48
|
+
header: {
|
|
49
|
+
name: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
prop?: undefined;
|
|
52
|
+
type?: undefined;
|
|
53
|
+
enum?: undefined;
|
|
54
|
+
default?: undefined;
|
|
55
|
+
event?: undefined;
|
|
56
|
+
value?: undefined;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
name: string;
|
|
60
|
+
desc: string;
|
|
61
|
+
}[];
|
|
62
|
+
})[];
|
|
63
|
+
}[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|