@aplus-frontend/ui 0.5.18 → 0.5.19
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 +30 -30
- 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-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- 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.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/modal-form/index.vue.d.ts +3 -4
- 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 +3 -4
- 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 +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- 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 +2 -4
- 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 +2 -4
- 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 +2 -4
- 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.mjs +40 -40
- 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/hooks/use-table-paging-ng.mjs +108 -107
- package/es/src/ap-table/interface.d.ts +8 -0
- 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 +2 -7
- 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 +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- 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 +2 -6
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +50 -50
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +40 -37
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +118 -122
- package/es/src/business/ap-ladder/index.d.ts +1 -3
- package/es/src/business/ap-ladder/interface.d.ts +16 -16
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- 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 +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- 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 +46 -41
- package/es/src/text/interface.d.ts +6 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- 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-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- 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/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +8 -0
- 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 +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -3
- package/lib/src/business/ap-ladder/interface.d.ts +16 -16
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/text/interface.d.ts +6 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +1 -1
- package/theme/ap-ladder/ap-ladder.css +41 -1
- package/theme/ap-ladder/ap-ladder.less +41 -2
- package/theme/index.css +41 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const p=require("../interface.js"),k=require("../../../config-provider/hooks/use-namespace.js"),f={key:0},S=["href","onClick"],v={key:0},C={key:0},g=e.defineComponent({name:"ApLadderValueGroupMode",__name:"ValueGroupMode",props:{labelValues:{type:Array,default:()=>[]},labelAlign:{type:String,default:""},labelStyles:{type:Object,default:()=>({})},valueStyles:{type:Object,default:()=>({})},linkStyles:{type:Object,default:()=>({})},unitStyles:{type:Object,default:()=>({})},tooltipLabelStyles:{type:Object,default:()=>({})},tooltipValueStyles:{type:Object,default:()=>({})},tooltipProps:{type:Object,default:()=>({})},tooltip:{type:Boolean,default:!1}},emits:["update:valueRefs","handleClick"],setup(l,{emit:u}){const y=u,{e:r}=k.useNamespace("ap-ladder"),a=o=>e.isVNode(o)||typeof o=="function",s=o=>{const{value:n,style:t}=o;return e.isVNode(n)?e.h(n,{style:t}):typeof n=="function"?e.h(n(),{ref:e.ref,style:{...t}}):null},i=(o,n={rawValue:!0,precision:2,thousand:!0,thousandSeparator:",",currency:"CNY",percent:!1})=>{if(Object.prototype.toString.call(o)==="[object Null]"||Object.prototype.toString.call(o)==="[object Undefined]"||Object.prototype.toString.call(o)==="[object Object]"||Object.prototype.toString.call(o)==="[object Function]")return"--";if(typeof o=="number"){if(n.percent)return`${o.toFixed(n.precision)}%`;if(n.currency)return o.toLocaleString(p.locales[n.currency?n.currency:"CNY"],{style:"currency",currency:n.currency?n.currency:"CNY"});if(n.thousand){const[t,c]=o.toFixed(n.precision?n.precision:2).split(".");return`${t.replace(/(\d)(?=(\d{3})+(?!\d))/g,`$1${n.thousandSeparator?n.thousandSeparator:","}`)}.${c}`}return o.toFixed(n.precision?n.precision:2)}return o},d=o=>{y("handleClick",o)};return(o,n)=>(e.openBlock(),e.createBlock(e.unref(m.Tooltip),e.normalizeProps(e.guardReactiveProps(l.tooltipProps)),e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("value-group"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.labelValues,(t,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,class:e.normalizeClass(e.unref(r)("value-group-item"))},[t.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(r)("value-group-label"),l.labelAlign&&`label-align-${l.labelAlign}`]),style:e.normalizeStyle(t.labelStyles)},[e.createTextVNode(e.toDisplayString(t.label),1),t.label?(e.openBlock(),e.createElementBlock("span",f,":")):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("value-group-value"))},[a(t.value)?(e.openBlock(),e.createBlock(s,{key:0,value:t.value,style:e.normalizeStyle([t.labelColor,t.valueStyles])},null,8,["value","style"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.link?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.link,target:"_blank",class:e.normalizeClass(e.unref(r)("value-group-link")),style:e.normalizeStyle([l.linkStyles,t.linkStyles,t.linkColor?{color:t.linkColor}:void 0]),onClick:e.withModifiers(B=>d(t),["prevent"])},e.toDisplayString(i(t.value,{...t})),15,S)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",{style:e.normalizeStyle([l.valueStyles,t.valueStyles,t.valueColor?{color:t.valueColor}:void 0])},e.toDisplayString(i(t.value,{...t})),5),t.unit?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(r)("value-group-unit")),style:e.normalizeStyle([l.unitStyles,t.unitStyles,t.unitColor?{color:t.unitColor}:void 0])},e.toDisplayString(t.unit),7)):e.createCommentVNode("",!0)],64))],64))],2)],2))),128))],2)]),_:2},[o.$slots.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"title")]),key:"0"}:l.tooltip?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r)("tooltip"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.labelValues,(t,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,class:e.normalizeClass(e.unref(r)("tooltip-item"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(r)("tooltip-label")),style:e.normalizeStyle(l.tooltipLabelStyles)},e.toDisplayString(t.label?t.label:"--")+": ",7),a(t.value)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(r)("tooltip-value")),style:e.normalizeStyle(l.tooltipValueStyles)},[e.createVNode(s,{value:t.value,style:e.normalizeStyle([t.tooltipValueStyles])},null,8,["value","style"]),t.unit?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.unit),1)):e.createCommentVNode("",!0)],6)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(r)("tooltip-value")),style:e.normalizeStyle(l.tooltipValueStyles)},[e.createTextVNode(e.toDisplayString(i(t.value,{...t}))+" ",1),t.unit?(e.openBlock(),e.createElementBlock("span",C,e.toDisplayString(t.unit),1)):e.createCommentVNode("",!0)],6))],2))),128))],2)]),key:"1"}:void 0]),1040))}});exports.default=g;
|
|
@@ -90,9 +90,7 @@ declare const ApLadder: {
|
|
|
90
90
|
labelValues: Array< ApLadderLabelValue>;
|
|
91
91
|
majorColor: string;
|
|
92
92
|
minorColor: string;
|
|
93
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
94
|
-
wrapperRef: HTMLDivElement;
|
|
95
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
93
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
96
94
|
P: {};
|
|
97
95
|
B: {};
|
|
98
96
|
D: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
2
|
-
import {
|
|
2
|
+
import { CSSProperties, VNode, VNodeChild } from 'vue';
|
|
3
3
|
/**
|
|
4
4
|
* Tooltip 需要的属性
|
|
5
5
|
*/
|
|
@@ -79,37 +79,37 @@ export interface ApLadderLabelValue {
|
|
|
79
79
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
80
80
|
* @since v0.4.7 新增
|
|
81
81
|
*/
|
|
82
|
-
labelStyles?:
|
|
82
|
+
labelStyles?: CSSProperties;
|
|
83
83
|
/**
|
|
84
84
|
* 健值对 - value样式
|
|
85
85
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
86
86
|
* @since v0.4.7 新增
|
|
87
87
|
*/
|
|
88
|
-
valueStyles?:
|
|
88
|
+
valueStyles?: CSSProperties;
|
|
89
89
|
/**
|
|
90
90
|
* 健值对 - link样式
|
|
91
91
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
92
92
|
* @since v0.4.7 新增
|
|
93
93
|
*/
|
|
94
|
-
linkStyles?:
|
|
94
|
+
linkStyles?: CSSProperties;
|
|
95
95
|
/**
|
|
96
96
|
* 健值对 - unit样式
|
|
97
97
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
98
98
|
* @since v0.4.7 新增
|
|
99
99
|
*/
|
|
100
|
-
unitStyles?:
|
|
100
|
+
unitStyles?: CSSProperties;
|
|
101
101
|
/**
|
|
102
102
|
* Tooltip - Label style
|
|
103
103
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
104
104
|
* @since v0.4.7 新增
|
|
105
105
|
*/
|
|
106
|
-
tooltipLabelStyles?:
|
|
106
|
+
tooltipLabelStyles?: CSSProperties;
|
|
107
107
|
/**
|
|
108
108
|
* Tooltip - Value style
|
|
109
109
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
110
110
|
* @since v0.4.7 新增
|
|
111
111
|
*/
|
|
112
|
-
tooltipValueStyles?:
|
|
112
|
+
tooltipValueStyles?: CSSProperties;
|
|
113
113
|
/**
|
|
114
114
|
* 帮助气泡
|
|
115
115
|
*/
|
|
@@ -123,7 +123,7 @@ export interface ApLadderLabelValue {
|
|
|
123
123
|
/**
|
|
124
124
|
* 帮助气泡 - 图标 - 样式
|
|
125
125
|
*/
|
|
126
|
-
helpMessageIconStyles?:
|
|
126
|
+
helpMessageIconStyles?: CSSProperties;
|
|
127
127
|
/**
|
|
128
128
|
* 帮助气泡 - 扩展tooltip props
|
|
129
129
|
*/
|
|
@@ -153,7 +153,7 @@ export interface ApLadderProps {
|
|
|
153
153
|
* 自定义重要信息 style
|
|
154
154
|
* @since v0.4.7 新增
|
|
155
155
|
*/
|
|
156
|
-
majorStyles?:
|
|
156
|
+
majorStyles?: CSSProperties;
|
|
157
157
|
/**
|
|
158
158
|
* 自定义次要信息颜色
|
|
159
159
|
* @deprecated 注意:v0.4.7版本之后就别用这个属性了 后面将不再支持
|
|
@@ -164,7 +164,7 @@ export interface ApLadderProps {
|
|
|
164
164
|
* 自定义次要信息 style
|
|
165
165
|
* @since v0.4.7 新增
|
|
166
166
|
*/
|
|
167
|
-
minorStyles?:
|
|
167
|
+
minorStyles?: CSSProperties;
|
|
168
168
|
/**
|
|
169
169
|
* 布局方式
|
|
170
170
|
* - `vertical` 垂直布局
|
|
@@ -192,25 +192,25 @@ export interface ApLadderProps {
|
|
|
192
192
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
193
193
|
* @since v0.4.7 新增
|
|
194
194
|
*/
|
|
195
|
-
labelStyles?:
|
|
195
|
+
labelStyles?: CSSProperties;
|
|
196
196
|
/**
|
|
197
197
|
* 健值对 - value样式
|
|
198
198
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
199
199
|
* @since v0.4.7 新增
|
|
200
200
|
*/
|
|
201
|
-
valueStyles?:
|
|
201
|
+
valueStyles?: CSSProperties;
|
|
202
202
|
/**
|
|
203
203
|
* 健值对 - link样式
|
|
204
204
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
205
205
|
* @since v0.4.7 新增
|
|
206
206
|
*/
|
|
207
|
-
linkStyles?:
|
|
207
|
+
linkStyles?: CSSProperties;
|
|
208
208
|
/**
|
|
209
209
|
* 健值对 - unit样式
|
|
210
210
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
211
211
|
* @since v0.4.7 新增
|
|
212
212
|
*/
|
|
213
|
-
unitStyles?:
|
|
213
|
+
unitStyles?: CSSProperties;
|
|
214
214
|
/**
|
|
215
215
|
* 扩展 Tooltip
|
|
216
216
|
*/
|
|
@@ -220,13 +220,13 @@ export interface ApLadderProps {
|
|
|
220
220
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
221
221
|
* @since v0.4.7 新增
|
|
222
222
|
*/
|
|
223
|
-
tooltipLabelStyles?:
|
|
223
|
+
tooltipLabelStyles?: CSSProperties;
|
|
224
224
|
/**
|
|
225
225
|
* Tooltip - Value style
|
|
226
226
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
227
227
|
* @since v0.4.7 新增
|
|
228
228
|
*/
|
|
229
|
-
tooltipValueStyles?:
|
|
229
|
+
tooltipValueStyles?: CSSProperties;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
232
|
* ApLadder Slots 类型声明
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode,
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,9 +38,7 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}> & {
|
|
41
|
+
}>) => VNode & {
|
|
44
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
45
43
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
46
44
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__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 onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,9 +19,7 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
22
|
+
}>) => VNode & {
|
|
25
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
24
|
};
|
|
27
25
|
export default _default;
|
|
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
5
|
+
export declare const useNamespace: (
|
|
6
|
+
/**
|
|
7
|
+
* 块 一般是指组件名
|
|
8
|
+
*/
|
|
9
|
+
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
6
10
|
namespace: ComputedRef<string>;
|
|
7
11
|
b: (blockSuffix?: string) => string;
|
|
8
12
|
e: (element?: string) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
2
2
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
5
|
declare const _default: <RecordType = 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<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
@@ -48,9 +48,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
48
48
|
}) => void;
|
|
49
49
|
};
|
|
50
50
|
emit: {};
|
|
51
|
-
}>) => VNode
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}> & {
|
|
51
|
+
}>) => VNode & {
|
|
54
52
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
55
53
|
};
|
|
56
54
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { EditableTableProps, EditableColumnType } from './interface';
|
|
|
2
2
|
import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
6
6
|
declare const _default: <RecordType extends Recordable = 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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
8
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -53,9 +53,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
53
53
|
}) => void;
|
|
54
54
|
};
|
|
55
55
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
56
|
-
}>) => VNode
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
}> & {
|
|
56
|
+
}>) => VNode & {
|
|
59
57
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
60
58
|
};
|
|
61
59
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
110
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
122
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?:
|
|
4
|
-
lang?:
|
|
3
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?:
|
|
7
|
-
lang?:
|
|
6
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -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"),u=require("@aplus-frontend/antdv"),o=require("lodash-unified");require("../config-provider/index.js");const v=require("./context.js"),g=require("../config-provider/hooks/use-namespace.js"),S=e.defineComponent({__name:"index",props:{ellipsis:{type:[Boolean,Object]},delete:{type:Boolean},type:{},code:{type:Boolean},mark:{type:Boolean},strong:{type:Boolean},content:{},underline:{type:Boolean},disabled:{type:Boolean},prefixCls:{},editable:{type:[Boolean,Object]},keyboard:{type:Boolean},copyable:{type:[Boolean,Object]},"onUpdate:content":{},label:{},colon:{type:Boolean,default:void 0},vertical:{type:Boolean,default:void 0},labelStyle:{default:void 0},link:{type:[Boolean,String]},linkProps:{default:()=>({})},onClickContent:{},class:{},style:{}},setup(d){const s=e.useSlots(),l=d,{b:p,e:a,em:f,m}=g.useNamespace("ap-text"),{colon:t,vertical:r,labelStyle:y}=v.useInjectApTextGroup(),k=e.computed(()=>o.isUndefined(l.colon)?o.isUndefined(t==null?void 0:t.value)?!0:t.value:l.colon),b=e.computed(()=>o.isUndefined(l.vertical)?o.isUndefined(r==null?void 0:r.value)?!1:r.value:l.vertical),B=e.computed(()=>{const n=e.unref(y)||{};return Object.assign(n,l.labelStyle||{}),n}),i=e.computed(()=>{if(l.label)return e.isVNode(l.label)?l.label:e.createVNode(e.Fragment,null,[l.label])});return(n,N)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p)(),{[e.unref(m)("vertical")]:b.value}])},[i.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(a)("label"),{[e.unref(f)("label","no-colon")]:!k.value}]),style:e.normalizeStyle(B.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value)))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("content"))},[n.link?(e.openBlock(),e.createBlock(e.unref(u.TypographyLink),e.mergeProps({key:0},{href:e.unref(o.isString)(n.link)?n.link:void 0,...n.linkProps},{onClick:n.onClickContent}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["onClick"])):(e.openBlock(),e.createBlock(e.unref(u.TypographyText),e.mergeProps({key:1},e.unref(o.omit)(l,["label","colon","link","linkProps","vertical","labelStyle"]),{onClick:n.onClickContent}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.content||"--"),1)])]),_:2},[e.renderList(e.unref(o.omit)(s,["default","addonAfter"]),(h,c)=>({name:c,fn:e.withCtx(C=>[e.renderSlot(n.$slots,c,e.normalizeProps(e.guardReactiveProps(C||{})))])}))]),1040,["onClick"])),s.addonAfter?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(a)("content-addon-after"))},[e.renderSlot(n.$slots,"addonAfter")],2)):e.createCommentVNode("",!0)],2)],2))}});exports.default=S;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { WorkOrderModalProps } from './interfaces';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
|
-
import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath,
|
|
4
|
+
import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
8
8
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
11
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, ApFormInternalInstance, WatchFunc } from '..';
|
|
14
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -113,7 +112,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
113
112
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
114
113
|
readonly initialValues?: Recordable | undefined;
|
|
115
114
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
116
|
-
readonly syncToUrl?:
|
|
115
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
117
116
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
118
117
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
119
118
|
$attrs: {
|
package/package.json
CHANGED
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
.aplus-ap-ladder__value-group-item {
|
|
10
10
|
display: flex;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
min-width: 0;
|
|
11
15
|
}
|
|
12
16
|
.aplus-ap-ladder__value-group-label {
|
|
13
17
|
display: inline-block;
|
|
@@ -27,9 +31,45 @@
|
|
|
27
31
|
color: #0070ff !important;
|
|
28
32
|
text-decoration: none !important;
|
|
29
33
|
}
|
|
30
|
-
.aplus-ap-ladder
|
|
34
|
+
.aplus-ap-ladder-base {
|
|
31
35
|
display: flex;
|
|
36
|
+
}
|
|
37
|
+
.aplus-ap-ladder--vertical {
|
|
32
38
|
flex-direction: column;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
.aplus-ap-ladder--vertical > * {
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
text-overflow: ellipsis;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
min-width: 0;
|
|
48
|
+
}
|
|
49
|
+
.aplus-ap-ladder--horizontal {
|
|
50
|
+
flex-direction: row;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
}
|
|
55
|
+
.aplus-ap-ladder--horizontal > * {
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
text-overflow: ellipsis;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
}
|
|
61
|
+
.aplus-ap-ladder__tooltip-item {
|
|
62
|
+
display: flex;
|
|
63
|
+
}
|
|
64
|
+
.aplus-ap-ladder__tooltip-label {
|
|
65
|
+
min-width: 50px;
|
|
66
|
+
word-break: break-all;
|
|
67
|
+
}
|
|
68
|
+
.aplus-ap-ladder__tooltip-value {
|
|
69
|
+
word-break: break-all;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
72
|
+
white-space: nowrap;
|
|
33
73
|
}
|
|
34
74
|
.aplus-ap-ladder__cross-bar {
|
|
35
75
|
display: flex;
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
&__value-group-item{
|
|
12
12
|
display: flex;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
min-width: 0; // Import
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
&__value-group-label{
|
|
@@ -31,9 +35,45 @@
|
|
|
31
35
|
text-decoration: none !important;
|
|
32
36
|
}
|
|
33
37
|
|
|
34
|
-
|
|
38
|
+
&-base{
|
|
35
39
|
display: flex;
|
|
40
|
+
}
|
|
41
|
+
&--vertical{
|
|
36
42
|
flex-direction: column;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
> * {
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
min-width: 0; // Important for flex children to be able to shrink below content size
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&--horizontal{
|
|
54
|
+
flex-direction: row;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
text-overflow: ellipsis;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
> * {
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
min-width: 0; // Important for flex children to be able to shrink below content size
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&__tooltip-item{
|
|
66
|
+
display: flex;
|
|
67
|
+
}
|
|
68
|
+
&__tooltip-label{
|
|
69
|
+
min-width: 50px;
|
|
70
|
+
word-break: break-all;
|
|
71
|
+
}
|
|
72
|
+
&__tooltip-value{
|
|
73
|
+
word-break: break-all;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
white-space: nowrap;
|
|
37
77
|
}
|
|
38
78
|
&__cross-bar {
|
|
39
79
|
display: flex;
|
|
@@ -41,7 +81,6 @@
|
|
|
41
81
|
}
|
|
42
82
|
/** 自动溢出省略 */
|
|
43
83
|
&__ellipsis {
|
|
44
|
-
// min-width: 120px;
|
|
45
84
|
overflow: hidden;
|
|
46
85
|
text-overflow: ellipsis;
|
|
47
86
|
white-space: nowrap;
|
package/theme/index.css
CHANGED
|
@@ -596,6 +596,10 @@
|
|
|
596
596
|
}
|
|
597
597
|
.aplus-ap-ladder__value-group-item {
|
|
598
598
|
display: flex;
|
|
599
|
+
overflow: hidden;
|
|
600
|
+
text-overflow: ellipsis;
|
|
601
|
+
white-space: nowrap;
|
|
602
|
+
min-width: 0;
|
|
599
603
|
}
|
|
600
604
|
.aplus-ap-ladder__value-group-label {
|
|
601
605
|
display: inline-block;
|
|
@@ -615,9 +619,45 @@
|
|
|
615
619
|
color: #0070ff !important;
|
|
616
620
|
text-decoration: none !important;
|
|
617
621
|
}
|
|
618
|
-
.aplus-ap-ladder
|
|
622
|
+
.aplus-ap-ladder-base {
|
|
619
623
|
display: flex;
|
|
624
|
+
}
|
|
625
|
+
.aplus-ap-ladder--vertical {
|
|
620
626
|
flex-direction: column;
|
|
627
|
+
overflow: hidden;
|
|
628
|
+
text-overflow: ellipsis;
|
|
629
|
+
white-space: nowrap;
|
|
630
|
+
}
|
|
631
|
+
.aplus-ap-ladder--vertical > * {
|
|
632
|
+
overflow: hidden;
|
|
633
|
+
text-overflow: ellipsis;
|
|
634
|
+
white-space: nowrap;
|
|
635
|
+
min-width: 0;
|
|
636
|
+
}
|
|
637
|
+
.aplus-ap-ladder--horizontal {
|
|
638
|
+
flex-direction: row;
|
|
639
|
+
overflow: hidden;
|
|
640
|
+
text-overflow: ellipsis;
|
|
641
|
+
white-space: nowrap;
|
|
642
|
+
}
|
|
643
|
+
.aplus-ap-ladder--horizontal > * {
|
|
644
|
+
overflow: hidden;
|
|
645
|
+
text-overflow: ellipsis;
|
|
646
|
+
white-space: nowrap;
|
|
647
|
+
min-width: 0;
|
|
648
|
+
}
|
|
649
|
+
.aplus-ap-ladder__tooltip-item {
|
|
650
|
+
display: flex;
|
|
651
|
+
}
|
|
652
|
+
.aplus-ap-ladder__tooltip-label {
|
|
653
|
+
min-width: 50px;
|
|
654
|
+
word-break: break-all;
|
|
655
|
+
}
|
|
656
|
+
.aplus-ap-ladder__tooltip-value {
|
|
657
|
+
word-break: break-all;
|
|
658
|
+
overflow: hidden;
|
|
659
|
+
text-overflow: ellipsis;
|
|
660
|
+
white-space: nowrap;
|
|
621
661
|
}
|
|
622
662
|
.aplus-ap-ladder__cross-bar {
|
|
623
663
|
display: flex;
|