@aplus-frontend/ui 0.5.24 → 0.5.25
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/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +4 -4
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +34 -59
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +34 -99
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +68 -195
- package/es/src/business/ap-ladder/index.d.ts +1 -235
- package/es/src/business/ap-ladder/interface.d.ts +4 -114
- package/es/src/business/ap-ladder/utils.d.ts +5 -0
- package/es/src/business/ap-ladder/utils.mjs +38 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/es/src/business/ap-product-info/constans.d.ts +23 -0
- package/es/src/business/ap-product-info/index.d.ts +1 -0
- package/es/src/business/ap-product-info/interface.d.ts +11 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -235
- package/lib/src/business/ap-ladder/interface.d.ts +4 -114
- package/lib/src/business/ap-ladder/utils.d.ts +5 -0
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/lib/src/business/ap-product-info/constans.d.ts +23 -0
- package/lib/src/business/ap-product-info/index.d.ts +1 -0
- package/lib/src/business/ap-product-info/interface.d.ts +11 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/package.json +3 -3
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-grid/index.less +3 -0
- package/theme/ap-ladder/ap-ladder.css +14 -5
- package/theme/ap-ladder/ap-ladder.less +16 -7
- package/theme/index.css +17 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
-
import { actionResponse } from '@aplus-frontend/oss';
|
|
3
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
5
4
|
interface UploadFile extends File {
|
|
@@ -18,7 +17,13 @@ declare function __VLS_template(): {
|
|
|
18
17
|
pictureContext?(_: {
|
|
19
18
|
fileList: {
|
|
20
19
|
oss: {
|
|
21
|
-
pauseUpload: (() => Promise<
|
|
20
|
+
pauseUpload: (() => Promise<{
|
|
21
|
+
status: number;
|
|
22
|
+
previewUrl?: string;
|
|
23
|
+
saveUrl?: string;
|
|
24
|
+
originalFileName?: string;
|
|
25
|
+
message: string;
|
|
26
|
+
}>) | undefined;
|
|
22
27
|
};
|
|
23
28
|
}[];
|
|
24
29
|
remove: typeof handleRemove;
|
|
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
|
|
|
3
3
|
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
+
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
6
7
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
7
|
-
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
10
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -63,7 +63,7 @@ declare const ApBatchActionGroup: {
|
|
|
63
63
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
64
|
};
|
|
65
65
|
}>>, "type" | "onClick"> & {
|
|
66
|
-
type?:
|
|
66
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
67
67
|
borderLinkColor?: string;
|
|
68
68
|
minWidth?: boolean | number | string;
|
|
69
69
|
lazy?: boolean | number;
|
|
@@ -364,7 +364,7 @@ declare const ApBatchActionGroup: {
|
|
|
364
364
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
365
|
};
|
|
366
366
|
}>>, "type" | "onClick"> & {
|
|
367
|
-
type?:
|
|
367
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
368
368
|
borderLinkColor?: string;
|
|
369
369
|
minWidth?: boolean | number | string;
|
|
370
370
|
lazy?: boolean | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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
5
|
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: (event: "expand" | "choose", ...args: any[]) => void;
|
|
26
|
-
}>) => VNode
|
|
26
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> & {
|
|
27
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
30
|
};
|
|
29
31
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
20
20
|
props: {
|
|
21
21
|
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined
|
|
23
|
+
type?: "warning" | "error" | "success" | "info" | "card" | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
26
26
|
tipTitle?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
29
29
|
separatorStyle?: CSSProperties | undefined;
|
|
30
30
|
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
31
31
|
prefixStyle?: CSSProperties | undefined;
|
|
32
|
-
rows?: string | number | undefined;
|
|
32
|
+
rows?: (string | number) | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,7 +51,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
53
|
emit: (event: "expand" | "choose", ...args: any[]) => void;
|
|
54
|
-
}>) => VNode
|
|
54
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}> & {
|
|
55
57
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
58
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
57
59
|
$props: {
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { ApLadderLabelValue, ApLadderProps, ApLadderSlots } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
|
-
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
6
|
-
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
|
-
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
|
-
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
9
3
|
declare function __VLS_template(): {
|
|
10
4
|
attrs: Partial<{}>;
|
|
11
5
|
slots: Readonly<ApLadderSlots> & ApLadderSlots;
|
|
@@ -15,83 +9,7 @@ declare function __VLS_template(): {
|
|
|
15
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
10
|
declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApLadderProps> & Readonly<{}>, {
|
|
17
11
|
layout: "vertical" | "horizontal";
|
|
18
|
-
tooltip: boolean;
|
|
19
12
|
labelAlign: "left" | "right";
|
|
20
|
-
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
21
|
-
title: VueTypeValidableDef<any>;
|
|
22
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
23
|
-
open: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
visible: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: any;
|
|
30
|
-
};
|
|
31
|
-
placement: PropType<TooltipPlacement>;
|
|
32
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
33
|
-
transitionName: StringConstructor;
|
|
34
|
-
overlayStyle: {
|
|
35
|
-
type: PropType<CSSProperties>;
|
|
36
|
-
default: CSSProperties;
|
|
37
|
-
};
|
|
38
|
-
overlayInnerStyle: {
|
|
39
|
-
type: PropType<CSSProperties>;
|
|
40
|
-
default: CSSProperties;
|
|
41
|
-
};
|
|
42
|
-
overlayClassName: StringConstructor;
|
|
43
|
-
openClassName: StringConstructor;
|
|
44
|
-
prefixCls: StringConstructor;
|
|
45
|
-
mouseEnterDelay: NumberConstructor;
|
|
46
|
-
mouseLeaveDelay: NumberConstructor;
|
|
47
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
48
|
-
arrowPointAtCenter: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
|
-
arrow: {
|
|
53
|
-
type: PropType<boolean | {
|
|
54
|
-
pointAtCenter?: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
default: boolean | {
|
|
57
|
-
pointAtCenter?: boolean;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
autoAdjustOverflow: {
|
|
61
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
62
|
-
default: boolean | AdjustOverflow;
|
|
63
|
-
};
|
|
64
|
-
destroyTooltipOnHide: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: any;
|
|
67
|
-
};
|
|
68
|
-
align: {
|
|
69
|
-
type: PropType<AlignType>;
|
|
70
|
-
default: AlignType;
|
|
71
|
-
};
|
|
72
|
-
builtinPlacements: {
|
|
73
|
-
type: PropType<BuildInPlacements>;
|
|
74
|
-
default: BuildInPlacements;
|
|
75
|
-
};
|
|
76
|
-
children: ArrayConstructor;
|
|
77
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
78
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
79
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
80
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
81
|
-
mask: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
maskStyle: {
|
|
86
|
-
type: PropType<CSSProperties>;
|
|
87
|
-
default: CSSProperties;
|
|
88
|
-
};
|
|
89
|
-
maskTransitionName: StringConstructor;
|
|
90
|
-
maskClosable: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
95
13
|
labelValues: Array<ApLadderLabelValue>;
|
|
96
14
|
majorColor: string;
|
|
97
15
|
minorColor: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("lodash-unified");require("../../config-provider/index.js");require("./components/SimpleMode.vue.js");require("./components/ValueGroupMode.vue.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("lodash-unified");require("../../config-provider/index.js");require("./components/SimpleMode.vue.js");require("./components/ValueGroupMode.vue.js");const n=require("./utils.js"),_=require("../../config-provider/hooks/use-namespace.js"),b=require("../../config-provider/hooks/use-global-config.js"),g=require("./components/SimpleMode.vue2.js"),y=require("./components/ValueGroupMode.vue2.js"),C=e.defineComponent({name:"ApLadder",__name:"ApLadder",props:{major:{},minor:{},majorColor:{default:""},minorColor:{default:""},layout:{default:"vertical"},labelValues:{default:()=>[]},labelAlign:{default:"left"}},setup(r){const o=e.useSlots(),t=r,{b:a,m:u}=_.useNamespace("ap-ladder"),i=b.useGlobalConfig("uiMode","aplus"),s=e.computed(()=>t.labelValues===void 0||t.labelValues.length===0),c=e.computed(()=>t.labelValues.length>0),d=e.computed(()=>t.labelAlign),m=l=>n.isNull(l)?"":typeof l=="number"?l.toString():typeof l=="string"?l:"",p=v.memoize(m,n.createMemoizeKey),f=l=>{l.link&&window.open(l.link,"_blank"),typeof l.handleClickLink=="function"&&l.handleClickLink()};return(l,k)=>e.withMemo([l.labelValues,l.major,l.minor],()=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(a)(),`${e.unref(u)(e.unref(i))}`])},[s.value?(e.openBlock(),e.createBlock(g.default,{key:0,major:t.major,minor:t.minor,layout:t.layout,"convert-value":e.unref(p)},e.createSlots({_:2},[o.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"title")]),key:"0"}:void 0]),1032,["major","minor","layout","convert-value"])):c.value?(e.openBlock(),e.createBlock(y.default,{key:1,"label-values":t.labelValues||{},"label-align":d.value,onHandleClick:f},e.createSlots({_:2},[o.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"title")]),key:"0"}:void 0]),1032,["label-values","label-align"])):e.createCommentVNode("",!0)],2)),k,0)}});exports.default=C;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
title?(_: {}): any;
|
|
6
6
|
};
|
|
7
7
|
refs: {};
|
|
8
|
-
rootEl:
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -17,38 +17,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
17
17
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
18
18
|
default: null;
|
|
19
19
|
};
|
|
20
|
-
majorStyles: {
|
|
21
|
-
type: PropType<CSSProperties>;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
|
-
majorColorStyles: {
|
|
25
|
-
type: PropType<CSSProperties>;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
|
-
minorStyles: {
|
|
29
|
-
type: PropType<CSSProperties>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
minorColorStyles: {
|
|
33
|
-
type: PropType<CSSProperties>;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
tooltipProps: {
|
|
37
|
-
type: ObjectConstructor;
|
|
38
|
-
default: () => {};
|
|
39
|
-
};
|
|
40
20
|
layout: {
|
|
41
21
|
type: StringConstructor;
|
|
42
22
|
default: string;
|
|
43
23
|
};
|
|
44
|
-
tooltip: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
convertValue: {
|
|
49
|
-
type: FunctionConstructor;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
24
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
53
25
|
major: {
|
|
54
26
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
@@ -58,49 +30,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
58
30
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
59
31
|
default: null;
|
|
60
32
|
};
|
|
61
|
-
majorStyles: {
|
|
62
|
-
type: PropType<CSSProperties>;
|
|
63
|
-
default: () => {};
|
|
64
|
-
};
|
|
65
|
-
majorColorStyles: {
|
|
66
|
-
type: PropType<CSSProperties>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
|
-
minorStyles: {
|
|
70
|
-
type: PropType<CSSProperties>;
|
|
71
|
-
default: () => {};
|
|
72
|
-
};
|
|
73
|
-
minorColorStyles: {
|
|
74
|
-
type: PropType<CSSProperties>;
|
|
75
|
-
default: () => {};
|
|
76
|
-
};
|
|
77
|
-
tooltipProps: {
|
|
78
|
-
type: ObjectConstructor;
|
|
79
|
-
default: () => {};
|
|
80
|
-
};
|
|
81
33
|
layout: {
|
|
82
34
|
type: StringConstructor;
|
|
83
35
|
default: string;
|
|
84
36
|
};
|
|
85
|
-
tooltip: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
convertValue: {
|
|
90
|
-
type: FunctionConstructor;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
37
|
}>> & Readonly<{}>, {
|
|
94
38
|
layout: string;
|
|
95
|
-
tooltip: boolean;
|
|
96
39
|
major: string | number | Function | Record<string, any>;
|
|
97
40
|
minor: string | number | Function | Record<string, any>;
|
|
98
|
-
|
|
99
|
-
majorStyles: CSSProperties;
|
|
100
|
-
majorColorStyles: CSSProperties;
|
|
101
|
-
minorStyles: CSSProperties;
|
|
102
|
-
minorColorStyles: CSSProperties;
|
|
103
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
104
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
105
43
|
export default _default;
|
|
106
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const o=require("../../../config-provider/hooks/use-namespace.js"),i=["title"],s=["title"],m=["title"],c=["title"],u=e.defineComponent({name:"ApLadderSimpleMode",__name:"SimpleMode",props:{major:{type:[String,Number,Function,Object],default:null},minor:{type:[String,Number,Function,Object],default:null},layout:{type:String,default:"vertical"}},setup(t){const{b:n,e:l,m:a}=o.useNamespace("ap-ladder");return(r,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(n)("simple-mode")])},[t.layout==="vertical"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(n)("base"),e.unref(a)("vertical")])},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(l)("major")]),title:String(t.major)},e.toDisplayString(t.major),11,i),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l)("minor")]),title:String(t.major)},e.toDisplayString(t.minor),11,s)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(n)("base"),e.unref(a)("horizontal")])},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(l)("major")]),title:String(t.major)},e.toDisplayString(t.major),11,m),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l)("minor")]),title:String(t.major)},e.toDisplayString(t.minor),11,c)],2)),r.$slots.title?e.renderSlot(r.$slots,"title",{key:2}):e.createCommentVNode("",!0)],2))}});exports.default=u;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CSSProperties, PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
1
|
import { ApLadderLabelValue } from '../interface';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
6
6
|
title?(_: {}): any;
|
|
7
7
|
};
|
|
8
8
|
refs: {};
|
|
9
|
-
rootEl:
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -18,38 +18,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
labelStyles: {
|
|
22
|
-
type: PropType<CSSProperties>;
|
|
23
|
-
default: () => {};
|
|
24
|
-
};
|
|
25
|
-
valueStyles: {
|
|
26
|
-
type: PropType<CSSProperties>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
|
-
linkStyles: {
|
|
30
|
-
type: PropType<CSSProperties>;
|
|
31
|
-
default: () => {};
|
|
32
|
-
};
|
|
33
|
-
unitStyles: {
|
|
34
|
-
type: PropType<CSSProperties>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
tooltipLabelStyles: {
|
|
38
|
-
type: PropType<CSSProperties>;
|
|
39
|
-
default: () => {};
|
|
40
|
-
};
|
|
41
|
-
tooltipValueStyles: {
|
|
42
|
-
type: PropType<CSSProperties>;
|
|
43
|
-
default: () => {};
|
|
44
|
-
};
|
|
45
|
-
tooltipProps: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
default: () => {};
|
|
48
|
-
};
|
|
49
|
-
tooltip: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
21
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
54
22
|
handleClick: (...args: any[]) => void;
|
|
55
23
|
"update:valueRefs": (...args: any[]) => void;
|
|
@@ -62,53 +30,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
62
30
|
type: StringConstructor;
|
|
63
31
|
default: string;
|
|
64
32
|
};
|
|
65
|
-
labelStyles: {
|
|
66
|
-
type: PropType<CSSProperties>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
|
-
valueStyles: {
|
|
70
|
-
type: PropType<CSSProperties>;
|
|
71
|
-
default: () => {};
|
|
72
|
-
};
|
|
73
|
-
linkStyles: {
|
|
74
|
-
type: PropType<CSSProperties>;
|
|
75
|
-
default: () => {};
|
|
76
|
-
};
|
|
77
|
-
unitStyles: {
|
|
78
|
-
type: PropType<CSSProperties>;
|
|
79
|
-
default: () => {};
|
|
80
|
-
};
|
|
81
|
-
tooltipLabelStyles: {
|
|
82
|
-
type: PropType<CSSProperties>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
tooltipValueStyles: {
|
|
86
|
-
type: PropType<CSSProperties>;
|
|
87
|
-
default: () => {};
|
|
88
|
-
};
|
|
89
|
-
tooltipProps: {
|
|
90
|
-
type: ObjectConstructor;
|
|
91
|
-
default: () => {};
|
|
92
|
-
};
|
|
93
|
-
tooltip: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
33
|
}>> & Readonly<{
|
|
98
34
|
onHandleClick?: ((...args: any[]) => any) | undefined;
|
|
99
35
|
"onUpdate:valueRefs"?: ((...args: any[]) => any) | undefined;
|
|
100
36
|
}>, {
|
|
101
|
-
tooltip: boolean;
|
|
102
37
|
labelAlign: string;
|
|
103
|
-
tooltipProps: Record<string, any>;
|
|
104
38
|
labelValues: ApLadderLabelValue[];
|
|
105
|
-
|
|
106
|
-
valueStyles: CSSProperties;
|
|
107
|
-
linkStyles: CSSProperties;
|
|
108
|
-
unitStyles: CSSProperties;
|
|
109
|
-
tooltipLabelStyles: CSSProperties;
|
|
110
|
-
tooltipValueStyles: CSSProperties;
|
|
111
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
112
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
113
41
|
export default _default;
|
|
114
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const r=require("../utils.js"),d=require("../../../config-provider/hooks/use-namespace.js"),v=["title"],p=["title"],C=["href","title","onClick"],f=["title","onClick"],g=["title"],y=e.defineComponent({name:"ApLadderValueGroupMode",__name:"ValueGroupMode",props:{labelValues:{type:Array,default:()=>[]},labelAlign:{type:String,default:""}},emits:["update:valueRefs","handleClick"],setup(l,{emit:i}){const s=i,{e:o}=d.useNamespace("ap-ladder"),c=n=>e.isVNode(n)||typeof n=="function",u=n=>e.isVNode(n.value)?e.h(n.value):typeof n.value=="function"?e.h(n.value()):null,a=n=>{s("handleClick",n)};return(n,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(o)("value-group-mode"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.labelValues,(t,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,class:e.normalizeClass([e.unref(o)("value-group-item"),t.label===""&&e.unref(o)("value-group-value-end")])},[t.label?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(o)("value-group-label"),l.labelAlign?e.unref(o)(`value-group-label-${l.labelAlign}`):null]),style:e.normalizeStyle(t.labelColor?{color:t.labelColor}:null),title:String(t.label)},e.toDisplayString(t.label),15,v)):e.createCommentVNode("",!0),t.label?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(o)("value-group-label-semicolon"))},":",2)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(o)("value-group-value")),title:String(e.unref(r.convertValue)(t.value,{...t}))},[c(t.value)?(e.openBlock(),e.createBlock(u,{key:0,value:t.value},null,8,["value"])):t.link?(e.openBlock(),e.createElementBlock("a",{key:1,href:t.link,target:"_blank",class:e.normalizeClass(e.unref(o)("value-group-link")),title:String(t.value),style:e.normalizeStyle(t.linkColor?{color:t.linkColor}:null),onClick:e.withModifiers(k=>a(t),["prevent"])},e.toDisplayString(e.unref(r.convertValue)(t.value,{...t})),15,C)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",{class:e.normalizeClass([t.handleValueClick?e.unref(o)("value-group-link"):null]),title:String(t.value),style:e.normalizeStyle(t.valueColor?{color:t.valueColor}:null),onClick:k=>t.handleValueClick&&t.handleValueClick(l.labelValues)},e.toDisplayString(e.unref(r.convertValue)(t.value,{...t})),15,f),t.unit?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(o)("value-group-unit")),title:String(e.unref(r.convertValue)(t.value,{...t})),style:e.normalizeStyle(t.unitColor?{color:t.unitColor}:null)},e.toDisplayString(t.unit),15,g)):e.createCommentVNode("",!0)],64))],10,p),n.$slots.title?e.renderSlot(n.$slots,"title",{key:2}):e.createCommentVNode("",!0)],2))),128))],2))}});exports.default=y;
|