@aplus-frontend/ui 0.0.1-beta.4 → 0.0.1-beta.6

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 (137) hide show
  1. package/es/index.mjs +86 -65
  2. package/es/src/ap-field/checkbox/helper.mjs +5 -0
  3. package/es/src/ap-field/checkbox/index.vue.d.ts +39 -0
  4. package/es/src/ap-field/checkbox/index.vue.mjs +56 -0
  5. package/es/src/ap-field/checkbox/index.vue2.mjs +4 -0
  6. package/es/src/ap-field/date/constant.d.ts +11 -1
  7. package/es/src/ap-field/date/constant.mjs +50 -0
  8. package/es/src/ap-field/date/helper.d.ts +5 -0
  9. package/es/src/ap-field/date/helper.mjs +10 -0
  10. package/es/src/ap-field/date/index.vue.d.ts +57 -0
  11. package/es/src/ap-field/date/index.vue.mjs +75 -0
  12. package/es/src/ap-field/date/index.vue2.mjs +4 -0
  13. package/es/src/ap-field/date/interface.d.ts +1 -0
  14. package/es/src/ap-field/date-range/index.vue.d.ts +59 -0
  15. package/es/src/ap-field/date-range/index.vue.mjs +87 -0
  16. package/es/src/ap-field/date-range/index.vue2.mjs +4 -0
  17. package/es/src/ap-field/index.d.ts +9 -2
  18. package/es/src/ap-field/interface.d.ts +66 -7
  19. package/es/src/ap-field/number/helper.d.ts +1 -0
  20. package/es/src/ap-field/number/helper.mjs +14 -0
  21. package/es/src/ap-field/number/index.vue.d.ts +72 -0
  22. package/es/src/ap-field/number/index.vue.mjs +108 -0
  23. package/es/src/ap-field/number/index.vue2.mjs +4 -0
  24. package/es/src/ap-field/number/style.css +6 -0
  25. package/es/src/ap-field/radio/helper.d.ts +4 -0
  26. package/es/src/ap-field/radio/helper.mjs +5 -0
  27. package/es/src/ap-field/radio/index.vue.d.ts +40 -0
  28. package/es/src/ap-field/radio/index.vue.mjs +68 -0
  29. package/es/src/ap-field/radio/index.vue2.mjs +4 -0
  30. package/es/src/ap-field/select/index.vue.d.ts +235 -0
  31. package/es/src/ap-field/select/index.vue.mjs +114 -0
  32. package/es/src/ap-field/select/index.vue2.mjs +4 -0
  33. package/es/src/ap-field/switch/index.vue.d.ts +54 -0
  34. package/es/src/ap-field/switch/index.vue.mjs +93 -0
  35. package/es/src/ap-field/switch/index.vue2.mjs +4 -0
  36. package/es/src/ap-field/text/index.vue.d.ts +63 -0
  37. package/es/src/ap-field/text/index.vue.mjs +132 -0
  38. package/es/src/ap-field/text/index.vue2.mjs +4 -0
  39. package/es/src/ap-field/text-area/index.vue.d.ts +49 -0
  40. package/es/src/ap-field/text-area/index.vue.mjs +86 -0
  41. package/es/src/ap-field/text-area/index.vue2.mjs +4 -0
  42. package/es/src/ap-field/text-area/style.css +5 -0
  43. package/es/src/ap-form/index.d.ts +12 -12
  44. package/es/src/basic/help.vue.d.ts +1 -1
  45. package/es/src/basic/index.d.ts +3 -3
  46. package/es/src/config-provider/config-provider.d.ts +2 -2
  47. package/es/src/config-provider/index.d.ts +6 -6
  48. package/es/src/design-token/index.d.ts +4 -0
  49. package/es/src/design-token/index.mjs +59 -0
  50. package/es/src/hooks/useControllableValue.mjs +9 -9
  51. package/es/src/index.d.ts +2 -0
  52. package/es/src/index.mjs +104 -83
  53. package/es/src/modal/basic.vue.d.ts +1 -1
  54. package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
  55. package/es/src/modal/components/modal.d.ts +1 -1
  56. package/es/src/modal/index.d.ts +3 -3
  57. package/es/src/modal/style/index.css +2 -2
  58. package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  59. package/es/src/pro-form/hooks/use-form-events.mjs +22 -22
  60. package/es/src/pro-form/hooks/use-form-values.mjs +12 -12
  61. package/es/src/pro-form/hooks/use-label-width.d.ts +3 -3
  62. package/es/src/pro-form/pro-form.vue.mjs +23 -23
  63. package/es/src/pro-table/hooks/use-columns.mjs +24 -24
  64. package/es/src/theme/ap-field/number.css +6 -0
  65. package/es/src/theme/ap-field/text-area.css +5 -0
  66. package/es/src/theme/modal/index.css +2 -2
  67. package/es/src/type.d.ts +3 -1
  68. package/es/src/utils/index.d.ts +7 -0
  69. package/lib/index.js +1 -1
  70. package/lib/src/ap-field/checkbox/helper.js +1 -0
  71. package/lib/src/ap-field/checkbox/index.vue.d.ts +39 -0
  72. package/lib/src/ap-field/checkbox/index.vue.js +1 -0
  73. package/lib/src/ap-field/checkbox/index.vue2.js +1 -0
  74. package/lib/src/ap-field/date/constant.d.ts +11 -1
  75. package/lib/src/ap-field/date/constant.js +1 -0
  76. package/lib/src/ap-field/date/helper.d.ts +5 -0
  77. package/lib/src/ap-field/date/helper.js +1 -0
  78. package/lib/src/ap-field/date/index.vue.d.ts +57 -0
  79. package/lib/src/ap-field/date/index.vue.js +1 -0
  80. package/lib/src/ap-field/date/index.vue2.js +1 -0
  81. package/lib/src/ap-field/date/interface.d.ts +1 -0
  82. package/lib/src/ap-field/date-range/index.vue.d.ts +59 -0
  83. package/lib/src/ap-field/date-range/index.vue.js +1 -0
  84. package/lib/src/ap-field/date-range/index.vue2.js +1 -0
  85. package/lib/src/ap-field/index.d.ts +9 -2
  86. package/lib/src/ap-field/interface.d.ts +66 -7
  87. package/lib/src/ap-field/number/helper.d.ts +1 -0
  88. package/lib/src/ap-field/number/helper.js +1 -0
  89. package/lib/src/ap-field/number/index.vue.d.ts +72 -0
  90. package/lib/src/ap-field/number/index.vue.js +1 -0
  91. package/lib/src/ap-field/number/index.vue2.js +1 -0
  92. package/lib/src/ap-field/number/style.css +6 -0
  93. package/lib/src/ap-field/radio/helper.d.ts +4 -0
  94. package/lib/src/ap-field/radio/helper.js +1 -0
  95. package/lib/src/ap-field/radio/index.vue.d.ts +40 -0
  96. package/lib/src/ap-field/radio/index.vue.js +1 -0
  97. package/lib/src/ap-field/radio/index.vue2.js +1 -0
  98. package/lib/src/ap-field/select/index.vue.d.ts +235 -0
  99. package/lib/src/ap-field/select/index.vue.js +1 -0
  100. package/lib/src/ap-field/select/index.vue2.js +1 -0
  101. package/lib/src/ap-field/switch/index.vue.d.ts +54 -0
  102. package/lib/src/ap-field/switch/index.vue.js +1 -0
  103. package/lib/src/ap-field/switch/index.vue2.js +1 -0
  104. package/lib/src/ap-field/text/index.vue.d.ts +63 -0
  105. package/lib/src/ap-field/text/index.vue.js +1 -0
  106. package/lib/src/ap-field/text/index.vue2.js +1 -0
  107. package/lib/src/ap-field/text-area/index.vue.d.ts +49 -0
  108. package/lib/src/ap-field/text-area/index.vue.js +1 -0
  109. package/lib/src/ap-field/text-area/index.vue2.js +1 -0
  110. package/lib/src/ap-field/text-area/style.css +5 -0
  111. package/lib/src/ap-form/index.d.ts +12 -12
  112. package/lib/src/basic/help.vue.d.ts +1 -1
  113. package/lib/src/basic/index.d.ts +3 -3
  114. package/lib/src/config-provider/config-provider.d.ts +2 -2
  115. package/lib/src/config-provider/index.d.ts +6 -6
  116. package/lib/src/design-token/index.d.ts +4 -0
  117. package/lib/src/design-token/index.js +1 -0
  118. package/lib/src/hooks/useControllableValue.js +1 -1
  119. package/lib/src/index.d.ts +2 -0
  120. package/lib/src/index.js +1 -1
  121. package/lib/src/modal/basic.vue.d.ts +1 -1
  122. package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
  123. package/lib/src/modal/components/modal.d.ts +1 -1
  124. package/lib/src/modal/index.d.ts +3 -3
  125. package/lib/src/modal/style/index.css +2 -2
  126. package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  127. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  128. package/lib/src/pro-form/hooks/use-form-values.js +1 -1
  129. package/lib/src/pro-form/hooks/use-label-width.d.ts +3 -3
  130. package/lib/src/pro-form/pro-form.vue.js +1 -1
  131. package/lib/src/pro-table/hooks/use-columns.js +1 -1
  132. package/lib/src/theme/ap-field/number.css +6 -0
  133. package/lib/src/theme/ap-field/text-area.css +5 -0
  134. package/lib/src/theme/modal/index.css +2 -2
  135. package/lib/src/type.d.ts +3 -1
  136. package/lib/src/utils/index.d.ts +7 -0
  137. package/package.json +3 -3
package/es/src/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import { Icon as r, SvgIcon as t } from "./icon/index.mjs";
2
2
  import { APConfigProvider as p } from "./config-provider/index.mjs";
3
- import { Scrollbar as f } from "./scroll-bar/index.mjs";
4
- import { CollapseContainer as l, ScrollContainer as m } from "./container/index.mjs";
5
- import { IconPicker as x } from "./icon-picker/index.mjs";
3
+ import { Scrollbar as l } from "./scroll-bar/index.mjs";
4
+ import { CollapseContainer as n, ScrollContainer as m } from "./container/index.mjs";
5
+ import { IconPicker as d } from "./icon-picker/index.mjs";
6
6
  import { default as u } from "./locale/lang/zh-cn.mjs";
7
7
  import { default as T } from "./locale/lang/en.mjs";
8
- import { BasicArrow as S, BasicHelp as A, BasicTitle as v } from "./basic/index.mjs";
9
- import { ExpandTransition as g, ExpandXTransition as P, FadeTransition as B, ScaleRotateTransition as I, ScaleTransition as F, ScrollXReverseTransition as R, ScrollXTransition as G, ScrollYReverseTransition as M, ScrollYTransition as D, SlideXReverseTransition as X, SlideXTransition as h, SlideYReverseTransition as w, SlideYTransition as y } from "./transition/index.mjs";
10
- import { Description as E } from "./description/index.mjs";
11
- import { Field as N } from "./pro-form/index.mjs";
8
+ import { BasicArrow as C, BasicHelp as S, BasicTitle as F } from "./basic/index.mjs";
9
+ import { ExpandTransition as g, ExpandXTransition as v, FadeTransition as P, ScaleRotateTransition as B, ScaleTransition as I, ScrollXReverseTransition as R, ScrollXTransition as D, ScrollYReverseTransition as h, ScrollYTransition as G, SlideXReverseTransition as M, SlideXTransition as k, SlideYReverseTransition as w, SlideYTransition as X } from "./transition/index.mjs";
10
+ import { Description as N } from "./description/index.mjs";
11
+ import { Field as E } from "./pro-form/index.mjs";
12
12
  import { BaseButton as H } from "./base-button/index.mjs";
13
13
  import { StrengthMeter as z } from "./strength-meter/index.mjs";
14
14
  import { BaseModal as j } from "./modal/index.mjs";
@@ -18,109 +18,130 @@ import { createPrompt as _ } from "./prompt/index.mjs";
18
18
  import { Dropdown as oo } from "./dropdown/index.mjs";
19
19
  import { default as ro } from "./pro-table/pro-table.vue.mjs";
20
20
  import { default as ao } from "./pro-table/components/table-action.vue.mjs";
21
- import { default as no } from "./pro-table/components/edit-table-header-icon.vue.mjs";
21
+ import { default as fo } from "./pro-table/components/edit-table-header-icon.vue.mjs";
22
22
  import { default as io } from "./pro-table/components/table-image.vue.mjs";
23
23
  import { useTable as mo } from "./pro-table/hooks/use-table.mjs";
24
24
  import { ApForm as xo, ApFormItem as uo, ApFormItemGroup as co } from "./ap-form/index.mjs";
25
- import { default as Co } from "./pro-form/pro-form.vue.mjs";
26
- import { default as Ao } from "./base-button/modal-button.vue.mjs";
27
- import { default as bo } from "./base-button/pop-confirm-button.vue.mjs";
28
- import { configProviderProps as Po } from "./config-provider/config-provider-props.mjs";
29
- import { configProviderContextKey as Io, tableDefaultConfig as Fo } from "./config-provider/constants.mjs";
30
- import { keysOf as Go, provideGlobalConfig as Mo, useGlobalConfig as Do } from "./config-provider/hooks/use-global-config.mjs";
31
- import { buildLocaleContext as ho, buildTranslator as wo, localeContextKey as yo, translate as Yo, useLocale as Eo } from "./config-provider/hooks/use-locale.mjs";
32
- import { defaultNamespace as No, namespaceContextKey as ko, useGetDerivedNamespace as Ho, useNamespace as Lo } from "./config-provider/hooks/use-namespace.mjs";
33
- import { ConfigProvider as Oo } from "./config-provider/config-provider.mjs";
34
- import { default as qo } from "./transition/collapse-transition.vue.mjs";
35
- import { useDescription as Qo } from "./description/use-description.mjs";
36
- import { useForm as Vo } from "./pro-form/hooks/use-form.mjs";
37
- import { isComponentFormSchema as Zo, isSlotFormSchema as _o } from "./pro-form/types/form.mjs";
38
- import { default as oe } from "./pro-form/components/api-cascader.vue.mjs";
39
- import { default as re } from "./pro-form/components/api-radio-group.vue.mjs";
40
- import { default as ae } from "./pro-form/components/api-select.vue.mjs";
41
- import { default as ne } from "./pro-form/components/api-transfer.vue.mjs";
42
- import { default as ie } from "./pro-form/components/api-tree.vue.mjs";
43
- import { default as me } from "./pro-form/components/radio-button-group.vue.mjs";
44
- import { default as xe } from "./pro-form/components/api-tree-select.vue.mjs";
45
- import { useModalContext as ue } from "./modal/hooks/use-modal-context.mjs";
46
- import { useModal as Te, useModalInner as Ce } from "./modal/hooks/use-modal.mjs";
25
+ import { default as Ao } from "./ap-field/text/index.vue.mjs";
26
+ import { default as So } from "./ap-field/checkbox/index.vue.mjs";
27
+ import { default as bo } from "./ap-field/date/index.vue.mjs";
28
+ import { default as vo } from "./ap-field/number/index.vue.mjs";
29
+ import { default as Bo } from "./ap-field/radio/index.vue.mjs";
30
+ import { default as Ro } from "./ap-field/switch/index.vue.mjs";
31
+ import { default as ho } from "./ap-field/text-area/index.vue.mjs";
32
+ import { default as Mo } from "./ap-field/date-range/index.vue.mjs";
33
+ import { default as wo } from "./ap-field/select/index.vue.mjs";
34
+ import { adminToken as yo, aplusToken as No } from "./design-token/index.mjs";
35
+ import { default as Eo } from "./pro-form/pro-form.vue.mjs";
36
+ import { default as Ho } from "./base-button/modal-button.vue.mjs";
37
+ import { default as zo } from "./base-button/pop-confirm-button.vue.mjs";
38
+ import { configProviderProps as jo } from "./config-provider/config-provider-props.mjs";
39
+ import { configProviderContextKey as Jo, tableDefaultConfig as Qo } from "./config-provider/constants.mjs";
40
+ import { keysOf as Vo, provideGlobalConfig as Wo, useGlobalConfig as Zo } from "./config-provider/hooks/use-global-config.mjs";
41
+ import { buildLocaleContext as $o, buildTranslator as oe, localeContextKey as ee, translate as re, useLocale as te } from "./config-provider/hooks/use-locale.mjs";
42
+ import { defaultNamespace as pe, namespaceContextKey as fe, useGetDerivedNamespace as le, useNamespace as ie } from "./config-provider/hooks/use-namespace.mjs";
43
+ import { ConfigProvider as me } from "./config-provider/config-provider.mjs";
44
+ import { default as de } from "./transition/collapse-transition.vue.mjs";
45
+ import { useDescription as ue } from "./description/use-description.mjs";
46
+ import { useForm as Te } from "./pro-form/hooks/use-form.mjs";
47
+ import { isComponentFormSchema as Ce, isSlotFormSchema as Se } from "./pro-form/types/form.mjs";
48
+ import { default as be } from "./pro-form/components/api-cascader.vue.mjs";
49
+ import { default as ve } from "./pro-form/components/api-radio-group.vue.mjs";
50
+ import { default as Be } from "./pro-form/components/api-select.vue.mjs";
51
+ import { default as Re } from "./pro-form/components/api-transfer.vue.mjs";
52
+ import { default as he } from "./pro-form/components/api-tree.vue.mjs";
53
+ import { default as Me } from "./pro-form/components/radio-button-group.vue.mjs";
54
+ import { default as we } from "./pro-form/components/api-tree-select.vue.mjs";
55
+ import { useModalContext as ye } from "./modal/hooks/use-modal-context.mjs";
56
+ import { useModal as Ye, useModalInner as Ee } from "./modal/hooks/use-modal.mjs";
47
57
  export {
48
58
  p as APConfigProvider,
59
+ So as ApFieldCheckbox,
60
+ bo as ApFieldDate,
61
+ Mo as ApFieldDateRange,
62
+ vo as ApFieldNumber,
63
+ Bo as ApFieldRadio,
64
+ wo as ApFieldSelect,
65
+ Ro as ApFieldSwitch,
66
+ Ao as ApFieldText,
67
+ ho as ApFieldTextArea,
49
68
  xo as ApForm,
50
69
  uo as ApFormItem,
51
70
  co as ApFormItemGroup,
52
- oe as ApiCascader,
53
- re as ApiRadioGroup,
54
- ae as ApiSelect,
55
- ne as ApiTransfer,
56
- ie as ApiTree,
57
- xe as ApiTreeSelect,
71
+ be as ApiCascader,
72
+ ve as ApiRadioGroup,
73
+ Be as ApiSelect,
74
+ Re as ApiTransfer,
75
+ he as ApiTree,
76
+ we as ApiTreeSelect,
58
77
  H as BaseButton,
59
78
  j as BaseModal,
60
- S as BasicArrow,
61
- A as BasicHelp,
62
- v as BasicTitle,
63
- l as CollapseContainer,
64
- qo as CollapseTransition,
65
- Oo as ConfigProvider,
79
+ C as BasicArrow,
80
+ S as BasicHelp,
81
+ F as BasicTitle,
82
+ n as CollapseContainer,
83
+ de as CollapseTransition,
84
+ me as ConfigProvider,
66
85
  V as CountdownButton,
67
86
  W as CountdownInput,
68
87
  J as CropperAvatar,
69
88
  Q as CropperImage,
70
- E as Description,
89
+ N as Description,
71
90
  oo as Dropdown,
72
- no as EditTableHeaderIcon,
91
+ fo as EditTableHeaderIcon,
73
92
  g as ExpandTransition,
74
- P as ExpandXTransition,
75
- B as FadeTransition,
76
- N as Field,
93
+ v as ExpandXTransition,
94
+ P as FadeTransition,
95
+ E as Field,
77
96
  r as Icon,
78
- x as IconPicker,
79
- Ao as ModalButton,
80
- bo as PopConfirmButton,
81
- Co as ProForm,
97
+ d as IconPicker,
98
+ Ho as ModalButton,
99
+ zo as PopConfirmButton,
100
+ Eo as ProForm,
82
101
  ro as ProTable,
83
- me as RadioButtonGroup,
84
- I as ScaleRotateTransition,
85
- F as ScaleTransition,
102
+ Me as RadioButtonGroup,
103
+ B as ScaleRotateTransition,
104
+ I as ScaleTransition,
86
105
  m as ScrollContainer,
87
106
  R as ScrollXReverseTransition,
88
- G as ScrollXTransition,
89
- M as ScrollYReverseTransition,
90
- D as ScrollYTransition,
91
- f as Scrollbar,
92
- X as SlideXReverseTransition,
93
- h as SlideXTransition,
107
+ D as ScrollXTransition,
108
+ h as ScrollYReverseTransition,
109
+ G as ScrollYTransition,
110
+ l as Scrollbar,
111
+ M as SlideXReverseTransition,
112
+ k as SlideXTransition,
94
113
  w as SlideYReverseTransition,
95
- y as SlideYTransition,
114
+ X as SlideYTransition,
96
115
  z as StrengthMeter,
97
116
  t as SvgIcon,
98
117
  ao as TableAction,
99
118
  io as TableImg,
100
- ho as buildLocaleContext,
101
- wo as buildTranslator,
102
- Io as configProviderContextKey,
103
- Po as configProviderProps,
119
+ yo as adminToken,
120
+ No as aplusToken,
121
+ $o as buildLocaleContext,
122
+ oe as buildTranslator,
123
+ Jo as configProviderContextKey,
124
+ jo as configProviderProps,
104
125
  _ as createPrompt,
105
- No as defaultNamespace,
126
+ pe as defaultNamespace,
106
127
  T as en,
107
- Zo as isComponentFormSchema,
108
- _o as isSlotFormSchema,
109
- Go as keysOf,
110
- yo as localeContextKey,
111
- ko as namespaceContextKey,
112
- Mo as provideGlobalConfig,
113
- Fo as tableDefaultConfig,
114
- Yo as translate,
115
- Qo as useDescription,
116
- Vo as useForm,
117
- Ho as useGetDerivedNamespace,
118
- Do as useGlobalConfig,
119
- Eo as useLocale,
120
- Te as useModal,
121
- ue as useModalContext,
122
- Ce as useModalInner,
123
- Lo as useNamespace,
128
+ Ce as isComponentFormSchema,
129
+ Se as isSlotFormSchema,
130
+ Vo as keysOf,
131
+ ee as localeContextKey,
132
+ fe as namespaceContextKey,
133
+ Wo as provideGlobalConfig,
134
+ Qo as tableDefaultConfig,
135
+ re as translate,
136
+ ue as useDescription,
137
+ Te as useForm,
138
+ le as useGetDerivedNamespace,
139
+ Zo as useGlobalConfig,
140
+ te as useLocale,
141
+ Ye as useModal,
142
+ ye as useModalContext,
143
+ Ee as useModalInner,
144
+ ie as useNamespace,
124
145
  mo as useTable,
125
146
  u as zhCn
126
147
  };
@@ -437,12 +437,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
437
437
  }, {
438
438
  loading: boolean;
439
439
  open: boolean;
440
+ keyboard: boolean;
440
441
  mask: boolean;
441
442
  closable: boolean;
442
443
  centered: boolean;
443
444
  okType: "danger" | ButtonType;
444
445
  maskClosable: boolean;
445
- keyboard: boolean;
446
446
  confirmLoading: boolean;
447
447
  destroyOnClose: boolean;
448
448
  draggable: boolean;
@@ -428,12 +428,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
428
428
  }, {
429
429
  loading: boolean;
430
430
  open: boolean;
431
+ keyboard: boolean;
431
432
  mask: boolean;
432
433
  closable: boolean;
433
434
  centered: boolean;
434
435
  okType: "danger" | ButtonType;
435
436
  maskClosable: boolean;
436
- keyboard: boolean;
437
437
  confirmLoading: boolean;
438
438
  destroyOnClose: boolean;
439
439
  draggable: boolean;
@@ -423,12 +423,12 @@ declare const _default: DefineComponent<{
423
423
  }, {
424
424
  loading: boolean;
425
425
  open: boolean;
426
+ keyboard: boolean;
426
427
  mask: boolean;
427
428
  closable: boolean;
428
429
  centered: boolean;
429
430
  okType: "danger" | ButtonType;
430
431
  maskClosable: boolean;
431
- keyboard: boolean;
432
432
  confirmLoading: boolean;
433
433
  destroyOnClose: boolean;
434
434
  draggable: boolean;
@@ -447,12 +447,12 @@ export declare const BaseModal: {
447
447
  }, {
448
448
  loading: boolean;
449
449
  open: boolean;
450
+ keyboard: boolean;
450
451
  mask: boolean;
451
452
  closable: boolean;
452
453
  centered: boolean;
453
454
  okType: "danger" | ButtonType;
454
455
  maskClosable: boolean;
455
- keyboard: boolean;
456
456
  confirmLoading: boolean;
457
457
  destroyOnClose: boolean;
458
458
  draggable: boolean;
@@ -688,12 +688,12 @@ export declare const BaseModal: {
688
688
  }, {}, {}, {}, {}, {
689
689
  loading: boolean;
690
690
  open: boolean;
691
+ keyboard: boolean;
691
692
  mask: boolean;
692
693
  closable: boolean;
693
694
  centered: boolean;
694
695
  okType: "danger" | ButtonType;
695
696
  maskClosable: boolean;
696
- keyboard: boolean;
697
697
  confirmLoading: boolean;
698
698
  destroyOnClose: boolean;
699
699
  draggable: boolean;
@@ -934,12 +934,12 @@ export declare const BaseModal: {
934
934
  }, string, {
935
935
  loading: boolean;
936
936
  open: boolean;
937
+ keyboard: boolean;
937
938
  mask: boolean;
938
939
  closable: boolean;
939
940
  centered: boolean;
940
941
  okType: "danger" | ButtonType;
941
942
  maskClosable: boolean;
942
- keyboard: boolean;
943
943
  confirmLoading: boolean;
944
944
  destroyOnClose: boolean;
945
945
  draggable: boolean;
@@ -18,7 +18,7 @@
18
18
  width: 520px;
19
19
  padding-bottom: 0;
20
20
  }
21
- .ant-modal .ant-modal-body > .scrollbar {
21
+ .ant-modal .ant-modal-body > .aplus-scrollbar {
22
22
  padding: 14px;
23
23
  }
24
24
  .ant-modal-title {
@@ -31,7 +31,7 @@
31
31
  .ant-modal .ant-modal-body {
32
32
  padding: 0;
33
33
  }
34
- .ant-modal .ant-modal-body > .scrollbar > .scrollbar__bar.is-horizontal {
34
+ .ant-modal .ant-modal-body > .aplus-scrollbar > .aplus-scrollbar__bar.is-horizontal {
35
35
  display: none;
36
36
  }
37
37
  .ant-modal-large {
@@ -27,12 +27,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
27
27
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
29
  disabled: boolean;
30
+ showSearch: boolean;
30
31
  immediate: boolean;
31
32
  resultField: string;
32
33
  labelField: string;
33
34
  valueField: string;
34
35
  alwaysLoad: boolean;
35
- showSearch: boolean;
36
36
  showSelectAll: boolean;
37
37
  }, {}>;
38
38
  export default _default;
@@ -1,5 +1,5 @@
1
- import { unref as o, nextTick as tt, toRaw as H } from "vue";
2
- import { isFunction as J, get as nt, cloneDeep as I, isString as D, isObject as A, isArray as T, uniqBy as et, isNil as Q, set as Y } from "lodash-unified";
1
+ import { unref as o, nextTick as tt, toRaw as J } from "vue";
2
+ import { isFunction as Q, get as nt, cloneDeep as I, isString as D, isObject as A, isArray as T, uniqBy as et, isNil as U, set as Y } from "lodash-unified";
3
3
  import { isDef as W } from "../../utils/index.mjs";
4
4
  import { deepMerge as it } from "@aplus-frontend/utils";
5
5
  import { handleInputNumberValue as ot, isIncludeSimpleComponents as B, dateItemType as ct, defaultValueComponents as rt } from "../helper.mjs";
@@ -46,12 +46,12 @@ function bt({
46
46
  }) {
47
47
  async function x() {
48
48
  const { resetFunc: t, submitOnReset: n } = o(F);
49
- t && J(t) && await t(), o(f) && (Object.keys(u).forEach((e) => {
49
+ t && Q(t) && await t(), o(f) && (Object.keys(u).forEach((e) => {
50
50
  const l = o(s).find((a) => a.field === e), i = l == null ? void 0 : l.defaultValueObj, p = Object.keys(i || {});
51
51
  p.length && p.map((a) => {
52
52
  u[a] = i[a];
53
53
  }), u[e] = ut(l, y, e);
54
- }), tt(() => S()), r("reset", H(u)), n && j());
54
+ }), tt(() => j()), r("reset", J(u)), n && S());
55
55
  }
56
56
  const C = () => o(s).map((t) => [...t.fields || [], t.field]).flat(1).filter(Boolean);
57
57
  async function V(t) {
@@ -65,15 +65,15 @@ function bt({
65
65
  let a = nt(t, i);
66
66
  const R = Reflect.has(t, i);
67
67
  a = ot(p == null ? void 0 : p.component, a);
68
- const { componentProps: z } = p || {};
69
- let h = z;
70
- typeof z == "function" && (h = h({
68
+ const { componentProps: G } = p || {};
69
+ let h = G;
70
+ typeof G == "function" && (h = h({
71
71
  formModel: o(u),
72
72
  formActionType: k
73
73
  }));
74
- const G = st(i, t) || lt(i, t);
75
- if (R || G) {
76
- const d = G || a;
74
+ const H = st(i, t) || lt(i, t);
75
+ if (R || H) {
76
+ const d = H || a;
77
77
  if (_(i))
78
78
  if (Array.isArray(d)) {
79
79
  const b = [];
@@ -157,11 +157,11 @@ function bt({
157
157
  A(t) && n.push(t), T(t) && (n = [...t]);
158
158
  const c = {}, e = E();
159
159
  n.forEach((l) => {
160
- !B(l.component) && Reflect.has(l, "field") && l.field && !Q(l.defaultValue) && (!(l.field in e) || Q(e[l.field])) && (c[l.field] = l.defaultValue);
160
+ !B(l.component) && Reflect.has(l, "field") && l.field && !U(l.defaultValue) && (!(l.field in e) || U(e[l.field])) && (c[l.field] = l.defaultValue);
161
161
  }), V(c);
162
162
  }
163
163
  function E() {
164
- return o(f) ? w(H(o(u))) : {};
164
+ return o(f) ? w(J(o(u))) : {};
165
165
  }
166
166
  function _(t) {
167
167
  return o(s).some((n) => n.field === t && n.component ? ct.includes(n.component) : !1);
@@ -182,18 +182,18 @@ function bt({
182
182
  const c = await ((e = o(f)) == null ? void 0 : e.validate(n));
183
183
  return w(c);
184
184
  }
185
- async function S(t) {
185
+ async function j(t) {
186
186
  var n;
187
187
  await ((n = o(f)) == null ? void 0 : n.clearValidate(t));
188
188
  }
189
- async function U(t, n) {
189
+ async function z(t, n) {
190
190
  var c;
191
191
  await ((c = o(f)) == null ? void 0 : c.scrollToField(t, n));
192
192
  }
193
- async function j(t) {
193
+ async function S(t) {
194
194
  t && t.preventDefault();
195
195
  const { submitFunc: n } = o(F);
196
- if (n && J(n)) {
196
+ if (n && Q(n)) {
197
197
  await n();
198
198
  return;
199
199
  }
@@ -216,15 +216,15 @@ function bt({
216
216
  setProps: K,
217
217
  removeSchemaByField: P,
218
218
  appendSchemaByField: N,
219
- clearValidate: S,
219
+ clearValidate: j,
220
220
  validateFields: O,
221
221
  validate: g,
222
- submit: j,
223
- scrollToField: U
222
+ submit: S,
223
+ scrollToField: z
224
224
  };
225
225
  return {
226
- handleSubmit: j,
227
- clearValidate: S,
226
+ handleSubmit: S,
227
+ clearValidate: j,
228
228
  validate: g,
229
229
  validateFields: O,
230
230
  getFieldsValue: E,
@@ -234,7 +234,7 @@ function bt({
234
234
  removeSchemaByField: P,
235
235
  resetFields: x,
236
236
  setFieldsValue: V,
237
- scrollToField: U
237
+ scrollToField: z
238
238
  };
239
239
  }
240
240
  function ut(r, F, u) {
@@ -1,6 +1,6 @@
1
- import { isObject as O, isArray as D, isFunction as x, isString as F, set as T, get as V, unset as g, isNil as b, isEmpty as E, cloneDeep as K } from "lodash-unified";
2
- import j from "dayjs";
3
- import { unref as l } from "vue";
1
+ import { isObject as l, isArray as D, isFunction as x, isString as F, set as T, get as V, unset as g, isNil as j, isEmpty as E, cloneDeep as K } from "lodash-unified";
2
+ import b from "dayjs";
3
+ import { unref as O } from "vue";
4
4
  function S(y, o, m) {
5
5
  const u = /^\[(.+)\]$/;
6
6
  if (u.test(y)) {
@@ -19,7 +19,7 @@ function $(y, o, m) {
19
19
  const f = y.match(u);
20
20
  if (f && f[1]) {
21
21
  const h = f[1].split(",");
22
- return o = O(o) ? o : {}, h.forEach((p) => {
22
+ return o = l(o) ? o : {}, h.forEach((p) => {
23
23
  T(m, p.trim(), o[p.trim()]);
24
24
  }), !0;
25
25
  }
@@ -33,7 +33,7 @@ function R({
33
33
  }) {
34
34
  function f(i) {
35
35
  var e, s;
36
- if (!O(i))
36
+ if (!l(i))
37
37
  return {};
38
38
  const r = {};
39
39
  for (const a of Object.entries(i)) {
@@ -41,13 +41,13 @@ function R({
41
41
  const [n] = a;
42
42
  if (!n || D(t) && t.length === 0 || x(t))
43
43
  continue;
44
- const c = l(u).transformDateFunc;
45
- O(t) && (t = c == null ? void 0 : c(t)), D(t) && ((e = t[0]) != null && e.format) && ((s = t[1]) != null && s.format) && (t = t.map((A) => c == null ? void 0 : c(A))), F(t) && (t = t.trim()), !S(n, t, r) && !$(n, t, r) && T(r, n, t);
44
+ const c = O(u).transformDateFunc;
45
+ l(t) && (t = c == null ? void 0 : c(t)), D(t) && ((e = t[0]) != null && e.format) && ((s = t[1]) != null && s.format) && (t = t.map((A) => c == null ? void 0 : c(A))), F(t) && (t = t.trim()), !S(n, t, r) && !$(n, t, r) && T(r, n, t);
46
46
  }
47
47
  return h(r);
48
48
  }
49
49
  function h(i) {
50
- const r = l(u).fieldMapToTime;
50
+ const r = O(u).fieldMapToTime;
51
51
  if (!r || !Array.isArray(r))
52
52
  return i;
53
53
  for (const [
@@ -62,20 +62,20 @@ function R({
62
62
  continue;
63
63
  }
64
64
  const [n, c] = V(i, e), [A, Y] = Array.isArray(t) ? t : [t, t];
65
- !b(n) && !E(n) && T(i, s, p(n, A)), !b(c) && !E(c) && T(i, a, p(c, Y)), g(i, e);
65
+ !j(n) && !E(n) && T(i, s, p(n, A)), !j(c) && !E(c) && T(i, a, p(c, Y)), g(i, e);
66
66
  }
67
67
  return i;
68
68
  }
69
69
  function p(i, r) {
70
- return r === "timestamp" ? j(i).unix() : r === "timestampStartDay" ? j(i).startOf("day").unix() : j(i).format(r);
70
+ return r === "timestamp" ? b(i).unix() : r === "timestampStartDay" ? b(i).startOf("day").unix() : b(i).format(r);
71
71
  }
72
72
  function d() {
73
- const i = l(o), r = {};
73
+ const i = O(o), r = {};
74
74
  i.forEach((e) => {
75
75
  const { defaultValue: s, defaultValueObj: a } = e, t = Object.keys(a || {});
76
76
  t.length && t.map((n) => {
77
77
  r[n] = a[n], m[n] === void 0 && (m[n] = a[n]);
78
- }), b(s) || (r[e.field] = s, m[e.field] === void 0 && (m[e.field] = s));
78
+ }), j(s) || (r[e.field] = s, m[e.field] === void 0 && (m[e.field] = s));
79
79
  }), y.value = K(r);
80
80
  }
81
81
  return { handleFormValues: f, initDefault: d };
@@ -96,10 +96,10 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
96
96
  offset: string | number;
97
97
  } | ColSize | undefined;
98
98
  prefixCls?: string | undefined;
99
+ order?: (string | number) | undefined;
99
100
  span?: (string | number) | undefined;
100
101
  push?: (string | number) | undefined;
101
102
  flex?: (string | number) | undefined;
102
- order?: (string | number) | undefined;
103
103
  offset?: (string | number) | undefined;
104
104
  pull?: (string | number) | undefined;
105
105
  innerHTML?: string | undefined;
@@ -152,7 +152,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
152
152
  'aria-colindex'?: (string | number) | undefined;
153
153
  'aria-colspan'?: (string | number) | undefined;
154
154
  'aria-controls'?: string | undefined;
155
- 'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
155
+ 'aria-current'?: "time" | "date" | "step" | (boolean | "true" | "false") | "page" | "location" | undefined;
156
156
  'aria-describedby'?: string | undefined;
157
157
  'aria-details'?: string | undefined;
158
158
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -301,10 +301,10 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
301
301
  offset: string | number;
302
302
  } | ColSize | undefined;
303
303
  prefixCls?: string | undefined;
304
+ order?: (string | number) | undefined;
304
305
  span?: (string | number) | undefined;
305
306
  push?: (string | number) | undefined;
306
307
  flex?: (string | number) | undefined;
307
- order?: (string | number) | undefined;
308
308
  offset?: (string | number) | undefined;
309
309
  pull?: (string | number) | undefined;
310
310
  style: any;