easybill-ui 1.2.3 → 1.2.5
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/components/CurdForm/src/FormCompose.vue +1 -1
- package/components/CurdForm/src/components/schema-form-checkbox.vue +1 -1
- package/components/CurdForm/src/components/schema-form-date-picker.vue +1 -1
- package/components/CurdForm/src/components/schema-form-radio.vue +1 -1
- package/components/CurdForm/src/components/schema-form-select.vue +1 -1
- package/components/CurdForm/src/components/schema-form-time-picker.vue +1 -1
- package/components/CurdForm/src/components/schema-form-tree-select.vue +1 -1
- package/components/CurdTable/src/CurdTable.vue +4 -4
- package/components/CurdTable/src/STableColumnControl.vue +1 -1
- package/components/CurdTable/src/STableDetail.vue +1 -1
- package/components/CurdTable/src/STableMenu.vue +2 -2
- package/components/FormDialog/src/FormDialog.vue +1 -1
- package/index.ts +1 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { useForm } from "./hooks"
|
|
3
3
|
import { getComponent } from "./components"
|
|
4
|
-
import { useLocale } from "easybill-ui
|
|
4
|
+
import { useLocale } from "easybill-ui"
|
|
5
5
|
import { type Component, computed, getCurrentInstance, h } from "vue"
|
|
6
6
|
import { FormItemProps } from "./types"
|
|
7
7
|
const props = defineProps(FormItemProps)
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import { Loading, Warning } from "@element-plus/icons-vue"
|
|
22
22
|
import { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElIcon } from "element-plus"
|
|
23
23
|
import { computed, defineComponent, type PropType, toRaw } from "vue"
|
|
24
|
-
import { useLocale } from "
|
|
24
|
+
import { useLocale } from "easybill-ui"
|
|
25
25
|
import { FormItemProps } from "../types"
|
|
26
26
|
export default defineComponent({
|
|
27
27
|
name: "SchemaFormCheckbox",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<script lang="ts">
|
|
5
5
|
import { ElDatePicker, type ModelValueType } from "element-plus"
|
|
6
6
|
import { computed, defineComponent, type PropType } from "vue"
|
|
7
|
-
import { useLocale } from "
|
|
7
|
+
import { useLocale } from "easybill-ui"
|
|
8
8
|
import { FormItemProps } from "../types"
|
|
9
9
|
export default defineComponent({
|
|
10
10
|
name: "SchemaFormDatePicker",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
import { Loading, Warning } from "@element-plus/icons-vue"
|
|
30
30
|
import { ElIcon, ElRadio, ElRadioButton, ElRadioGroup } from "element-plus"
|
|
31
31
|
import { computed, defineComponent, toRaw } from "vue"
|
|
32
|
-
import { useLocale } from "
|
|
32
|
+
import { useLocale } from "easybill-ui"
|
|
33
33
|
import FormTooltip from "../FormTooltip.vue"
|
|
34
34
|
import { FormItemProps } from "../types"
|
|
35
35
|
export default defineComponent({
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<script lang="ts">
|
|
14
14
|
import { ElCheckbox, ElOption, ElSelect } from "element-plus"
|
|
15
15
|
import { computed, defineComponent, onMounted, ref, watch } from "vue"
|
|
16
|
-
import { useLocale } from "
|
|
16
|
+
import { useLocale } from "easybill-ui"
|
|
17
17
|
import type { CurdFormOptionItem } from "../types"
|
|
18
18
|
import { FormItemProps } from "../types"
|
|
19
19
|
export default defineComponent({
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<script lang="ts">
|
|
5
5
|
import { ElTimePicker, type ModelValueType } from "element-plus"
|
|
6
6
|
import { computed, defineComponent, type PropType } from "vue"
|
|
7
|
-
import { useLocale } from "
|
|
7
|
+
import { useLocale } from "easybill-ui"
|
|
8
8
|
import { FormItemProps } from "../types"
|
|
9
9
|
export default defineComponent({
|
|
10
10
|
name: "SchemaFormTimePicker",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { Loading, Warning } from "@element-plus/icons-vue"
|
|
17
17
|
import { ElIcon, ElTreeSelect } from "element-plus"
|
|
18
18
|
import { computed, defineComponent, toRaw } from "vue"
|
|
19
|
-
import { useLocale } from "
|
|
19
|
+
import { useLocale } from "easybill-ui"
|
|
20
20
|
import { FormItemProps } from "../types"
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: "SchemaFormTreeSelect",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
</template>
|
|
69
69
|
</el-table>
|
|
70
70
|
</div>
|
|
71
|
-
<div v-if="$slots.pageLeft || !option.hidePage" class="table-pager">
|
|
71
|
+
<div v-if="$slots.pageLeft || $slots.pageRight || !option.hidePage" class="table-pager">
|
|
72
72
|
<div class="page-left"><slot name="pageLeft"></slot></div>
|
|
73
73
|
<el-pagination
|
|
74
|
-
v-if="
|
|
74
|
+
v-if="!option.hidePage"
|
|
75
75
|
v-model:current-page="listQuery.pageIndex"
|
|
76
76
|
v-model:page-size="listQuery.pageSize"
|
|
77
77
|
class="pagination"
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
@current-change="fetchData"
|
|
83
83
|
@size-change="fetchData"
|
|
84
84
|
></el-pagination>
|
|
85
|
+
<slot name="pageRight" :list-query="listQuery" :total="total"></slot>
|
|
85
86
|
</div>
|
|
86
87
|
|
|
87
88
|
<STableDetail ref="STableDetailRef" />
|
|
@@ -90,10 +91,9 @@
|
|
|
90
91
|
|
|
91
92
|
<script lang="ts" setup>
|
|
92
93
|
import { ArrowDown, Delete, Document, Edit, Plus } from "@element-plus/icons-vue"
|
|
93
|
-
import { useGlobalConfig } from "easybill-ui"
|
|
94
|
+
import { useGlobalConfig, useLocale } from "easybill-ui"
|
|
94
95
|
import { ElLoading, ElMessage, ElMessageBox, ElTable } from "element-plus"
|
|
95
96
|
import { computed, getCurrentInstance, onActivated, onMounted, type PropType, provide, reactive, ref, type Ref, watch } from "vue"
|
|
96
|
-
import { useLocale } from "../../../utils/hooks/useLocal"
|
|
97
97
|
import type { Fields, FormItem, FormSchema } from "../../CurdForm"
|
|
98
98
|
import FormDialog from "../../FormDialog"
|
|
99
99
|
import type { FilterItem, ListQuery } from "../../TableFilter"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script lang="ts" setup>
|
|
25
25
|
import { CaretLeft, CaretRight, VideoPause } from "@element-plus/icons-vue"
|
|
26
26
|
import { computed, inject, ref, shallowRef, triggerRef, watch, type PropType, type Ref } from "vue"
|
|
27
|
-
import { useLocale } from "
|
|
27
|
+
import { useLocale } from "easybill-ui"
|
|
28
28
|
import type { ColumnItem } from "./types"
|
|
29
29
|
const props = defineProps({
|
|
30
30
|
visible: {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
<script lang="ts" setup>
|
|
7
7
|
import { ref, type Ref } from "vue"
|
|
8
|
-
import { useLocale } from "
|
|
8
|
+
import { useLocale } from "easybill-ui"
|
|
9
9
|
import DetailInfo, { type DetailDataItem } from "../../DetailInfo"
|
|
10
10
|
import type { ColumnItem } from "./types"
|
|
11
11
|
interface OpenOption {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
<script lang="ts" setup>
|
|
24
24
|
import { Download, Operation, Refresh, ScaleToOriginal, Search } from "@element-plus/icons-vue"
|
|
25
25
|
import { computed, ref } from "vue"
|
|
26
|
-
import { useGlobalConfig } from "
|
|
27
|
-
import { useLocale } from "
|
|
26
|
+
import { useGlobalConfig } from "easybill-ui"
|
|
27
|
+
import { useLocale } from "easybill-ui"
|
|
28
28
|
import STableColumnControl from "./STableColumnControl.vue"
|
|
29
29
|
const emits = defineEmits(["operation"])
|
|
30
30
|
const props = defineProps({
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<script lang="ts">
|
|
23
23
|
import { ElButton, ElDialog, ElStep, ElSteps } from "element-plus"
|
|
24
24
|
import { computed, defineComponent, type PropType, reactive, ref, type Ref, shallowRef, toRefs } from "vue"
|
|
25
|
-
import { useLocale } from "
|
|
25
|
+
import { useLocale } from "easybill-ui"
|
|
26
26
|
import { CurdForm, type Fields, type FormSchema } from "../../CurdForm"
|
|
27
27
|
export default defineComponent({
|
|
28
28
|
name: "FormDialog",
|
package/index.ts
CHANGED
|
@@ -16,6 +16,7 @@ export * from "./components/DetailInfo/src/types"
|
|
|
16
16
|
export * from "./components/FormDialog/src/types"
|
|
17
17
|
export * from "./components/TableFilter/types"
|
|
18
18
|
export * from "./utils/hooks/useGlobalConfig"
|
|
19
|
+
export * from "./utils/hooks/useLocal"
|
|
19
20
|
export { ConstantStatus, CurdForm, CurdFormItem, DetailInfo, TableFilter, CurdTable, FormDialog}
|
|
20
21
|
|
|
21
22
|
export default makeInstaller([...Components])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easybill-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "A component library for easybill",
|
|
5
5
|
"author": "tuchongyang <779311998@qq.com>",
|
|
6
6
|
"private": false,
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "1d9fed3c96bb38e9f3358ac3fa0ad4f606cdb84f"
|
|
18
18
|
}
|