@vrojs/element-plus 0.0.31 → 0.0.32

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.
Files changed (44) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +147 -139
  3. package/dist/style/deps.js +1 -0
  4. package/dist/vro-el-async-dialog/function-call.d.ts +3 -0
  5. package/dist/vro-el-async-dialog/function-call.js +20 -0
  6. package/dist/vro-el-async-dialog/index.d.ts +48 -0
  7. package/dist/vro-el-async-dialog/index.js +9 -0
  8. package/dist/vro-el-async-dialog/style/css.d.ts +0 -0
  9. package/dist/vro-el-async-dialog/style/css.js +2 -0
  10. package/dist/vro-el-async-dialog/style/deps.d.ts +0 -0
  11. package/dist/vro-el-async-dialog/style/deps.js +1 -0
  12. package/dist/vro-el-async-dialog/style/index.d.ts +0 -0
  13. package/dist/vro-el-async-dialog/style/index.js +2 -0
  14. package/dist/vro-el-async-dialog/types.d.ts +12 -0
  15. package/dist/vro-el-async-dialog/types.js +1 -0
  16. package/dist/vro-el-async-dialog/vro-el-async-dialog.vue.d.ts +28 -0
  17. package/dist/vro-el-async-dialog/vro-el-async-dialog.vue.js +58 -0
  18. package/dist/vro-el-async-dialog/vro-el-async-dialog.vue2.js +4 -0
  19. package/dist/vro-el-image/index.d.ts +3 -3
  20. package/dist/vro-el-image/utils.d.ts +1 -1
  21. package/dist/vro-el-image/vro-el-image.vue.d.ts +1 -1
  22. package/dist/vro-el-schema-form/defineVroElSchemaForm.d.ts +2 -3
  23. package/dist/vro-el-schema-form/types.d.ts +3 -0
  24. package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +2 -5
  25. package/dist/vro-el-schema-form-dialog/function-call.js +2 -2
  26. package/dist/vro-el-schema-form-dialog/index.d.ts +2 -1
  27. package/dist/vro-el-schema-form-dialog/index.js +13 -9
  28. package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.d.ts +12 -13
  29. package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.js +27 -15
  30. package/dist/vro-el-schema-form-dialog/utils.d.ts +2 -0
  31. package/dist/vro-el-schema-form-dialog/utils.js +6 -0
  32. package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +2 -2
  33. package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +25 -24
  34. package/dist/vro-el-schema-form-drawer/function-call.js +2 -2
  35. package/dist/vro-el-schema-form-drawer/index.d.ts +1 -1
  36. package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +2 -2
  37. package/dist/vro-el-select/index.d.ts +1 -1
  38. package/dist/vro-el-select/vro-el-select.vue.d.ts +1 -1
  39. package/dist/vro-el-with-config/index.d.ts +58 -11
  40. package/dist/vro-el-with-config/types.d.ts +7 -0
  41. package/dist/vro-el-with-config/types.js +8 -1
  42. package/dist/vro-el-with-config/vro-el-with-config.vue.d.ts +28 -2
  43. package/dist/vro-el-with-config/vro-el-with-config.vue.js +40 -19
  44. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './locale';
2
2
  export * from './utils';
3
+ export * from './vro-el-async-dialog';
3
4
  export * from './vro-el-checkbox-group';
4
5
  export * from './vro-el-config-provider';
5
6
  export * from './vro-el-divider';
package/dist/index.js CHANGED
@@ -2,152 +2,160 @@ import { default as e } from "./locale/lang/en.js";
2
2
  import { default as m } from "./locale/lang/zh-cn.js";
3
3
  import { default as t } from "./locale/lang/zh-tw.js";
4
4
  import { useLocale as f } from "./locale/useLocale.js";
5
- import { datePickerValueFormat as E } from "./utils/datePickerValueFormat.js";
5
+ import { datePickerValueFormat as x } from "./utils/datePickerValueFormat.js";
6
6
  import { elTableColumnProps as i } from "./utils/elTableColumnProps.js";
7
7
  import { parseType as V } from "@vrojs/base";
8
- import { VroElCheckboxGroup as g } from "./vro-el-checkbox-group/index.js";
9
- import { VroElConfigProvider as h } from "./vro-el-config-provider/index.js";
10
- import { VroElDivider as F } from "./vro-el-divider/index.js";
11
- import { VroElFileUpload as d } from "./vro-el-file-upload/index.js";
12
- import { VroElIcon as C } from "./vro-el-icon/index.js";
13
- import { VroElImage as D } from "./vro-el-image/index.js";
14
- import { VroElImageUpload as I } from "./vro-el-image-upload/index.js";
15
- import { VroElRadioGroup as w } from "./vro-el-radio-group/index.js";
16
- import { VroElSchemaDescs as O } from "./vro-el-schema-descs/index.js";
17
- import { VroElSchemaFilter as y } from "./vro-el-schema-filter/index.js";
18
- import { VroElSchemaForm as W } from "./vro-el-schema-form/index.js";
19
- import { VroElSchemaFormDialog as z } from "./vro-el-schema-form-dialog/index.js";
20
- import { VroElSchemaFormDrawer as M } from "./vro-el-schema-form-drawer/index.js";
21
- import { VroElSelect as L } from "./vro-el-select/index.js";
22
- import { VroElSkeleton as q } from "./vro-el-skeleton/index.js";
23
- import { VroElTable as H } from "./vro-el-table/index.js";
24
- import { VroElTableActionsColumn as Q } from "./vro-el-table-actions-column/index.js";
25
- import { VroElTableColumn as Y } from "./vro-el-table-column/index.js";
26
- import { VroElTableColumnGroup as _ } from "./vro-el-table-column-group/index.js";
27
- import { VroElTags as oo } from "./vro-el-tags/index.js";
28
- import { VroElTree as eo } from "./vro-el-tree/index.js";
29
- import { VroElWithConfig as mo } from "./vro-el-with-config/index.js";
30
- import { vroElCheckboxGroupProps as to } from "./vro-el-checkbox-group/types.js";
31
- import { provideVroElConfig as fo, setVroElGlobalConfig as xo, useVroElConfig as Eo, useVroElGlobalConfig as so, vroElConfigContextKey as io } from "./vro-el-config-provider/config.js";
32
- import { vroElConfigProviderProps as Vo } from "./vro-el-config-provider/types.js";
33
- import { vroElDividerProps as go } from "./vro-el-divider/types.js";
34
- import { vroElFileUploadProps as ho } from "./vro-el-file-upload/types.js";
35
- import { getVroElFileUploadOptions as Fo, setVroElFileUploadOptions as So } from "./vro-el-file-upload/utils.js";
36
- import { vroElIconProps as Co } from "./vro-el-icon/types.js";
37
- import { vroElImageProps as Do } from "./vro-el-image/types.js";
38
- import { getVroElImageOptions as Io, setVroElImageOptions as Go } from "./vro-el-image/utils.js";
39
- import { vroElImageUploadProps as Uo } from "./vro-el-image-upload/types.js";
40
- import { getVroElImageUploadOptions as ko, setVroElImageUploadOptions as yo } from "./vro-el-image-upload/utils.js";
41
- import { vroElRadioGroupProps as Wo } from "./vro-el-radio-group/types.js";
42
- import { createVroElSchemaDescsDialog as zo } from "./vro-el-schema-descs/function-call.js";
43
- import { vroElSchemaDescsProps as Mo } from "./vro-el-schema-descs/types.js";
44
- import { vroElSchemaFilterProps as Lo } from "./vro-el-schema-filter/types.js";
45
- import { defineVroElSchemaForm as qo } from "./vro-el-schema-form/defineVroElSchemaForm.js";
46
- import { defineVroElSchemaFormCreateField as Ho } from "./vro-el-schema-form/defineVroElSchemaFormCreateField.js";
47
- import { defineVroElSchemaFormFieldTrigger as Qo } from "./vro-el-schema-form/defineVroElSchemaFormFieldTrigger.js";
48
- import { vroElSchemaFormProps as Yo } from "./vro-el-schema-form/types.js";
49
- import { useVroElSchemaForm as _o } from "./vro-el-schema-form/useVroElSchemaForm.js";
50
- import { vroElSchemaFormFieldManager as or } from "./vro-el-schema-form/vroElSchemaFormFieldManager.js";
51
- import { showVroElSchemaFormDialog as er } from "./vro-el-schema-form-dialog/function-call.js";
52
- import { useVroElSchemaFormDialogInstance as mr, vroElSchemaFormDialogInjectionKey as pr } from "./vro-el-schema-form-dialog/injection.js";
53
- import { vroElSchemaFormDialogProps as ar } from "./vro-el-schema-form-dialog/types.js";
54
- import { useVroElSchemaFormDialog as xr } from "./vro-el-schema-form-dialog/useVroElSchemaFormDialog.js";
55
- import { showVroElSchemaFormDrawer as sr } from "./vro-el-schema-form-drawer/function-call.js";
56
- import { useVroElSchemaFormDrawerInstance as nr, vroElSchemaFormDrawerInjectionKey as Vr } from "./vro-el-schema-form-drawer/injection.js";
57
- import { vroElSchemaFormDrawerProps as gr } from "./vro-el-schema-form-drawer/types.js";
58
- import { useVroElSchemaFormDrawer as hr } from "./vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js";
59
- import { vroElSelectProps as Fr } from "./vro-el-select/types.js";
60
- import { vroElSkeletonProps as dr } from "./vro-el-skeleton/types.js";
61
- import { vroElTableProps as Cr } from "./vro-el-table/types.js";
62
- import { useVroElTable as Dr } from "./vro-el-table/useVroElTable.js";
63
- import { vroElTableActionsColumnProps as Ir } from "./vro-el-table-actions-column/types.js";
64
- import { vroElTableColumnProps as wr } from "./vro-el-table-column/types.js";
65
- import { defineVroElTableColumns as Or } from "./vro-el-table-column-group/defineVroElTableColumns.js";
66
- import { vroElTableColumnGroupProps as yr } from "./vro-el-table-column-group/types.js";
67
- import { useVroElTableColumnGroup as Wr } from "./vro-el-table-column-group/useVroElTableColumnGroup.js";
68
- import { vroElTableColumnGroupColumnManager as zr } from "./vro-el-table-column-group/vroElTableColumnGroupColumnManager.js";
69
- import { vroElTagsProps as Mr } from "./vro-el-tags/types.js";
70
- import { vroElTreeProps as Lr } from "./vro-el-tree/types.js";
71
- import { vroElWithConfigProps as qr } from "./vro-el-with-config/types.js";
8
+ import { VroElAsyncDialog as g } from "./vro-el-async-dialog/index.js";
9
+ import { VroElCheckboxGroup as u } from "./vro-el-checkbox-group/index.js";
10
+ import { VroElConfigProvider as F } from "./vro-el-config-provider/index.js";
11
+ import { VroElDivider as d } from "./vro-el-divider/index.js";
12
+ import { VroElFileUpload as C } from "./vro-el-file-upload/index.js";
13
+ import { VroElIcon as T } from "./vro-el-icon/index.js";
14
+ import { VroElImage as I } from "./vro-el-image/index.js";
15
+ import { VroElImageUpload as w } from "./vro-el-image-upload/index.js";
16
+ import { VroElRadioGroup as U } from "./vro-el-radio-group/index.js";
17
+ import { VroElSchemaDescs as k } from "./vro-el-schema-descs/index.js";
18
+ import { VroElSchemaFilter as K } from "./vro-el-schema-filter/index.js";
19
+ import { VroElSchemaForm as j } from "./vro-el-schema-form/index.js";
20
+ import { VroElSchemaFormDialog as M } from "./vro-el-schema-form-dialog/index.js";
21
+ import { VroElSchemaFormDrawer as L } from "./vro-el-schema-form-drawer/index.js";
22
+ import { VroElSelect as q } from "./vro-el-select/index.js";
23
+ import { VroElSkeleton as H } from "./vro-el-skeleton/index.js";
24
+ import { VroElTable as Q } from "./vro-el-table/index.js";
25
+ import { VroElTableActionsColumn as Y } from "./vro-el-table-actions-column/index.js";
26
+ import { VroElTableColumn as _ } from "./vro-el-table-column/index.js";
27
+ import { VroElTableColumnGroup as oo } from "./vro-el-table-column-group/index.js";
28
+ import { VroElTags as eo } from "./vro-el-tags/index.js";
29
+ import { VroElTree as mo } from "./vro-el-tree/index.js";
30
+ import { VroElWithConfig as to } from "./vro-el-with-config/index.js";
31
+ import { showVroElAsyncDialog as fo } from "./vro-el-async-dialog/function-call.js";
32
+ import { vroElCheckboxGroupProps as xo } from "./vro-el-checkbox-group/types.js";
33
+ import { provideVroElConfig as io, setVroElGlobalConfig as no, useVroElConfig as Vo, useVroElGlobalConfig as co, vroElConfigContextKey as go } from "./vro-el-config-provider/config.js";
34
+ import { vroElConfigProviderProps as uo } from "./vro-el-config-provider/types.js";
35
+ import { vroElDividerProps as Fo } from "./vro-el-divider/types.js";
36
+ import { vroElFileUploadProps as Po } from "./vro-el-file-upload/types.js";
37
+ import { getVroElFileUploadOptions as Do, setVroElFileUploadOptions as To } from "./vro-el-file-upload/utils.js";
38
+ import { vroElIconProps as Io } from "./vro-el-icon/types.js";
39
+ import { vroElImageProps as wo } from "./vro-el-image/types.js";
40
+ import { getVroElImageOptions as Uo, setVroElImageOptions as yo } from "./vro-el-image/utils.js";
41
+ import { vroElImageUploadProps as Ao } from "./vro-el-image-upload/types.js";
42
+ import { getVroElImageUploadOptions as Wo, setVroElImageUploadOptions as jo } from "./vro-el-image-upload/utils.js";
43
+ import { vroElRadioGroupProps as Mo } from "./vro-el-radio-group/types.js";
44
+ import { createVroElSchemaDescsDialog as Lo } from "./vro-el-schema-descs/function-call.js";
45
+ import { vroElSchemaDescsProps as qo } from "./vro-el-schema-descs/types.js";
46
+ import { vroElSchemaFilterProps as Ho } from "./vro-el-schema-filter/types.js";
47
+ import { defineVroElSchemaForm as Qo } from "./vro-el-schema-form/defineVroElSchemaForm.js";
48
+ import { defineVroElSchemaFormCreateField as Yo } from "./vro-el-schema-form/defineVroElSchemaFormCreateField.js";
49
+ import { defineVroElSchemaFormFieldTrigger as _o } from "./vro-el-schema-form/defineVroElSchemaFormFieldTrigger.js";
50
+ import { vroElSchemaFormProps as or } from "./vro-el-schema-form/types.js";
51
+ import { useVroElSchemaForm as er } from "./vro-el-schema-form/useVroElSchemaForm.js";
52
+ import { vroElSchemaFormFieldManager as mr } from "./vro-el-schema-form/vroElSchemaFormFieldManager.js";
53
+ import { showVroElSchemaFormDialog as tr } from "./vro-el-schema-form-dialog/function-call.js";
54
+ import { useVroElSchemaFormDialogInstance as fr, vroElSchemaFormDialogInjectionKey as Er } from "./vro-el-schema-form-dialog/injection.js";
55
+ import { vroElSchemaFormDialogProps as sr } from "./vro-el-schema-form-dialog/types.js";
56
+ import { createVroElSchemaFormDialog‌ as nr, useVroElSchemaFormDialog as Vr } from "./vro-el-schema-form-dialog/useVroElSchemaFormDialog.js";
57
+ import { getVroElSchemaFormDialogOptions as gr, setVroElSchemaFormDialogOptions as hr } from "./vro-el-schema-form-dialog/utils.js";
58
+ import { showVroElSchemaFormDrawer as vr } from "./vro-el-schema-form-drawer/function-call.js";
59
+ import { useVroElSchemaFormDrawerInstance as Sr, vroElSchemaFormDrawerInjectionKey as dr } from "./vro-el-schema-form-drawer/injection.js";
60
+ import { vroElSchemaFormDrawerProps as Cr } from "./vro-el-schema-form-drawer/types.js";
61
+ import { useVroElSchemaFormDrawer as Tr } from "./vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js";
62
+ import { vroElSelectProps as Ir } from "./vro-el-select/types.js";
63
+ import { vroElSkeletonProps as wr } from "./vro-el-skeleton/types.js";
64
+ import { vroElTableProps as Ur } from "./vro-el-table/types.js";
65
+ import { useVroElTable as kr } from "./vro-el-table/useVroElTable.js";
66
+ import { vroElTableActionsColumnProps as Kr } from "./vro-el-table-actions-column/types.js";
67
+ import { vroElTableColumnProps as jr } from "./vro-el-table-column/types.js";
68
+ import { defineVroElTableColumns as Mr } from "./vro-el-table-column-group/defineVroElTableColumns.js";
69
+ import { vroElTableColumnGroupProps as Lr } from "./vro-el-table-column-group/types.js";
70
+ import { useVroElTableColumnGroup as qr } from "./vro-el-table-column-group/useVroElTableColumnGroup.js";
71
+ import { vroElTableColumnGroupColumnManager as Hr } from "./vro-el-table-column-group/vroElTableColumnGroupColumnManager.js";
72
+ import { vroElTagsProps as Qr } from "./vro-el-tags/types.js";
73
+ import { vroElTreeProps as Yr } from "./vro-el-tree/types.js";
74
+ import { vroElWithConfigProps as _r } from "./vro-el-with-config/types.js";
72
75
  export {
73
- g as VroElCheckboxGroup,
74
- h as VroElConfigProvider,
75
- F as VroElDivider,
76
- d as VroElFileUpload,
77
- C as VroElIcon,
78
- D as VroElImage,
79
- I as VroElImageUpload,
80
- w as VroElRadioGroup,
81
- O as VroElSchemaDescs,
82
- y as VroElSchemaFilter,
83
- W as VroElSchemaForm,
84
- z as VroElSchemaFormDialog,
85
- M as VroElSchemaFormDrawer,
86
- L as VroElSelect,
87
- q as VroElSkeleton,
88
- H as VroElTable,
89
- Q as VroElTableActionsColumn,
90
- Y as VroElTableColumn,
91
- _ as VroElTableColumnGroup,
92
- oo as VroElTags,
93
- eo as VroElTree,
94
- mo as VroElWithConfig,
95
- zo as createVroElSchemaDescsDialog,
96
- E as datePickerValueFormat,
97
- qo as defineVroElSchemaForm,
98
- Ho as defineVroElSchemaFormCreateField,
99
- Qo as defineVroElSchemaFormFieldTrigger,
100
- Or as defineVroElTableColumns,
76
+ g as VroElAsyncDialog,
77
+ u as VroElCheckboxGroup,
78
+ F as VroElConfigProvider,
79
+ d as VroElDivider,
80
+ C as VroElFileUpload,
81
+ T as VroElIcon,
82
+ I as VroElImage,
83
+ w as VroElImageUpload,
84
+ U as VroElRadioGroup,
85
+ k as VroElSchemaDescs,
86
+ K as VroElSchemaFilter,
87
+ j as VroElSchemaForm,
88
+ M as VroElSchemaFormDialog,
89
+ L as VroElSchemaFormDrawer,
90
+ q as VroElSelect,
91
+ H as VroElSkeleton,
92
+ Q as VroElTable,
93
+ Y as VroElTableActionsColumn,
94
+ _ as VroElTableColumn,
95
+ oo as VroElTableColumnGroup,
96
+ eo as VroElTags,
97
+ mo as VroElTree,
98
+ to as VroElWithConfig,
99
+ Lo as createVroElSchemaDescsDialog,
100
+ nr as createVroElSchemaFormDialog‌,
101
+ x as datePickerValueFormat,
102
+ Qo as defineVroElSchemaForm,
103
+ Yo as defineVroElSchemaFormCreateField,
104
+ _o as defineVroElSchemaFormFieldTrigger,
105
+ Mr as defineVroElTableColumns,
101
106
  i as elTableColumnProps,
102
107
  e as en,
103
- Fo as getVroElFileUploadOptions,
104
- Io as getVroElImageOptions,
105
- ko as getVroElImageUploadOptions,
108
+ Do as getVroElFileUploadOptions,
109
+ Uo as getVroElImageOptions,
110
+ Wo as getVroElImageUploadOptions,
111
+ gr as getVroElSchemaFormDialogOptions,
106
112
  V as parseType,
107
- fo as provideVroElConfig,
108
- So as setVroElFileUploadOptions,
109
- xo as setVroElGlobalConfig,
110
- Go as setVroElImageOptions,
111
- yo as setVroElImageUploadOptions,
112
- er as showVroElSchemaFormDialog,
113
- sr as showVroElSchemaFormDrawer,
113
+ io as provideVroElConfig,
114
+ To as setVroElFileUploadOptions,
115
+ no as setVroElGlobalConfig,
116
+ yo as setVroElImageOptions,
117
+ jo as setVroElImageUploadOptions,
118
+ hr as setVroElSchemaFormDialogOptions,
119
+ fo as showVroElAsyncDialog,
120
+ tr as showVroElSchemaFormDialog,
121
+ vr as showVroElSchemaFormDrawer,
114
122
  f as useLocale,
115
- Eo as useVroElConfig,
116
- so as useVroElGlobalConfig,
117
- _o as useVroElSchemaForm,
118
- xr as useVroElSchemaFormDialog,
119
- mr as useVroElSchemaFormDialogInstance,
120
- hr as useVroElSchemaFormDrawer,
121
- nr as useVroElSchemaFormDrawerInstance,
122
- Dr as useVroElTable,
123
- Wr as useVroElTableColumnGroup,
124
- to as vroElCheckboxGroupProps,
125
- io as vroElConfigContextKey,
126
- Vo as vroElConfigProviderProps,
127
- go as vroElDividerProps,
128
- ho as vroElFileUploadProps,
129
- Co as vroElIconProps,
130
- Do as vroElImageProps,
131
- Uo as vroElImageUploadProps,
132
- Wo as vroElRadioGroupProps,
133
- Mo as vroElSchemaDescsProps,
134
- Lo as vroElSchemaFilterProps,
135
- pr as vroElSchemaFormDialogInjectionKey,
136
- ar as vroElSchemaFormDialogProps,
137
- Vr as vroElSchemaFormDrawerInjectionKey,
138
- gr as vroElSchemaFormDrawerProps,
139
- or as vroElSchemaFormFieldManager,
140
- Yo as vroElSchemaFormProps,
141
- Fr as vroElSelectProps,
142
- dr as vroElSkeletonProps,
143
- Ir as vroElTableActionsColumnProps,
144
- zr as vroElTableColumnGroupColumnManager,
145
- yr as vroElTableColumnGroupProps,
146
- wr as vroElTableColumnProps,
147
- Cr as vroElTableProps,
148
- Mr as vroElTagsProps,
149
- Lr as vroElTreeProps,
150
- qr as vroElWithConfigProps,
123
+ Vo as useVroElConfig,
124
+ co as useVroElGlobalConfig,
125
+ er as useVroElSchemaForm,
126
+ Vr as useVroElSchemaFormDialog,
127
+ fr as useVroElSchemaFormDialogInstance,
128
+ Tr as useVroElSchemaFormDrawer,
129
+ Sr as useVroElSchemaFormDrawerInstance,
130
+ kr as useVroElTable,
131
+ qr as useVroElTableColumnGroup,
132
+ xo as vroElCheckboxGroupProps,
133
+ go as vroElConfigContextKey,
134
+ uo as vroElConfigProviderProps,
135
+ Fo as vroElDividerProps,
136
+ Po as vroElFileUploadProps,
137
+ Io as vroElIconProps,
138
+ wo as vroElImageProps,
139
+ Ao as vroElImageUploadProps,
140
+ Mo as vroElRadioGroupProps,
141
+ qo as vroElSchemaDescsProps,
142
+ Ho as vroElSchemaFilterProps,
143
+ Er as vroElSchemaFormDialogInjectionKey,
144
+ sr as vroElSchemaFormDialogProps,
145
+ dr as vroElSchemaFormDrawerInjectionKey,
146
+ Cr as vroElSchemaFormDrawerProps,
147
+ mr as vroElSchemaFormFieldManager,
148
+ or as vroElSchemaFormProps,
149
+ Ir as vroElSelectProps,
150
+ wr as vroElSkeletonProps,
151
+ Kr as vroElTableActionsColumnProps,
152
+ Hr as vroElTableColumnGroupColumnManager,
153
+ Lr as vroElTableColumnGroupProps,
154
+ jr as vroElTableColumnProps,
155
+ Ur as vroElTableProps,
156
+ Qr as vroElTagsProps,
157
+ Yr as vroElTreeProps,
158
+ _r as vroElWithConfigProps,
151
159
  m as zhCN,
152
160
  t as zhTW
153
161
  };
@@ -1,3 +1,4 @@
1
+ import '../vro-el-async-dialog/style/deps.js';
1
2
  import '../vro-el-checkbox-group/style/deps.js';
2
3
  import '../vro-el-config-provider/style/deps.js';
3
4
  import '../vro-el-divider/style/deps.js';
@@ -0,0 +1,3 @@
1
+ import { AppContext } from 'vue';
2
+ import { VroElAsyncDialogProps } from './types';
3
+ export declare function showVroElAsyncDialog<T = any>(props: Partial<VroElAsyncDialogProps>, appContext?: AppContext | null): Promise<T>;
@@ -0,0 +1,20 @@
1
+ import { showComponent as m } from "@vrojs/base";
2
+ import { markRaw as n } from "vue";
3
+ import { VroElWithConfig as i } from "../vro-el-with-config/index.js";
4
+ import t from "./vro-el-async-dialog.vue.js";
5
+ function p(o, r = null) {
6
+ return m(
7
+ i,
8
+ {
9
+ is: n(t),
10
+ props: o
11
+ },
12
+ {
13
+ appContext: r,
14
+ destroyHandlers: ["onClosed"]
15
+ }
16
+ );
17
+ }
18
+ export {
19
+ p as showVroElAsyncDialog
20
+ };
@@ -0,0 +1,48 @@
1
+ export * from './function-call';
2
+ export * from './types';
3
+ export declare const VroElAsyncDialog: import('@vrojs/base').WithInstall<{
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
5
+ onClosed?: (() => any) | undefined;
6
+ }>, {
7
+ show: (options: import('./types').VroElAsyncDialogProps) => Promise<void>;
8
+ hide: () => boolean;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ closed: () => any;
11
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
12
+ P: {};
13
+ B: {};
14
+ D: {};
15
+ C: {};
16
+ M: {};
17
+ Defaults: {};
18
+ }, Readonly<{}> & Readonly<{
19
+ onClosed?: (() => any) | undefined;
20
+ }>, {
21
+ show: (options: import('./types').VroElAsyncDialogProps) => Promise<void>;
22
+ hide: () => boolean;
23
+ }, {}, {}, {}, {}>;
24
+ __isFragment?: never;
25
+ __isTeleport?: never;
26
+ __isSuspense?: never;
27
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
28
+ onClosed?: (() => any) | undefined;
29
+ }>, {
30
+ show: (options: import('./types').VroElAsyncDialogProps) => Promise<void>;
31
+ hide: () => boolean;
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
33
+ closed: () => any;
34
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
35
+ $slots: {
36
+ default?(_: {
37
+ data: any;
38
+ hide: () => boolean;
39
+ }): any;
40
+ };
41
+ })>;
42
+ export default VroElAsyncDialog;
43
+ export type VroElAsyncDialogInstance = InstanceType<typeof VroElAsyncDialog>;
44
+ declare module 'vue' {
45
+ interface GlobalComponents {
46
+ VroElAsyncDialog: typeof VroElAsyncDialog;
47
+ }
48
+ }
@@ -0,0 +1,9 @@
1
+ import { withInstall as o } from "@vrojs/base";
2
+ import r from "./vro-el-async-dialog.vue.js";
3
+ import { showVroElAsyncDialog as m } from "./function-call.js";
4
+ const s = o(r);
5
+ export {
6
+ s as VroElAsyncDialog,
7
+ s as default,
8
+ m as showVroElAsyncDialog
9
+ };
File without changes
@@ -0,0 +1,2 @@
1
+ import '../../style/base.css';
2
+ import '../../vro-el-with-config/style/css.js';
File without changes
@@ -0,0 +1 @@
1
+ import '../../vro-el-with-config/style/deps.js';
File without changes
@@ -0,0 +1,2 @@
1
+ import './deps.js';
2
+ import './css.js';
@@ -0,0 +1,12 @@
1
+ import { DialogProps } from 'element-plus';
2
+ import { Raw } from 'vue';
3
+ import { VroElSkeletonProps } from '../vro-el-skeleton/types';
4
+ export interface VroElAsyncDialogProps<Data = any, ComponentProps = any> {
5
+ title?: string;
6
+ request?: () => Data | Promise<Data>;
7
+ dialogProps?: DialogProps;
8
+ is?: Raw<object>;
9
+ props?: ComponentProps;
10
+ dataProp?: string;
11
+ skeletonProps?: Partial<VroElSkeletonProps>;
12
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,28 @@
1
+ import { VroElAsyncDialogProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {
6
+ data: any;
7
+ hide: () => boolean;
8
+ }): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
15
+ show: (options: VroElAsyncDialogProps) => Promise<void>;
16
+ hide: () => boolean;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
+ closed: () => any;
19
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
20
+ onClosed?: (() => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,58 @@
1
+ import { defineComponent as b, ref as p, computed as w, resolveComponent as v, createBlock as c, openBlock as s, mergeProps as i, withCtx as x, createElementBlock as B, unref as t, Fragment as j, createCommentVNode as q, renderSlot as A, resolveDynamicComponent as D, normalizeProps as E } from "vue";
2
+ import { useAsyncTask as O } from "@vrojs/use";
3
+ const N = /* @__PURE__ */ b({
4
+ name: "VroElAsyncDialog",
5
+ __name: "vro-el-async-dialog",
6
+ emits: ["closed"],
7
+ setup(R, { expose: m, emit: g }) {
8
+ const f = g, a = p(!1), e = p(), y = w(() => {
9
+ const o = {};
10
+ if (e.value) {
11
+ const { dataProp: n, props: r } = e.value;
12
+ Object.assign(o, r), n && Object.assign(o, { [n]: l.value });
13
+ }
14
+ return o;
15
+ }), { loading: _, error: k, data: l, trigger: u } = O(async () => {
16
+ const { request: o } = e.value;
17
+ return await o?.();
18
+ }), C = async (o) => {
19
+ e.value = o, l.value = void 0, u(), a.value = !0;
20
+ }, d = () => a.value, P = () => {
21
+ l.value = void 0, e.value = void 0, f("closed");
22
+ };
23
+ return m({
24
+ show: C,
25
+ hide: d
26
+ }), (o, n) => {
27
+ const r = v("vro-el-skeleton"), h = v("el-dialog");
28
+ return s(), c(h, i({
29
+ class: "vro-el-async-dialog",
30
+ modelValue: a.value,
31
+ "onUpdate:modelValue": n[0] || (n[0] = (V) => a.value = V),
32
+ title: e.value?.title,
33
+ "destroy-on-close": "",
34
+ "append-to-body": "",
35
+ "close-on-click-modal": !1
36
+ }, e.value?.dialogProps, { onClosed: P }), {
37
+ default: x(() => [
38
+ e.value && (t(l) || !e.value?.request) ? (s(), B(j, { key: 0 }, [
39
+ e.value.is ? (s(), c(D(e.value.is), E(i({ key: 0 }, y.value)), null, 16)) : q("", !0),
40
+ A(o.$slots, "default", {
41
+ data: t(l),
42
+ hide: d
43
+ })
44
+ ], 64)) : (s(), c(r, i({
45
+ key: 1,
46
+ loading: t(_),
47
+ error: t(k),
48
+ "loading-props": { type: "spinner" }
49
+ }, e.value?.skeletonProps, { onRefresh: t(u) }), null, 16, ["loading", "error", "onRefresh"]))
50
+ ]),
51
+ _: 3
52
+ }, 16, ["modelValue", "title"]);
53
+ };
54
+ }
55
+ });
56
+ export {
57
+ N as default
58
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./vro-el-async-dialog.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -51,6 +51,7 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
51
51
  };
52
52
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
53
53
  src: string;
54
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
54
55
  previewTeleported: boolean;
55
56
  hideOnClickModal: boolean;
56
57
  fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
@@ -58,7 +59,6 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
58
59
  previewSrcList: string[];
59
60
  initialIndex: number;
60
61
  infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
61
- closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
62
62
  zoomRate: number;
63
63
  scale: number;
64
64
  minScale: number;
@@ -121,6 +121,7 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
121
121
  };
122
122
  }>> & Readonly<{}>, {}, {}, {}, {}, {
123
123
  src: string;
124
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
124
125
  previewTeleported: boolean;
125
126
  hideOnClickModal: boolean;
126
127
  fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
@@ -128,7 +129,6 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
128
129
  previewSrcList: string[];
129
130
  initialIndex: number;
130
131
  infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
131
- closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
132
132
  zoomRate: number;
133
133
  scale: number;
134
134
  minScale: number;
@@ -188,6 +188,7 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
188
188
  };
189
189
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
190
190
  src: string;
191
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
191
192
  previewTeleported: boolean;
192
193
  hideOnClickModal: boolean;
193
194
  fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
@@ -195,7 +196,6 @@ export declare const VroElImage: import('@vrojs/base').WithInstall<{
195
196
  previewSrcList: string[];
196
197
  initialIndex: number;
197
198
  infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
198
- closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
199
199
  zoomRate: number;
200
200
  scale: number;
201
201
  minScale: number;
@@ -1,2 +1,2 @@
1
1
  import { VroElImageProps } from './types';
2
- export declare const setVroElImageOptions: (value: Partial<Pick<VroElImageProps, "baseUrl" | "normalizeSrc" | "loadingProps" | "iconProps">>) => Partial<Pick<VroElImageProps, "baseUrl" | "normalizeSrc" | "loadingProps" | "iconProps">>, getVroElImageOptions: () => Partial<Pick<VroElImageProps, "baseUrl" | "normalizeSrc" | "loadingProps" | "iconProps">>;
2
+ export declare const setVroElImageOptions: (value: Partial<Pick<VroElImageProps, "loadingProps" | "baseUrl" | "normalizeSrc" | "iconProps">>) => Partial<Pick<VroElImageProps, "loadingProps" | "baseUrl" | "normalizeSrc" | "iconProps">>, getVroElImageOptions: () => Partial<Pick<VroElImageProps, "loadingProps" | "baseUrl" | "normalizeSrc" | "iconProps">>;
@@ -104,6 +104,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
104
104
  };
105
105
  }>> & Readonly<{}>, {
106
106
  src: string;
107
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
107
108
  previewTeleported: boolean;
108
109
  hideOnClickModal: boolean;
109
110
  fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
@@ -111,7 +112,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
111
112
  previewSrcList: string[];
112
113
  initialIndex: number;
113
114
  infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
114
- closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
115
115
  zoomRate: number;
116
116
  scale: number;
117
117
  minScale: number;
@@ -1,3 +1,2 @@
1
- import { VroElSchemaFormSchema } from './types';
2
- import { UseVroElSchemaFormSchema } from './useVroElSchemaForm';
3
- export declare function defineVroElSchemaForm<T extends VroElSchemaFormSchema = VroElSchemaFormSchema>(schema: (() => T) | T): UseVroElSchemaFormSchema<T>;
1
+ import { VroElSchemaFormNormalizedSchema, VroElSchemaFormSchema } from './types';
2
+ export declare function defineVroElSchemaForm<T extends VroElSchemaFormSchema = VroElSchemaFormSchema>(schema: (() => T) | T): VroElSchemaFormNormalizedSchema<T>;