easybill-ui 1.3.2 → 1.3.3

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.
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <el-cascader v-model="model" :options="options" v-bind="props" v-on="eventObject"></el-cascader>
2
+ <el-cascader v-model="model" :options="options" v-bind="props.props" v-on="props.eventObject"></el-cascader>
3
3
  </template>
4
4
  <script lang="ts" setup>
5
5
  import { type CascaderOption, type CascaderValue } from "element-plus"
@@ -9,7 +9,7 @@
9
9
  </el-option>
10
10
  </template>
11
11
  <template v-for="(item, key) in props?.slots" :key="key" #[key]>
12
- <component :is="item" v-model="model" :form-item="props.formItem" :form-model="props.formModel" :props="props" :event-object="eventObject" />
12
+ <component :is="item" v-model="model" :formItem="formItem" :formModel="formModel" :props="props" :event-object="eventObject" />
13
13
  </template>
14
14
  </el-select>
15
15
  </template>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <el-time-picker v-model="model" v-bind="props" v-on="eventObject">
3
3
  <template v-for="(item, key) in props.props?.slots" :key="key" #[key]="slotScope">
4
- <component :is="item" v-model="model" :form-item="props.formItem" :form-model="props.formModel" :props="formItemProps" :event-object="eventObject" />
4
+ <component :is="item" v-model="model" :form-item="formItem" :form-model="formModel" :props="formItemProps" :event-object="eventObject" />
5
5
  </template>
6
6
  </el-time-picker>
7
7
  </template>
@@ -1,6 +1,6 @@
1
- import type { CurdGroupFormSchema } from "../../CurdGroupForm/types"
2
1
  import type { DialogProps, StepProps } from "element-plus"
3
2
  import type { Fields, FormContext, FormSchema } from "../../CurdForm"
3
+ import type { CurdGroupFormSchema } from "../../CurdGroupForm/types"
4
4
  import type { StepItem } from "./hooks/useStepList"
5
5
 
6
6
  export interface FormDialogOptions extends Partial<DialogProps> {
@@ -18,6 +18,7 @@ export interface FormDialogOptions extends Partial<DialogProps> {
18
18
  cancelBtnText?: string
19
19
  stepComponent?: object
20
20
  footerComponent?: object
21
+ mode?: "dialog" | "drawer"
21
22
  }
22
23
 
23
24
  export interface FormDialogContext {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easybill-ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "A component library for easybill",
5
5
  "author": "tuchongyang <779311998@qq.com>",
6
6
  "private": false,
@@ -30,7 +30,7 @@ const mergeConfig = (a: GlobalConfig, b: Partial<GlobalConfig>) => {
30
30
  }
31
31
 
32
32
  export interface GlobalConfig {
33
- size: "default" | "small" | "large"
33
+ size?: "default" | "small" | "large"
34
34
  form?: FormConfig
35
35
  locale?: Language
36
36
  }