@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.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.
- package/es/index.mjs +124 -118
- package/es/src/ap-field/checkbox/helper.d.ts +6 -0
- package/es/src/ap-field/date/constant.d.ts +1 -0
- package/es/src/ap-field/index.d.ts +5 -0
- package/es/src/ap-field/interface.d.ts +29 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +14 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +58 -0
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +76 -0
- package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.d.ts +1681 -0
- package/es/src/ap-form/ap-form.mjs +5 -0
- package/es/src/ap-form/constant.d.ts +3 -0
- package/es/src/ap-form/constant.mjs +17 -0
- package/es/src/ap-form/index.d.ts +2593 -0
- package/es/src/ap-form/index.mjs +10 -0
- package/es/src/ap-form/interface.d.ts +7 -0
- package/es/src/ap-form/style/ap-form-item-group.css +9 -0
- package/es/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +53 -48
- package/es/src/base-button/modal-button.vue.d.ts +8 -6
- package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/es/src/basic/arrow.vue.d.ts +4 -3
- package/es/src/basic/help.vue.d.ts +6 -6
- package/es/src/basic/index.d.ts +196 -70
- package/es/src/basic/title.vue.d.ts +5 -4
- package/es/src/button/index.d.ts +20 -15
- package/es/src/config-provider/config-provider-props.d.ts +28 -16
- package/es/src/config-provider/config-provider-props.mjs +8 -4
- package/es/src/config-provider/config-provider.d.ts +92 -68
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +532 -156
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +4 -4
- package/es/src/container/index.d.ts +119 -38
- package/es/src/container/scroll-container.vue.d.ts +5 -4
- package/es/src/count-down/button.vue.d.ts +5 -4
- package/es/src/count-down/index.d.ts +88 -41
- package/es/src/count-down/input.vue.d.ts +5 -4
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/es/src/cropper/cropper-image.vue.d.ts +7 -7
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +308 -93
- package/es/src/description/description.vue.d.ts +6 -6
- package/es/src/description/index.d.ts +169 -48
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/useControllableValue.d.ts +13 -0
- package/es/src/hooks/useControllableValue.mjs +24 -0
- package/es/src/hooks/useMessage.d.ts +9 -7
- package/es/src/icon/icon.vue.d.ts +5 -4
- package/es/src/icon/index.d.ts +175 -52
- package/es/src/icon/svg-icon.vue.d.ts +5 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +9 -8
- package/es/src/icon-picker/index.d.ts +160 -51
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +79 -75
- package/es/src/modal/basic.vue.d.ts +70 -64
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/es/src/modal/components/modal.d.ts +69 -63
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +144 -134
- package/es/src/modal/props.d.ts +19 -16
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
- package/es/src/pro-form/components/api-select.vue.d.ts +8 -7
- package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +7 -6
- package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/es/src/pro-form/hooks/use-label-width.d.ts +51 -50
- package/es/src/pro-form/pro-form.vue.d.ts +16 -13
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/es/src/pro-table/components/editable/index.d.ts +2 -2
- package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/es/src/pro-table/const.d.ts +3 -0
- package/es/src/pro-table/const.mjs +10 -4
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/interface.d.ts +4 -0
- package/es/src/pro-table/pro-table.vue.d.ts +45 -36
- package/es/src/pro-table/pro-table.vue.mjs +221 -211
- package/es/src/pro-table/style/pro-table.css +10 -5
- package/es/src/prompt/dialog.vue.d.ts +4 -3
- package/es/src/prompt/index.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +4 -3
- package/es/src/scroll-bar/index.d.ts +52 -53
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/es/src/scroll-bar/scroll-bar.vue.mjs +44 -44
- package/es/src/strength-meter/index.d.ts +26 -21
- package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/es/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/es/src/theme/pro-table/pro-table.css +10 -5
- package/es/src/transition/collapse-transition.vue.d.ts +2 -1
- package/es/src/transition/create-transition.d.ts +5 -5
- package/es/src/transition/index.d.ts +97 -96
- package/es/src/utils/slot.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +6 -0
- package/lib/src/ap-field/date/constant.d.ts +1 -0
- package/lib/src/ap-field/index.d.ts +5 -0
- package/lib/src/ap-field/interface.d.ts +29 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/lib/src/ap-form/ap-form-item.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.d.ts +1681 -0
- package/lib/src/ap-form/ap-form.js +1 -0
- package/lib/src/ap-form/constant.d.ts +3 -0
- package/lib/src/ap-form/constant.js +1 -0
- package/lib/src/ap-form/index.d.ts +2593 -0
- package/lib/src/ap-form/index.js +1 -0
- package/lib/src/ap-form/interface.d.ts +7 -0
- package/lib/src/ap-form/style/ap-form-item-group.css +9 -0
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +53 -48
- package/lib/src/base-button/modal-button.vue.d.ts +8 -6
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/lib/src/basic/arrow.vue.d.ts +4 -3
- package/lib/src/basic/help.vue.d.ts +6 -6
- package/lib/src/basic/index.d.ts +196 -70
- package/lib/src/basic/title.vue.d.ts +5 -4
- package/lib/src/button/index.d.ts +20 -15
- package/lib/src/config-provider/config-provider-props.d.ts +28 -16
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +92 -68
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +532 -156
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +4 -4
- package/lib/src/container/index.d.ts +119 -38
- package/lib/src/container/scroll-container.vue.d.ts +5 -4
- package/lib/src/count-down/button.vue.d.ts +5 -4
- package/lib/src/count-down/index.d.ts +88 -41
- package/lib/src/count-down/input.vue.d.ts +5 -4
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/lib/src/cropper/cropper-image.vue.d.ts +7 -7
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +308 -93
- package/lib/src/description/description.vue.d.ts +6 -6
- package/lib/src/description/index.d.ts +169 -48
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/useControllableValue.d.ts +13 -0
- package/lib/src/hooks/useControllableValue.js +1 -0
- package/lib/src/hooks/useMessage.d.ts +9 -7
- package/lib/src/icon/icon.vue.d.ts +5 -4
- package/lib/src/icon/index.d.ts +175 -52
- package/lib/src/icon/svg-icon.vue.d.ts +5 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +9 -8
- package/lib/src/icon-picker/index.d.ts +160 -51
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +70 -64
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/lib/src/modal/components/modal.d.ts +69 -63
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +144 -134
- package/lib/src/modal/props.d.ts +19 -16
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
- package/lib/src/pro-form/components/api-select.vue.d.ts +8 -7
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +7 -6
- package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/lib/src/pro-form/hooks/use-label-width.d.ts +51 -50
- package/lib/src/pro-form/pro-form.vue.d.ts +16 -13
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/lib/src/pro-table/components/editable/index.d.ts +2 -2
- package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/lib/src/pro-table/const.d.ts +3 -0
- package/lib/src/pro-table/const.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/interface.d.ts +4 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +45 -36
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +10 -5
- package/lib/src/prompt/dialog.vue.d.ts +4 -3
- package/lib/src/prompt/index.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +4 -3
- package/lib/src/scroll-bar/index.d.ts +52 -53
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- package/lib/src/strength-meter/index.d.ts +26 -21
- package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/lib/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/lib/src/theme/pro-table/pro-table.css +10 -5
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
- package/lib/src/transition/create-transition.d.ts +5 -5
- package/lib/src/transition/index.d.ts +97 -96
- package/lib/src/utils/slot.d.ts +2 -2
- package/package.json +2 -2
- package/es/src/constants/component-setting.d.ts +0 -74
- package/es/src/constants/component-setting.mjs +0 -90
- package/lib/src/constants/component-setting.d.ts +0 -74
- package/lib/src/constants/component-setting.js +0 -1
package/es/index.mjs
CHANGED
|
@@ -1,50 +1,52 @@
|
|
|
1
1
|
import * as e from "./src/index.mjs";
|
|
2
|
-
import { useMessage as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { default as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as Xo } from "./src/pro-form/components/api-
|
|
28
|
-
import { default as wo } from "./src/pro-form/components/api-
|
|
29
|
-
import { default as Yo } from "./src/pro-form/components/
|
|
30
|
-
import { default as Ko } from "./src/pro-form/
|
|
31
|
-
import { default as ko } from "./src/pro-form/
|
|
32
|
-
import { default as Lo } from "./src/
|
|
33
|
-
import { default as Oo } from "./src/base-button/
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { default as ue } from "./src/pro-table/
|
|
45
|
-
import { default as Te } from "./src/pro-table/components/
|
|
46
|
-
import { default as Se } from "./src/pro-table/components/table-
|
|
2
|
+
import { useMessage as f } from "./src/hooks/useMessage.mjs";
|
|
3
|
+
import { useControllableValue as l } from "./src/hooks/useControllableValue.mjs";
|
|
4
|
+
import { Icon as m, SvgIcon as x } from "./src/icon/index.mjs";
|
|
5
|
+
import { configProviderProps as u } from "./src/config-provider/config-provider-props.mjs";
|
|
6
|
+
import { configProviderContextKey as T, tableDefaultConfig as C } from "./src/config-provider/constants.mjs";
|
|
7
|
+
import { keysOf as A, provideGlobalConfig as b, useGlobalConfig as g } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
8
|
+
import { buildLocaleContext as P, buildTranslator as B, localeContextKey as I, translate as F, useLocale as M } from "./src/config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { defaultNamespace as G, namespaceContextKey as D, useGetDerivedNamespace as X, useNamespace as h } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import { ConfigProvider as y } from "./src/config-provider/config-provider.mjs";
|
|
11
|
+
import { APConfigProvider as E } from "./src/config-provider/index.mjs";
|
|
12
|
+
import { Scrollbar as N } from "./src/scroll-bar/index.mjs";
|
|
13
|
+
import { CollapseContainer as H, ScrollContainer as L } from "./src/container/index.mjs";
|
|
14
|
+
import { IconPicker as O } from "./src/icon-picker/index.mjs";
|
|
15
|
+
import { default as $ } from "./src/locale/lang/zh-cn.mjs";
|
|
16
|
+
import { default as q } from "./src/locale/lang/en.mjs";
|
|
17
|
+
import { BasicArrow as Q, BasicHelp as U, BasicTitle as W } from "./src/basic/index.mjs";
|
|
18
|
+
import { default as _ } from "./src/transition/collapse-transition.vue.mjs";
|
|
19
|
+
import { ExpandTransition as eo, ExpandXTransition as ro, FadeTransition as to, ScaleRotateTransition as ao, ScaleTransition as no, ScrollXReverseTransition as po, ScrollXTransition as fo, ScrollYReverseTransition as io, ScrollYTransition as lo, SlideXReverseTransition as so, SlideXTransition as mo, SlideYReverseTransition as xo, SlideYTransition as uo } from "./src/transition/index.mjs";
|
|
20
|
+
import { useDescription as To } from "./src/description/use-description.mjs";
|
|
21
|
+
import { Description as So } from "./src/description/index.mjs";
|
|
22
|
+
import { useForm as bo } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
|
+
import { isComponentFormSchema as vo, isSlotFormSchema as Po } from "./src/pro-form/types/form.mjs";
|
|
24
|
+
import { Field as Io } from "./src/pro-form/index.mjs";
|
|
25
|
+
import { default as Mo } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
|
+
import { default as Go } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
+
import { default as Xo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
|
+
import { default as wo } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
|
+
import { default as Yo } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
|
+
import { default as Ko } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
31
|
+
import { default as ko } from "./src/pro-form/pro-form.vue.mjs";
|
|
32
|
+
import { default as Lo } from "./src/pro-form/components/api-tree-select.vue.mjs";
|
|
33
|
+
import { default as Oo } from "./src/base-button/modal-button.vue.mjs";
|
|
34
|
+
import { default as $o } from "./src/base-button/pop-confirm-button.vue.mjs";
|
|
35
|
+
import { BaseButton as qo } from "./src/base-button/index.mjs";
|
|
36
|
+
import { StrengthMeter as Qo } from "./src/strength-meter/index.mjs";
|
|
37
|
+
import { useModalContext as Wo } from "./src/modal/hooks/use-modal-context.mjs";
|
|
38
|
+
import { useModal as _o, useModalInner as oe } from "./src/modal/hooks/use-modal.mjs";
|
|
39
|
+
import { BaseModal as re } from "./src/modal/index.mjs";
|
|
40
|
+
import { CropperAvatar as ae, CropperImage as ne } from "./src/cropper/index.mjs";
|
|
41
|
+
import { CountdownButton as fe, CountdownInput as ie } from "./src/count-down/index.mjs";
|
|
42
|
+
import { createPrompt as se } from "./src/prompt/index.mjs";
|
|
43
|
+
import { Dropdown as xe } from "./src/dropdown/index.mjs";
|
|
44
|
+
import { default as ue } from "./src/pro-table/pro-table.vue.mjs";
|
|
45
|
+
import { default as Te } from "./src/pro-table/components/table-action.vue.mjs";
|
|
46
|
+
import { default as Se } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
47
|
+
import { default as be } from "./src/pro-table/components/table-image.vue.mjs";
|
|
47
48
|
import { useTable as ve } from "./src/pro-table/hooks/use-table.mjs";
|
|
49
|
+
import { ApForm as Be, ApFormItem as Ie, ApFormItemGroup as Fe } from "./src/ap-form/index.mjs";
|
|
48
50
|
const a = {
|
|
49
51
|
install: (r) => {
|
|
50
52
|
for (const t in e) {
|
|
@@ -54,81 +56,85 @@ const a = {
|
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
ao as
|
|
94
|
-
no as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
59
|
+
E as APConfigProvider,
|
|
60
|
+
Be as ApForm,
|
|
61
|
+
Ie as ApFormItem,
|
|
62
|
+
Fe as ApFormItemGroup,
|
|
63
|
+
Mo as ApiCascader,
|
|
64
|
+
Go as ApiRadioGroup,
|
|
65
|
+
Xo as ApiSelect,
|
|
66
|
+
wo as ApiTransfer,
|
|
67
|
+
Yo as ApiTree,
|
|
68
|
+
Lo as ApiTreeSelect,
|
|
69
|
+
qo as BaseButton,
|
|
70
|
+
re as BaseModal,
|
|
71
|
+
Q as BasicArrow,
|
|
72
|
+
U as BasicHelp,
|
|
73
|
+
W as BasicTitle,
|
|
74
|
+
H as CollapseContainer,
|
|
75
|
+
_ as CollapseTransition,
|
|
76
|
+
y as ConfigProvider,
|
|
77
|
+
fe as CountdownButton,
|
|
78
|
+
ie as CountdownInput,
|
|
79
|
+
ae as CropperAvatar,
|
|
80
|
+
ne as CropperImage,
|
|
81
|
+
So as Description,
|
|
82
|
+
xe as Dropdown,
|
|
83
|
+
Se as EditTableHeaderIcon,
|
|
84
|
+
eo as ExpandTransition,
|
|
85
|
+
ro as ExpandXTransition,
|
|
86
|
+
to as FadeTransition,
|
|
87
|
+
Io as Field,
|
|
88
|
+
m as Icon,
|
|
89
|
+
O as IconPicker,
|
|
90
|
+
Oo as ModalButton,
|
|
91
|
+
$o as PopConfirmButton,
|
|
92
|
+
ko as ProForm,
|
|
93
|
+
ue as ProTable,
|
|
94
|
+
Ko as RadioButtonGroup,
|
|
95
|
+
ao as ScaleRotateTransition,
|
|
96
|
+
no as ScaleTransition,
|
|
97
|
+
L as ScrollContainer,
|
|
98
|
+
po as ScrollXReverseTransition,
|
|
99
|
+
fo as ScrollXTransition,
|
|
100
|
+
io as ScrollYReverseTransition,
|
|
101
|
+
lo as ScrollYTransition,
|
|
102
|
+
N as Scrollbar,
|
|
103
|
+
so as SlideXReverseTransition,
|
|
104
|
+
mo as SlideXTransition,
|
|
105
|
+
xo as SlideYReverseTransition,
|
|
106
|
+
uo as SlideYTransition,
|
|
107
|
+
Qo as StrengthMeter,
|
|
108
|
+
x as SvgIcon,
|
|
109
|
+
Te as TableAction,
|
|
110
|
+
be as TableImg,
|
|
111
|
+
P as buildLocaleContext,
|
|
112
|
+
B as buildTranslator,
|
|
113
|
+
T as configProviderContextKey,
|
|
114
|
+
u as configProviderProps,
|
|
115
|
+
se as createPrompt,
|
|
111
116
|
a as default,
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
G as defaultNamespace,
|
|
118
|
+
q as en,
|
|
114
119
|
vo as isComponentFormSchema,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
Po as isSlotFormSchema,
|
|
121
|
+
A as keysOf,
|
|
122
|
+
I as localeContextKey,
|
|
123
|
+
D as namespaceContextKey,
|
|
124
|
+
b as provideGlobalConfig,
|
|
125
|
+
C as tableDefaultConfig,
|
|
126
|
+
F as translate,
|
|
127
|
+
l as useControllableValue,
|
|
128
|
+
To as useDescription,
|
|
129
|
+
bo as useForm,
|
|
130
|
+
X as useGetDerivedNamespace,
|
|
125
131
|
g as useGlobalConfig,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
M as useLocale,
|
|
133
|
+
f as useMessage,
|
|
134
|
+
_o as useModal,
|
|
135
|
+
Wo as useModalContext,
|
|
136
|
+
oe as useModalInner,
|
|
137
|
+
h as useNamespace,
|
|
132
138
|
ve as useTable,
|
|
133
|
-
|
|
139
|
+
$ as zhCn
|
|
134
140
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CheckboxOptionType } from 'ant-design-vue';
|
|
2
|
+
import { CheckboxValueType } from 'ant-design-vue/es/checkbox/interface';
|
|
3
|
+
import { VueNode } from 'ant-design-vue/es/_util/type';
|
|
4
|
+
|
|
5
|
+
export declare const getOptionValue: (v: CheckboxOptionType | string | number) => CheckboxValueType;
|
|
6
|
+
export declare const getOptionLabel: (v: CheckboxOptionType | string | number) => VueNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProFieldDatePresetFormats: string[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { InputProps, CheckboxGroupProps, DatePickerProps } from 'ant-design-vue';
|
|
2
|
+
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
+
|
|
4
|
+
export type FieldMode = 'read' | 'edit';
|
|
5
|
+
export type BasicApFieldProps<FieldPropsType = any> = {
|
|
6
|
+
mode?: FieldMode;
|
|
7
|
+
} & FieldPropsType;
|
|
8
|
+
export type ApFieldTextProps = BasicApFieldProps<InputProps> & {
|
|
9
|
+
emptyText?: string;
|
|
10
|
+
};
|
|
11
|
+
export type ApFieldTextExpose = {
|
|
12
|
+
focus: (options?: InputFocusOptions) => void;
|
|
13
|
+
blur: () => void;
|
|
14
|
+
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void;
|
|
15
|
+
select: () => void;
|
|
16
|
+
};
|
|
17
|
+
export type ApFieldCheckboxProps = BasicApFieldProps<CheckboxGroupProps> & {
|
|
18
|
+
emptyText?: string;
|
|
19
|
+
request?: () => Promise<CheckboxGroupProps['options']>;
|
|
20
|
+
};
|
|
21
|
+
export type ApFormatPresetType = 'Y' | 'Y-M' | 'Y-D' | 'Y-h' | 'Y-m' | 'Y-s';
|
|
22
|
+
export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'value' | 'onChange' | 'mode' | 'defaultValue' | 'format'>> & {
|
|
23
|
+
emptyText?: string;
|
|
24
|
+
value?: number | null;
|
|
25
|
+
defaultValue?: number | null;
|
|
26
|
+
onChange?: (ts: number | null, dayStr: string) => void;
|
|
27
|
+
'update:value': (ts: number) => void;
|
|
28
|
+
format: ApFormatPresetType;
|
|
29
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const o = (r) => r <= 1 ? 1 : r, n = (r, l = 1) => {
|
|
2
|
+
const t = Math.floor(24 / r), x = t * l;
|
|
3
|
+
return x > 24 ? t : x;
|
|
4
|
+
}, e = (r, l = 1) => ({
|
|
5
|
+
xs: n(o(r - 3), l),
|
|
6
|
+
sm: n(o(r - 2), l),
|
|
7
|
+
md: n(o(r - 1), l),
|
|
8
|
+
lg: n(o(r - 1), l),
|
|
9
|
+
xl: n(r, l),
|
|
10
|
+
xxl: n(r, l)
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
e as buildColSpan
|
|
14
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ApFormItemGroupProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
|
|
4
|
+
import { Gutter } from 'ant-design-vue/es/grid/Row';
|
|
5
|
+
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemGroupProps>, {
|
|
7
|
+
countPerRow: number;
|
|
8
|
+
gutter: number;
|
|
9
|
+
wrap: undefined;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemGroupProps>, {
|
|
11
|
+
countPerRow: number;
|
|
12
|
+
gutter: number;
|
|
13
|
+
wrap: undefined;
|
|
14
|
+
}>>>, {
|
|
15
|
+
wrap: boolean;
|
|
16
|
+
gutter: number | Partial<Record< Breakpoint, number>> | [ Gutter, Gutter];
|
|
17
|
+
countPerRow: number;
|
|
18
|
+
}, {}>, Readonly<{
|
|
19
|
+
default(): any[];
|
|
20
|
+
}> & {
|
|
21
|
+
default(): any[];
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as y, useSlots as C, createVNode as _, mergeProps as a, openBlock as n, createBlock as m, unref as s, withCtx as g, createElementBlock as k, Fragment as b, renderList as w, resolveDynamicComponent as x, isVNode as S } from "vue";
|
|
2
|
+
import { Col as j, Row as B } from "ant-design-vue";
|
|
3
|
+
import { pick as N } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as P } from "../constant.mjs";
|
|
5
|
+
import { buildColSpan as h } from "./helper.mjs";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
|
+
import "../style/ap-form-item-group.css";
|
|
8
|
+
import { useNamespace as F } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
function R(t) {
|
|
10
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !S(t);
|
|
11
|
+
}
|
|
12
|
+
const L = /* @__PURE__ */ y({
|
|
13
|
+
name: "ApFormItemGroup",
|
|
14
|
+
__name: "index",
|
|
15
|
+
props: {
|
|
16
|
+
align: {},
|
|
17
|
+
justify: {},
|
|
18
|
+
prefixCls: {},
|
|
19
|
+
gutter: {
|
|
20
|
+
default: 16
|
|
21
|
+
},
|
|
22
|
+
wrap: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: void 0
|
|
25
|
+
},
|
|
26
|
+
countPerRow: {
|
|
27
|
+
default: 3
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(t) {
|
|
31
|
+
const {
|
|
32
|
+
b: p
|
|
33
|
+
} = F("ap-form-item-group"), {
|
|
34
|
+
countPerRow: l,
|
|
35
|
+
...i
|
|
36
|
+
} = t, u = C().default().map((r, c) => {
|
|
37
|
+
const e = r.props, o = N(e, P), f = o != null && o.span ? {} : h(l), d = !!(e != null && e.hidden);
|
|
38
|
+
return _(j, a({
|
|
39
|
+
key: c
|
|
40
|
+
}, f, o, {
|
|
41
|
+
class: d ? p("col-hidden") : ""
|
|
42
|
+
}), R(r) ? r : {
|
|
43
|
+
default: () => [r]
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
return (r, c) => (n(), m(s(B), a({
|
|
47
|
+
class: s(p)()
|
|
48
|
+
}, i), {
|
|
49
|
+
default: g(() => [(n(!0), k(b, null, w(s(u), (e, o) => (n(), m(x(e), {
|
|
50
|
+
key: o
|
|
51
|
+
}))), 128))]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 16, ["class"]));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
L as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ApFormItemProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemProps>, {
|
|
5
|
+
hasFeedback: boolean;
|
|
6
|
+
colon: undefined;
|
|
7
|
+
autoLink: boolean;
|
|
8
|
+
required: undefined;
|
|
9
|
+
validateFirst: undefined;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemProps>, {
|
|
11
|
+
hasFeedback: boolean;
|
|
12
|
+
colon: undefined;
|
|
13
|
+
autoLink: boolean;
|
|
14
|
+
required: undefined;
|
|
15
|
+
validateFirst: undefined;
|
|
16
|
+
}>>>, {
|
|
17
|
+
required: boolean;
|
|
18
|
+
colon: boolean;
|
|
19
|
+
hasFeedback: boolean;
|
|
20
|
+
autoLink: boolean;
|
|
21
|
+
validateFirst: boolean;
|
|
22
|
+
}, {}>, {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as i, openBlock as s, createBlock as n, unref as e, normalizeProps as m, guardReactiveProps as d, createSlots as f, withCtx as t, renderSlot as u, createElementVNode as c, normalizeClass as y, createVNode as l } from "vue";
|
|
2
|
+
import { Form as x, Tooltip as B } from "ant-design-vue";
|
|
3
|
+
import { omit as v } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as C } from "./constant.mjs";
|
|
5
|
+
import { QuestionCircleOutlined as h } from "@ant-design/icons-vue";
|
|
6
|
+
const I = /* @__PURE__ */ i({
|
|
7
|
+
name: "ApFormItem",
|
|
8
|
+
__name: "ap-form-item",
|
|
9
|
+
props: {
|
|
10
|
+
htmlFor: {},
|
|
11
|
+
prefixCls: {},
|
|
12
|
+
label: {},
|
|
13
|
+
help: {},
|
|
14
|
+
extra: {},
|
|
15
|
+
labelCol: {},
|
|
16
|
+
wrapperCol: {},
|
|
17
|
+
hasFeedback: { type: Boolean, default: !1 },
|
|
18
|
+
colon: { type: Boolean, default: void 0 },
|
|
19
|
+
labelAlign: {},
|
|
20
|
+
prop: {},
|
|
21
|
+
name: {},
|
|
22
|
+
rules: {},
|
|
23
|
+
autoLink: { type: Boolean, default: !0 },
|
|
24
|
+
required: { type: Boolean, default: void 0 },
|
|
25
|
+
validateFirst: { type: Boolean, default: void 0 },
|
|
26
|
+
validateStatus: {},
|
|
27
|
+
validateTrigger: {},
|
|
28
|
+
messageVariables: {},
|
|
29
|
+
hidden: { type: Boolean },
|
|
30
|
+
noStyle: { type: Boolean },
|
|
31
|
+
tooltip: {},
|
|
32
|
+
span: {},
|
|
33
|
+
order: {},
|
|
34
|
+
offset: {},
|
|
35
|
+
push: {},
|
|
36
|
+
pull: {},
|
|
37
|
+
xs: {},
|
|
38
|
+
sm: {},
|
|
39
|
+
md: {},
|
|
40
|
+
lg: {},
|
|
41
|
+
xl: {},
|
|
42
|
+
xxl: {},
|
|
43
|
+
flex: {}
|
|
44
|
+
},
|
|
45
|
+
setup(a) {
|
|
46
|
+
const o = a;
|
|
47
|
+
return (r, _) => (s(), n(e(x).Item, m(d(e(v)(o, [...e(C), "tooltip"]))), f({
|
|
48
|
+
default: t(() => [
|
|
49
|
+
u(r.$slots, "default")
|
|
50
|
+
]),
|
|
51
|
+
_: 2
|
|
52
|
+
}, [
|
|
53
|
+
o.tooltip ? {
|
|
54
|
+
name: "tooltip",
|
|
55
|
+
fn: t(({ class: p }) => [
|
|
56
|
+
c("span", {
|
|
57
|
+
class: y(p)
|
|
58
|
+
}, [
|
|
59
|
+
l(e(B), {
|
|
60
|
+
title: o.tooltip
|
|
61
|
+
}, {
|
|
62
|
+
default: t(() => [
|
|
63
|
+
l(e(h), { style: { color: "#0070ff" } })
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 8, ["title"])
|
|
67
|
+
], 2)
|
|
68
|
+
]),
|
|
69
|
+
key: "0"
|
|
70
|
+
} : void 0
|
|
71
|
+
]), 1040));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
I as default
|
|
76
|
+
};
|