@aplus-frontend/ui 7.0.0-beta.3 → 7.0.1
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 +108 -106
- package/es/src/ag-grid/hooks/use-columns-def.mjs +71 -70
- package/es/src/ag-grid/index.vue.mjs +1 -0
- package/es/src/ag-grid/interface.d.ts +1 -0
- package/es/src/ag-grid/style/custom-header.d.ts +2 -2
- package/es/src/ag-grid/style/custom-header.mjs +1 -1
- package/es/src/ag-grid/style/editable.d.ts +2 -2
- package/es/src/ag-grid/style/index.d.ts +2 -2
- package/es/src/ag-grid/style/index.mjs +0 -1
- package/es/src/ap-action/item-dropdown/index.vue.mjs +19 -18
- package/es/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/es/src/ap-action/style/index.d.ts +2 -2
- package/es/src/ap-button/style/index.d.ts +2 -2
- package/es/src/ap-button/utils/index.mjs +16 -16
- package/es/src/ap-descriptions/style/index.d.ts +2 -2
- package/es/src/ap-download/ap-download.vue.d.ts +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +27 -27
- package/es/src/ap-download/interface.d.ts +4 -0
- package/es/src/ap-download/style/index.d.ts +2 -2
- package/es/src/ap-drawer/style/index.d.ts +2 -2
- package/es/src/ap-field/style/index.d.ts +2 -2
- package/es/src/ap-form/style/drawer-form.d.ts +2 -2
- package/es/src/ap-form/style/item-group.d.ts +2 -2
- package/es/src/ap-form/style/item-text-group.d.ts +2 -2
- package/es/src/ap-form/style/item.d.ts +2 -2
- package/es/src/ap-form/style/item.mjs +5 -4
- package/es/src/ap-form/style/modal-form.d.ts +2 -2
- package/es/src/ap-form/style/modal-form.mjs +11 -11
- package/es/src/ap-form/style/search-form-sorter.d.ts +2 -2
- package/es/src/ap-form/style/search-form-sorter.mjs +16 -12
- package/es/src/ap-form/style/search-form.d.ts +2 -2
- package/es/src/ap-form/style/token.d.ts +4 -0
- package/es/src/ap-grid/style/editable.d.ts +2 -2
- package/es/src/ap-grid/style/index.d.ts +2 -2
- package/es/src/ap-grid/utils/col.mjs +33 -33
- package/es/src/ap-list/style/index.d.ts +2 -2
- package/es/src/ap-modal/interface.d.ts +31 -11
- package/es/src/ap-modal/utils/createModal.mjs +52 -45
- package/es/src/ap-pro-card/style/divider.d.ts +2 -2
- package/es/src/ap-pro-card/style/index.d.ts +2 -2
- package/es/src/ap-pro-card/style/operation.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/es/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/es/src/ap-pro-card/style/title.d.ts +2 -2
- package/es/src/ap-table/style/ellipsis.d.ts +2 -2
- package/es/src/ap-table/style/index-comp.d.ts +2 -2
- package/es/src/ap-table/style/index.d.ts +2 -2
- package/es/src/ap-table/style/setting.d.ts +2 -2
- package/es/src/ap-tag/style/group.d.ts +2 -2
- package/es/src/ap-tag/style/index.d.ts +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +32 -31
- package/es/src/ap-upload/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/interface.d.ts +1 -1
- package/es/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/es/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/es/src/business/ag-grid-modal/utils.mjs +23 -23
- package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +29 -12
- package/es/src/business/ap-appendix/style/index.d.ts +3 -3
- package/es/src/business/ap-appendix/style/index.mjs +1 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +70 -66
- package/es/src/business/ap-attachment/style/index.d.ts +2 -2
- package/es/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/es/src/business/ap-batch-action/style/index.mjs +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +50 -56
- package/es/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/es/src/business/ap-batch-action-group/style/index.mjs +14 -0
- package/es/src/business/ap-card/style/index.d.ts +3 -3
- package/es/src/business/ap-card/style/index.mjs +8 -8
- package/es/src/business/ap-copy/style/index.d.ts +2 -2
- package/es/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +57 -49
- package/es/src/business/ap-expand-alert/index.d.ts +5 -2
- package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/es/src/business/ap-image/style/index.d.ts +3 -3
- package/es/src/business/ap-image/style/index.mjs +6 -6
- package/es/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/es/src/business/ap-label/style/index.d.ts +2 -2
- package/es/src/business/ap-ladder/style/index.d.ts +2 -2
- package/es/src/business/ap-ladder/style/index.mjs +2 -5
- package/es/src/business/ap-product-info/style/index.d.ts +2 -2
- package/es/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/es/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
- package/es/src/business/ap-size-input/ApSizeInput.mjs +37 -40
- package/es/src/business/ap-size-input/constans.d.ts +10 -2
- package/es/src/business/ap-size-input/constans.mjs +9 -1
- package/es/src/business/ap-size-input/form-item.vue.d.ts +13 -0
- package/es/src/business/ap-size-input/form-item.vue.mjs +65 -0
- package/es/src/business/ap-size-input/form-item.vue2.mjs +4 -0
- package/es/src/business/ap-size-input/index.d.ts +33 -8
- package/es/src/business/ap-size-input/index.mjs +3 -2
- package/es/src/business/ap-size-input/interface.d.ts +7 -0
- package/es/src/business/ap-size-input/style/index.d.ts +2 -2
- package/es/src/business/ap-size-input/style/index.mjs +2 -1
- package/es/src/business/ap-status/style/index.d.ts +2 -2
- package/es/src/business/ap-summary/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +23 -23
- package/es/src/business/ap-title/style/index.d.ts +2 -2
- package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/es/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +61 -64
- package/es/src/business/ap-view/style/index.d.ts +3 -3
- package/es/src/business/ap-view/style/index.mjs +2 -2
- package/es/src/business/batch-input-group/style/index.d.ts +2 -2
- package/es/src/business/hooks/usePageListAgGrid.mjs +7 -6
- package/es/src/check-card/style/index.d.ts +2 -2
- package/es/src/check-card/style/index.mjs +46 -51
- package/es/src/config-provider/hooks/use-token.d.ts +2 -2
- package/es/src/design-token/interface.d.ts +24 -1
- package/es/src/editable-table/style/index.d.ts +2 -2
- package/es/src/full-screen/style/index.d.ts +2 -2
- package/es/src/index.mjs +95 -93
- package/es/src/mask/style/index.d.ts +2 -2
- package/es/src/scroll-bar/style/index.d.ts +2 -2
- package/es/src/scroll-view/style/index.d.ts +2 -2
- package/es/src/splitter/style/index.d.ts +2 -2
- package/es/src/text/style/group.d.ts +2 -2
- package/es/src/text/style/index.d.ts +2 -2
- package/es/src/utils/cssinjs/index.d.ts +2 -2
- package/es/src/utils/cssinjs/index.mjs +54 -48
- package/es/src/utils/cssinjs/plugin-specificity.mjs +13 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +1 -0
- package/lib/src/ag-grid/style/custom-header.d.ts +2 -2
- package/lib/src/ag-grid/style/custom-header.js +1 -1
- package/lib/src/ag-grid/style/editable.d.ts +2 -2
- package/lib/src/ag-grid/style/index.d.ts +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/style/dropdown-item.d.ts +2 -2
- package/lib/src/ap-action/style/index.d.ts +2 -2
- package/lib/src/ap-button/style/index.d.ts +2 -2
- package/lib/src/ap-button/utils/index.js +1 -1
- package/lib/src/ap-descriptions/style/index.d.ts +2 -2
- package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/interface.d.ts +4 -0
- package/lib/src/ap-download/style/index.d.ts +2 -2
- package/lib/src/ap-drawer/style/index.d.ts +2 -2
- package/lib/src/ap-field/style/index.d.ts +2 -2
- package/lib/src/ap-form/style/drawer-form.d.ts +2 -2
- package/lib/src/ap-form/style/item-group.d.ts +2 -2
- package/lib/src/ap-form/style/item-text-group.d.ts +2 -2
- package/lib/src/ap-form/style/item.d.ts +2 -2
- package/lib/src/ap-form/style/item.js +1 -1
- package/lib/src/ap-form/style/modal-form.d.ts +2 -2
- package/lib/src/ap-form/style/modal-form.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.d.ts +2 -2
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-form/style/search-form.d.ts +2 -2
- package/lib/src/ap-form/style/token.d.ts +4 -0
- package/lib/src/ap-grid/style/editable.d.ts +2 -2
- package/lib/src/ap-grid/style/index.d.ts +2 -2
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-list/style/index.d.ts +2 -2
- package/lib/src/ap-modal/interface.d.ts +31 -11
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-pro-card/style/divider.d.ts +2 -2
- package/lib/src/ap-pro-card/style/index.d.ts +2 -2
- package/lib/src/ap-pro-card/style/operation.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistic.d.ts +2 -2
- package/lib/src/ap-pro-card/style/statistics-card.d.ts +2 -2
- package/lib/src/ap-pro-card/style/title.d.ts +2 -2
- package/lib/src/ap-table/style/ellipsis.d.ts +2 -2
- package/lib/src/ap-table/style/index-comp.d.ts +2 -2
- package/lib/src/ap-table/style/index.d.ts +2 -2
- package/lib/src/ap-table/style/setting.d.ts +2 -2
- package/lib/src/ap-tag/style/group.d.ts +2 -2
- package/lib/src/ap-tag/style/index.d.ts +2 -2
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/interface.d.ts +1 -1
- package/lib/src/business/ag-grid-modal/style/index.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/utils.js +1 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-appendix/style/index.d.ts +3 -3
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/style/index.d.ts +2 -2
- package/lib/src/business/ap-batch-action/style/index.d.ts +3 -3
- package/lib/src/business/ap-batch-action/style/index.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/style/index.d.ts +3 -0
- package/lib/src/business/ap-batch-action-group/style/index.js +1 -0
- package/lib/src/business/ap-card/style/index.d.ts +3 -3
- package/lib/src/business/ap-card/style/index.js +1 -1
- package/lib/src/business/ap-copy/style/index.d.ts +2 -2
- package/lib/src/business/ap-draggable-grid/style/index.d.ts +2 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +5 -2
- package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/style/index.d.ts +2 -2
- package/lib/src/business/ap-image/style/index.d.ts +3 -3
- package/lib/src/business/ap-image/style/index.js +1 -1
- package/lib/src/business/ap-input-radio/style/index.d.ts +2 -2
- package/lib/src/business/ap-label/style/index.d.ts +2 -2
- package/lib/src/business/ap-ladder/style/index.d.ts +2 -2
- package/lib/src/business/ap-ladder/style/index.js +1 -1
- package/lib/src/business/ap-product-info/style/index.d.ts +2 -2
- package/lib/src/business/ap-radio-group/style/index.d.ts +2 -2
- package/lib/src/business/ap-select-layout/style/index.d.ts +2 -2
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
- package/lib/src/business/ap-size-input/constans.d.ts +10 -2
- package/lib/src/business/ap-size-input/constans.js +1 -1
- package/lib/src/business/ap-size-input/form-item.vue.d.ts +13 -0
- package/lib/src/business/ap-size-input/form-item.vue.js +1 -0
- package/lib/src/business/ap-size-input/form-item.vue2.js +1 -0
- package/lib/src/business/ap-size-input/index.d.ts +33 -8
- package/lib/src/business/ap-size-input/index.js +1 -1
- package/lib/src/business/ap-size-input/interface.d.ts +7 -0
- package/lib/src/business/ap-size-input/style/index.d.ts +2 -2
- package/lib/src/business/ap-size-input/style/index.js +1 -1
- package/lib/src/business/ap-status/style/index.d.ts +2 -2
- package/lib/src/business/ap-summary/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/style/index.d.ts +2 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/style/index.d.ts +2 -2
- package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
- package/lib/src/business/ap-value-select-card/style/index.d.ts +2 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/style/index.d.ts +3 -3
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/business/batch-input-group/style/index.d.ts +2 -2
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/check-card/style/index.d.ts +2 -2
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/config-provider/hooks/use-token.d.ts +2 -2
- package/lib/src/design-token/interface.d.ts +24 -1
- package/lib/src/editable-table/style/index.d.ts +2 -2
- package/lib/src/full-screen/style/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/mask/style/index.d.ts +2 -2
- package/lib/src/scroll-bar/style/index.d.ts +2 -2
- package/lib/src/scroll-view/style/index.d.ts +2 -2
- package/lib/src/splitter/style/index.d.ts +2 -2
- package/lib/src/text/style/group.d.ts +2 -2
- package/lib/src/text/style/index.d.ts +2 -2
- package/lib/src/utils/cssinjs/index.d.ts +2 -2
- package/lib/src/utils/cssinjs/index.js +1 -1
- package/lib/src/utils/cssinjs/plugin-specificity.js +1 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -2,9 +2,10 @@ import { ApExpandAlertProps } from './interface';
|
|
|
2
2
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
|
|
5
6
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
6
7
|
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
7
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
|
|
8
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClose" | "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
|
|
8
9
|
expose(exposed: ShallowUnwrapRef<{
|
|
9
10
|
setExpand: (state?: boolean) => void;
|
|
10
11
|
}>): void;
|
|
@@ -22,7 +23,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
22
23
|
index: number;
|
|
23
24
|
}): any;
|
|
24
25
|
};
|
|
25
|
-
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
|
+
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
27
|
}>) => VNode & {
|
|
27
28
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
29
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DownOutlined as
|
|
3
|
-
import { Alert as
|
|
4
|
-
import { ApActionItem as
|
|
1
|
+
import { defineComponent as j, computed as c, ref as g, watch as x, nextTick as f, onMounted as J, createElementBlock as i, openBlock as l, normalizeClass as n, unref as t, createVNode as C, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as E, renderList as P, createCommentVNode as L, createTextVNode as Q } from "vue";
|
|
2
|
+
import { DownOutlined as U } from "@ant-design/icons-vue";
|
|
3
|
+
import { Alert as X, Tooltip as Y } from "@aplus-frontend/antdv";
|
|
4
|
+
import { ApActionItem as Z } from "../../ap-action/index.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import { isNil as
|
|
7
|
-
import
|
|
8
|
-
import { useLocale as
|
|
9
|
-
import { useNamespace as
|
|
6
|
+
import { isNil as _, isString as A } from "lodash-unified";
|
|
7
|
+
import ee from "./style/index.mjs";
|
|
8
|
+
import { useLocale as te } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { useNamespace as le } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import { useGlobalConfig as ae } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
|
-
const
|
|
11
|
+
const oe = ["onClick"], he = /* @__PURE__ */ j({
|
|
12
12
|
__name: "ApExpandAlert",
|
|
13
13
|
props: {
|
|
14
14
|
type: { default: "warning" },
|
|
@@ -22,38 +22,43 @@ const le = ["onClick"], ye = /* @__PURE__ */ W({
|
|
|
22
22
|
prefixStyle: { default: () => ({}) },
|
|
23
23
|
rows: { default: 2 },
|
|
24
24
|
defaultExpand: { type: Boolean, default: !0 },
|
|
25
|
-
showIcon: { type: Boolean, default: !0 }
|
|
25
|
+
showIcon: { type: Boolean, default: !0 },
|
|
26
|
+
closable: { type: Boolean },
|
|
27
|
+
afterClose: {}
|
|
26
28
|
},
|
|
27
|
-
emits: ["choose", "expand"],
|
|
29
|
+
emits: ["choose", "expand", "close"],
|
|
28
30
|
setup(z, { expose: D, emit: M }) {
|
|
29
|
-
const
|
|
31
|
+
const h = M, p = z, { t: B } = te(), V = c(() => {
|
|
30
32
|
if (p.type != "card")
|
|
31
33
|
return p.type;
|
|
32
|
-
}),
|
|
34
|
+
}), a = g(""), d = g(null), R = c(() => ({
|
|
33
35
|
fontWeight: "400",
|
|
34
36
|
wordBreak: "break-all",
|
|
35
37
|
overflow: "hidden",
|
|
36
38
|
display: "-webkit-box",
|
|
37
|
-
webkitLineClamp:
|
|
39
|
+
webkitLineClamp: a.value,
|
|
38
40
|
webkitBoxOrient: "vertical",
|
|
39
41
|
lineHeight: "18px"
|
|
40
42
|
}));
|
|
41
43
|
function q() {
|
|
42
|
-
|
|
44
|
+
a.value === "1" ? (a.value = "", h("expand", "expand")) : (a.value = "1", h("expand", "collapse"));
|
|
43
45
|
}
|
|
44
|
-
const F = c(() =>
|
|
45
|
-
function
|
|
46
|
-
e ?
|
|
46
|
+
const F = c(() => a.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), v = g(!0), N = c(() => a.value !== "1");
|
|
47
|
+
function k(e) {
|
|
48
|
+
e ? a.value = "" : a.value = "1";
|
|
49
|
+
}
|
|
50
|
+
function O(e) {
|
|
51
|
+
h("close", e);
|
|
47
52
|
}
|
|
48
53
|
x(
|
|
49
54
|
() => p.data,
|
|
50
55
|
() => {
|
|
51
|
-
|
|
56
|
+
a.value = "", f(() => {
|
|
52
57
|
if (d.value) {
|
|
53
58
|
const e = Number(d.value.clientHeight), r = Number(
|
|
54
59
|
parseInt(d.value.style.lineHeight)
|
|
55
60
|
);
|
|
56
|
-
e < r * Number(p.rows) && N.value ?
|
|
61
|
+
e < r * Number(p.rows) && N.value ? v.value = !1 : v.value = !0;
|
|
57
62
|
}
|
|
58
63
|
});
|
|
59
64
|
},
|
|
@@ -64,21 +69,21 @@ const le = ["onClick"], ye = /* @__PURE__ */ W({
|
|
|
64
69
|
() => p.defaultExpand,
|
|
65
70
|
(e) => {
|
|
66
71
|
e ? f(() => {
|
|
67
|
-
|
|
72
|
+
k(e);
|
|
68
73
|
}) : f(() => {
|
|
69
|
-
|
|
74
|
+
k(e);
|
|
70
75
|
});
|
|
71
76
|
},
|
|
72
77
|
{ immediate: !0 }
|
|
73
|
-
),
|
|
78
|
+
), J(() => {
|
|
74
79
|
x(
|
|
75
80
|
() => p.contentStyle,
|
|
76
81
|
(e) => {
|
|
77
|
-
|
|
82
|
+
_(e.lineHeight) || f(() => {
|
|
78
83
|
const r = document.querySelector(
|
|
79
|
-
`#${
|
|
84
|
+
`#${w} .ant-alert-action`
|
|
80
85
|
), s = document.querySelector(
|
|
81
|
-
`#${
|
|
86
|
+
`#${w} .ant-alert-icon`
|
|
82
87
|
);
|
|
83
88
|
r && r.setAttribute("style", `line-height: ${e.lineHeight}`), s && s.setAttribute("style", `line-height: ${e.lineHeight}`);
|
|
84
89
|
});
|
|
@@ -90,20 +95,23 @@ const le = ["onClick"], ye = /* @__PURE__ */ W({
|
|
|
90
95
|
}
|
|
91
96
|
);
|
|
92
97
|
});
|
|
93
|
-
const { b: T, e: o, m:
|
|
98
|
+
const { b: T, e: o, m: G } = le("ap-expand-alert"), K = ee("ap-expand-alert"), w = `${T()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`, W = ae("uiMode", "aplus");
|
|
94
99
|
return D({
|
|
95
|
-
setExpand:
|
|
96
|
-
}), (e, r) => (
|
|
97
|
-
id:
|
|
98
|
-
class: n([t(T)(), `${t(
|
|
100
|
+
setExpand: k
|
|
101
|
+
}), (e, r) => (l(), i("div", {
|
|
102
|
+
id: w,
|
|
103
|
+
class: n([t(T)(), `${t(G)(t(W))}`, t(K)])
|
|
99
104
|
}, [
|
|
100
|
-
|
|
105
|
+
C(t(X), {
|
|
101
106
|
type: V.value,
|
|
102
107
|
"show-icon": e.showIcon,
|
|
103
|
-
|
|
108
|
+
closable: e.closable,
|
|
109
|
+
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""]),
|
|
110
|
+
"after-close": e.afterClose,
|
|
111
|
+
onClose: O
|
|
104
112
|
}, {
|
|
105
113
|
action: m(() => [
|
|
106
|
-
|
|
114
|
+
v.value ? (l(), $(t(Z), {
|
|
107
115
|
key: 0,
|
|
108
116
|
size: "small",
|
|
109
117
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
@@ -113,7 +121,7 @@ const le = ["onClick"], ye = /* @__PURE__ */ W({
|
|
|
113
121
|
S("span", {
|
|
114
122
|
class: n(t(o)("expandText"))
|
|
115
123
|
}, u(F.value), 3),
|
|
116
|
-
|
|
124
|
+
C(t(U), {
|
|
117
125
|
class: n(N.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
118
126
|
}, null, 8, ["class"])
|
|
119
127
|
]),
|
|
@@ -128,52 +136,52 @@ const le = ["onClick"], ye = /* @__PURE__ */ W({
|
|
|
128
136
|
class: n(t(o)("alertContent"))
|
|
129
137
|
}, [
|
|
130
138
|
H(e.$slots, "default", {}, () => [
|
|
131
|
-
t(
|
|
139
|
+
t(A)(e.prefix) ? (l(), i("span", {
|
|
132
140
|
key: 0,
|
|
133
141
|
class: n(t(o)("prefix")),
|
|
134
142
|
style: y(e.prefixStyle)
|
|
135
|
-
}, u(e.prefix), 7)) : (
|
|
143
|
+
}, u(e.prefix), 7)) : (l(), $(I(e.prefix), {
|
|
136
144
|
key: 1,
|
|
137
145
|
style: y(e.prefixStyle)
|
|
138
146
|
}, null, 8, ["style"])),
|
|
139
|
-
t(
|
|
147
|
+
t(A)(e.data) ? (l(), i("span", {
|
|
140
148
|
key: 2,
|
|
141
149
|
class: n(t(o)("text"))
|
|
142
|
-
}, u(e.data), 3)) : (
|
|
143
|
-
|
|
150
|
+
}, u(e.data), 3)) : (l(!0), i(E, { key: 3 }, P(e.data, (s, b) => (l(), i(E, { key: b }, [
|
|
151
|
+
C(t(Y), {
|
|
144
152
|
title: e.tipTitle ? e.tipTitle : null
|
|
145
153
|
}, {
|
|
146
154
|
default: m(() => [
|
|
147
155
|
H(e.$slots, "item", {
|
|
148
156
|
record: s,
|
|
149
|
-
index:
|
|
157
|
+
index: b
|
|
150
158
|
}, () => [
|
|
151
159
|
S("span", {
|
|
152
160
|
class: n(t(o)("showItem")),
|
|
153
|
-
onClick: (
|
|
154
|
-
}, u(e.mapLabel ? s[e.mapLabel] : s), 11,
|
|
161
|
+
onClick: (ne) => e.$emit("choose", s)
|
|
162
|
+
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, oe)
|
|
155
163
|
])
|
|
156
164
|
]),
|
|
157
165
|
_: 2
|
|
158
166
|
}, 1032, ["title"]),
|
|
159
|
-
|
|
167
|
+
b !== e.data.length - 1 ? (l(), i("span", {
|
|
160
168
|
key: 0,
|
|
161
169
|
class: n(t(o)("spliter")),
|
|
162
170
|
style: y(e.separatorStyle)
|
|
163
171
|
}, [
|
|
164
|
-
t(
|
|
165
|
-
|
|
166
|
-
], 64)) : (
|
|
172
|
+
t(A)(e.separator) ? (l(), i(E, { key: 0 }, [
|
|
173
|
+
Q(u(e.separator), 1)
|
|
174
|
+
], 64)) : (l(), $(I(e.separator), { key: 1 }))
|
|
167
175
|
], 6)) : L("", !0)
|
|
168
176
|
], 64))), 128))
|
|
169
177
|
])
|
|
170
178
|
], 6)
|
|
171
179
|
]),
|
|
172
180
|
_: 3
|
|
173
|
-
}, 8, ["type", "show-icon", "class"])
|
|
181
|
+
}, 8, ["type", "show-icon", "closable", "class", "after-close"])
|
|
174
182
|
], 2));
|
|
175
183
|
}
|
|
176
184
|
});
|
|
177
185
|
export {
|
|
178
|
-
|
|
186
|
+
he as default
|
|
179
187
|
};
|
|
@@ -15,9 +15,10 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
15
15
|
index: number;
|
|
16
16
|
}): any;
|
|
17
17
|
};
|
|
18
|
-
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
18
|
+
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
19
19
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
20
|
props: {
|
|
21
|
+
readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
|
|
21
22
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
23
|
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
24
|
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
@@ -31,6 +32,8 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
31
32
|
prefixStyle?: CSSProperties | undefined;
|
|
32
33
|
rows?: string | number | undefined;
|
|
33
34
|
defaultExpand?: boolean | undefined;
|
|
35
|
+
closable?: boolean | undefined;
|
|
36
|
+
afterClose?: (() => void) | undefined;
|
|
34
37
|
showIcon?: boolean | undefined;
|
|
35
38
|
} & PublicProps;
|
|
36
39
|
expose(exposed: ShallowUnwrapRef<{
|
|
@@ -50,7 +53,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
50
53
|
index: number;
|
|
51
54
|
}): any;
|
|
52
55
|
};
|
|
53
|
-
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
56
|
+
emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
57
|
}>) => VNode & {
|
|
55
58
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
59
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
|
|
2
|
-
import {
|
|
3
|
-
export declare const
|
|
4
|
-
declare const _default: (prefixCls: string) =>
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
export declare const genApImageStyle: GenStyleFunc<BaseToken>;
|
|
4
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
5
5
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
|
|
2
|
-
const n = (
|
|
3
|
-
const { componentCls:
|
|
2
|
+
const n = (e) => {
|
|
3
|
+
const { componentCls: o } = e;
|
|
4
4
|
return {
|
|
5
|
-
[`${
|
|
5
|
+
[`${o}-toolbar`]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
alignItems: "center",
|
|
8
8
|
padding: "0 24px",
|
|
@@ -10,10 +10,10 @@ const n = (o) => {
|
|
|
10
10
|
borderRadius: "100px"
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
|
-
}, a = t("ApImage", (
|
|
14
|
-
n(
|
|
13
|
+
}, a = t("ApImage", (e) => [
|
|
14
|
+
n(e)
|
|
15
15
|
]);
|
|
16
16
|
export {
|
|
17
17
|
a as default,
|
|
18
|
-
n as
|
|
18
|
+
n as genApImageStyle
|
|
19
19
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -37,7 +37,7 @@ const i = (l) => {
|
|
|
37
37
|
},
|
|
38
38
|
[`${e}__value-group-link`]: {
|
|
39
39
|
cursor: "pointer",
|
|
40
|
-
color: l.
|
|
40
|
+
color: l.colorLink,
|
|
41
41
|
textDecoration: "none"
|
|
42
42
|
},
|
|
43
43
|
[`${e}__value-group-label-left`]: {
|
|
@@ -126,7 +126,7 @@ const i = (l) => {
|
|
|
126
126
|
},
|
|
127
127
|
[`${e}__link, ${e}__link a`]: {
|
|
128
128
|
cursor: "pointer",
|
|
129
|
-
color: l.
|
|
129
|
+
color: l.colorLink,
|
|
130
130
|
textDecoration: "none"
|
|
131
131
|
},
|
|
132
132
|
"&--admin": {
|
|
@@ -151,9 +151,6 @@ const i = (l) => {
|
|
|
151
151
|
},
|
|
152
152
|
"&__unit": {
|
|
153
153
|
color: "#333"
|
|
154
|
-
},
|
|
155
|
-
"&__link": {
|
|
156
|
-
color: "#34b77c"
|
|
157
154
|
}
|
|
158
155
|
}
|
|
159
156
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
export type ApRadioGroupToken = {
|
|
3
3
|
apRadioGroupItemActiveBgColor: string;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: (prefixCls: string) =>
|
|
5
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
6
6
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: (prefixCls: string) =>
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
3
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, StyleValue, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
3
|
value: {
|
|
4
4
|
type: PropType<Array<string | number>>;
|
|
@@ -25,7 +25,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25
25
|
};
|
|
26
26
|
min: {
|
|
27
27
|
type: NumberConstructor;
|
|
28
|
-
|
|
28
|
+
required: boolean;
|
|
29
29
|
};
|
|
30
30
|
max: {
|
|
31
31
|
type: NumberConstructor;
|
|
@@ -35,6 +35,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
type: NumberConstructor;
|
|
36
36
|
default: number;
|
|
37
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: boolean;
|
|
41
|
+
};
|
|
42
|
+
style: {
|
|
43
|
+
type: PropType<StyleValue>;
|
|
44
|
+
required: boolean;
|
|
45
|
+
};
|
|
38
46
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
47
|
value: {
|
|
40
48
|
type: PropType<Array<string | number>>;
|
|
@@ -61,7 +69,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
61
69
|
};
|
|
62
70
|
min: {
|
|
63
71
|
type: NumberConstructor;
|
|
64
|
-
|
|
72
|
+
required: boolean;
|
|
65
73
|
};
|
|
66
74
|
max: {
|
|
67
75
|
type: NumberConstructor;
|
|
@@ -71,11 +79,19 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
71
79
|
type: NumberConstructor;
|
|
72
80
|
default: number;
|
|
73
81
|
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
style: {
|
|
87
|
+
type: PropType<StyleValue>;
|
|
88
|
+
required: boolean;
|
|
89
|
+
};
|
|
74
90
|
}>> & Readonly<{}>, {
|
|
75
91
|
step: number;
|
|
76
92
|
value: (string | number)[];
|
|
93
|
+
disabled: boolean;
|
|
77
94
|
placeholder: string[];
|
|
78
|
-
min: number;
|
|
79
95
|
max: number;
|
|
80
96
|
precision: number;
|
|
81
97
|
editable: boolean;
|
|
@@ -1,60 +1,57 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ApSizeInputProps as
|
|
1
|
+
import { defineComponent as p, toRaw as f, createVNode as a, mergeProps as m } from "vue";
|
|
2
|
+
import { ApSizeInputProps as s } from "./constans.mjs";
|
|
3
3
|
import "../../ap-field/number/index.vue2.mjs";
|
|
4
|
-
import { Form as g
|
|
4
|
+
import { Form as g } from "@aplus-frontend/antdv";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import { useNamespace as
|
|
8
|
-
import { useLocale as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
6
|
+
import I from "./style/index.mjs";
|
|
7
|
+
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
import { useLocale as z } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import u from "../../ap-field/number/index.vue.mjs";
|
|
10
|
+
const _ = /* @__PURE__ */ p({
|
|
11
11
|
name: "ApSizeInput",
|
|
12
|
-
props:
|
|
12
|
+
props: s(),
|
|
13
13
|
setup(e, {
|
|
14
14
|
emit: c
|
|
15
15
|
}) {
|
|
16
16
|
const {
|
|
17
|
-
b:
|
|
18
|
-
} =
|
|
17
|
+
b: d
|
|
18
|
+
} = v("ap-size-input"), h = I("ap-size-input"), {
|
|
19
19
|
t: n
|
|
20
|
-
} =
|
|
21
|
-
const
|
|
22
|
-
|
|
20
|
+
} = z(), r = g.useInjectFormItemContext(), o = (t, l) => {
|
|
21
|
+
const i = e.value;
|
|
22
|
+
i[t] = l, c("update:value", i), c("SizeInputChange", f(i)), r.onFieldChange();
|
|
23
23
|
};
|
|
24
|
-
return () =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
return () => {
|
|
25
|
+
const t = {
|
|
26
|
+
style: {
|
|
27
|
+
flex: 1
|
|
28
|
+
},
|
|
29
|
+
precision: e.precision ?? 2,
|
|
30
|
+
min: e.min ?? 1,
|
|
31
|
+
max: e.max,
|
|
32
|
+
step: e.step ?? 1,
|
|
28
33
|
mode: e.editable ? "edit" : "read",
|
|
34
|
+
disabled: e.disabled
|
|
35
|
+
};
|
|
36
|
+
return a("div", {
|
|
37
|
+
class: [d(), h.value],
|
|
38
|
+
style: e.style
|
|
39
|
+
}, [a(u, m({
|
|
29
40
|
value: e.value?.[0],
|
|
30
41
|
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[0] : n("ap.apSizeInput.length"),
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
max: e.max ? e.max : 999.99,
|
|
34
|
-
onChange: (a) => i(0, a),
|
|
35
|
-
step: e.step ? e.step : 1
|
|
36
|
-
}, null), e.perfix, t(m, {
|
|
37
|
-
mode: e.editable ? "edit" : "read",
|
|
42
|
+
onChange: (l) => o(0, l)
|
|
43
|
+
}, t), null), e.perfix, a(u, m({
|
|
38
44
|
value: e.value?.[1],
|
|
39
45
|
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[1] : n("ap.apSizeInput.width"),
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
max: e.max ? e.max : 999.99,
|
|
43
|
-
onChange: (a) => i(1, a),
|
|
44
|
-
step: e.step ? e.step : 1
|
|
45
|
-
}, null), e.perfix, t(m, {
|
|
46
|
-
mode: e.editable ? "edit" : "read",
|
|
46
|
+
onChange: (l) => o(1, l)
|
|
47
|
+
}, t), null), e.perfix, a(u, m({
|
|
47
48
|
value: e.value?.[2],
|
|
48
49
|
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[2] : n("ap.apSizeInput.height"),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
onChange: (a) => i(2, a),
|
|
53
|
-
step: e.step ? e.step : 1
|
|
54
|
-
}, null)]
|
|
55
|
-
});
|
|
50
|
+
onChange: (l) => o(2, l)
|
|
51
|
+
}, t), null)]);
|
|
52
|
+
};
|
|
56
53
|
}
|
|
57
54
|
});
|
|
58
55
|
export {
|
|
59
|
-
|
|
56
|
+
_ as default
|
|
60
57
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, StyleValue } from 'vue';
|
|
2
2
|
export declare const ApSizeInputProps: () => {
|
|
3
3
|
value: {
|
|
4
4
|
type: PropType<Array<string | number>>;
|
|
@@ -25,7 +25,7 @@ export declare const ApSizeInputProps: () => {
|
|
|
25
25
|
};
|
|
26
26
|
min: {
|
|
27
27
|
type: NumberConstructor;
|
|
28
|
-
|
|
28
|
+
required: boolean;
|
|
29
29
|
};
|
|
30
30
|
max: {
|
|
31
31
|
type: NumberConstructor;
|
|
@@ -35,4 +35,12 @@ export declare const ApSizeInputProps: () => {
|
|
|
35
35
|
type: NumberConstructor;
|
|
36
36
|
default: number;
|
|
37
37
|
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: boolean;
|
|
41
|
+
};
|
|
42
|
+
style: {
|
|
43
|
+
type: PropType<StyleValue>;
|
|
44
|
+
required: boolean;
|
|
45
|
+
};
|
|
38
46
|
};
|
|
@@ -24,7 +24,7 @@ const e = () => ({
|
|
|
24
24
|
},
|
|
25
25
|
min: {
|
|
26
26
|
type: Number,
|
|
27
|
-
|
|
27
|
+
required: !1
|
|
28
28
|
},
|
|
29
29
|
max: {
|
|
30
30
|
type: Number,
|
|
@@ -33,6 +33,14 @@ const e = () => ({
|
|
|
33
33
|
precision: {
|
|
34
34
|
type: Number,
|
|
35
35
|
default: 2
|
|
36
|
+
},
|
|
37
|
+
disabled: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
required: !1
|
|
40
|
+
},
|
|
41
|
+
style: {
|
|
42
|
+
type: Object,
|
|
43
|
+
required: !1
|
|
36
44
|
}
|
|
37
45
|
});
|
|
38
46
|
export {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApFormItemSizeInputProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ApFormItemSizeInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemSizeInputProps> & Readonly<{}>, {
|
|
4
|
+
hidden: boolean;
|
|
5
|
+
colon: boolean;
|
|
6
|
+
required: boolean;
|
|
7
|
+
hasFeedback: boolean;
|
|
8
|
+
autoLink: boolean;
|
|
9
|
+
validateFirst: boolean;
|
|
10
|
+
noStyle: boolean;
|
|
11
|
+
bordered: boolean;
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|