@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +124 -118
- package/es/src/ap-field/checkbox/helper.d.ts +6 -0
- package/es/src/ap-field/date/constant.d.ts +1 -0
- package/es/src/ap-field/index.d.ts +5 -0
- package/es/src/ap-field/interface.d.ts +29 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +14 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +58 -0
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +76 -0
- package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.d.ts +1681 -0
- package/es/src/ap-form/ap-form.mjs +5 -0
- package/es/src/ap-form/constant.d.ts +3 -0
- package/es/src/ap-form/constant.mjs +17 -0
- package/es/src/ap-form/index.d.ts +2593 -0
- package/es/src/ap-form/index.mjs +10 -0
- package/es/src/ap-form/interface.d.ts +7 -0
- package/es/src/ap-form/style/ap-form-item-group.css +9 -0
- package/es/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +53 -48
- package/es/src/base-button/modal-button.vue.d.ts +8 -6
- package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/es/src/basic/arrow.vue.d.ts +4 -3
- package/es/src/basic/help.vue.d.ts +6 -6
- package/es/src/basic/index.d.ts +196 -70
- package/es/src/basic/title.vue.d.ts +5 -4
- package/es/src/button/index.d.ts +20 -15
- package/es/src/config-provider/config-provider-props.d.ts +28 -16
- package/es/src/config-provider/config-provider-props.mjs +8 -4
- package/es/src/config-provider/config-provider.d.ts +92 -68
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +532 -156
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +4 -4
- package/es/src/container/index.d.ts +119 -38
- package/es/src/container/scroll-container.vue.d.ts +5 -4
- package/es/src/count-down/button.vue.d.ts +5 -4
- package/es/src/count-down/index.d.ts +88 -41
- package/es/src/count-down/input.vue.d.ts +5 -4
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/es/src/cropper/cropper-image.vue.d.ts +7 -7
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +308 -93
- package/es/src/description/description.vue.d.ts +6 -6
- package/es/src/description/index.d.ts +169 -48
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/useControllableValue.d.ts +13 -0
- package/es/src/hooks/useControllableValue.mjs +24 -0
- package/es/src/hooks/useMessage.d.ts +9 -7
- package/es/src/icon/icon.vue.d.ts +5 -4
- package/es/src/icon/index.d.ts +175 -52
- package/es/src/icon/svg-icon.vue.d.ts +5 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +9 -8
- package/es/src/icon-picker/index.d.ts +160 -51
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +79 -75
- package/es/src/modal/basic.vue.d.ts +70 -64
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/es/src/modal/components/modal.d.ts +69 -63
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +144 -134
- package/es/src/modal/props.d.ts +19 -16
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
- package/es/src/pro-form/components/api-select.vue.d.ts +8 -7
- package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +7 -6
- package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/es/src/pro-form/hooks/use-label-width.d.ts +51 -50
- package/es/src/pro-form/pro-form.vue.d.ts +16 -13
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/es/src/pro-table/components/editable/index.d.ts +2 -2
- package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/es/src/pro-table/const.d.ts +3 -0
- package/es/src/pro-table/const.mjs +10 -4
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/interface.d.ts +4 -0
- package/es/src/pro-table/pro-table.vue.d.ts +45 -36
- package/es/src/pro-table/pro-table.vue.mjs +221 -211
- package/es/src/pro-table/style/pro-table.css +10 -5
- package/es/src/prompt/dialog.vue.d.ts +4 -3
- package/es/src/prompt/index.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +4 -3
- package/es/src/scroll-bar/index.d.ts +52 -53
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/es/src/scroll-bar/scroll-bar.vue.mjs +44 -44
- package/es/src/strength-meter/index.d.ts +26 -21
- package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/es/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/es/src/theme/pro-table/pro-table.css +10 -5
- package/es/src/transition/collapse-transition.vue.d.ts +2 -1
- package/es/src/transition/create-transition.d.ts +5 -5
- package/es/src/transition/index.d.ts +97 -96
- package/es/src/utils/slot.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +6 -0
- package/lib/src/ap-field/date/constant.d.ts +1 -0
- package/lib/src/ap-field/index.d.ts +5 -0
- package/lib/src/ap-field/interface.d.ts +29 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/lib/src/ap-form/ap-form-item.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.d.ts +1681 -0
- package/lib/src/ap-form/ap-form.js +1 -0
- package/lib/src/ap-form/constant.d.ts +3 -0
- package/lib/src/ap-form/constant.js +1 -0
- package/lib/src/ap-form/index.d.ts +2593 -0
- package/lib/src/ap-form/index.js +1 -0
- package/lib/src/ap-form/interface.d.ts +7 -0
- package/lib/src/ap-form/style/ap-form-item-group.css +9 -0
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +53 -48
- package/lib/src/base-button/modal-button.vue.d.ts +8 -6
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/lib/src/basic/arrow.vue.d.ts +4 -3
- package/lib/src/basic/help.vue.d.ts +6 -6
- package/lib/src/basic/index.d.ts +196 -70
- package/lib/src/basic/title.vue.d.ts +5 -4
- package/lib/src/button/index.d.ts +20 -15
- package/lib/src/config-provider/config-provider-props.d.ts +28 -16
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +92 -68
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +532 -156
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +4 -4
- package/lib/src/container/index.d.ts +119 -38
- package/lib/src/container/scroll-container.vue.d.ts +5 -4
- package/lib/src/count-down/button.vue.d.ts +5 -4
- package/lib/src/count-down/index.d.ts +88 -41
- package/lib/src/count-down/input.vue.d.ts +5 -4
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/lib/src/cropper/cropper-image.vue.d.ts +7 -7
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +308 -93
- package/lib/src/description/description.vue.d.ts +6 -6
- package/lib/src/description/index.d.ts +169 -48
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/useControllableValue.d.ts +13 -0
- package/lib/src/hooks/useControllableValue.js +1 -0
- package/lib/src/hooks/useMessage.d.ts +9 -7
- package/lib/src/icon/icon.vue.d.ts +5 -4
- package/lib/src/icon/index.d.ts +175 -52
- package/lib/src/icon/svg-icon.vue.d.ts +5 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +9 -8
- package/lib/src/icon-picker/index.d.ts +160 -51
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +70 -64
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/lib/src/modal/components/modal.d.ts +69 -63
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +144 -134
- package/lib/src/modal/props.d.ts +19 -16
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
- package/lib/src/pro-form/components/api-select.vue.d.ts +8 -7
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +7 -6
- package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/lib/src/pro-form/hooks/use-label-width.d.ts +51 -50
- package/lib/src/pro-form/pro-form.vue.d.ts +16 -13
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/lib/src/pro-table/components/editable/index.d.ts +2 -2
- package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/lib/src/pro-table/const.d.ts +3 -0
- package/lib/src/pro-table/const.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/interface.d.ts +4 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +45 -36
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +10 -5
- package/lib/src/prompt/dialog.vue.d.ts +4 -3
- package/lib/src/prompt/index.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +4 -3
- package/lib/src/scroll-bar/index.d.ts +52 -53
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- package/lib/src/strength-meter/index.d.ts +26 -21
- package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/lib/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/lib/src/theme/pro-table/pro-table.css +10 -5
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
- package/lib/src/transition/create-transition.d.ts +5 -5
- package/lib/src/transition/index.d.ts +97 -96
- package/lib/src/utils/slot.d.ts +2 -2
- package/package.json +2 -2
- package/es/src/constants/component-setting.d.ts +0 -74
- package/es/src/constants/component-setting.mjs +0 -90
- package/lib/src/constants/component-setting.d.ts +0 -74
- package/lib/src/constants/component-setting.js +0 -1
|
@@ -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"),o=require("@aplus-frontend/utils"),p=require("./bar-item.js");require("./style/index.css");require("../config-provider/index.js");const S=require("../config-provider/hooks/use-global-config.js"),k=require("../config-provider/hooks/use-namespace.js"),B=e.defineComponent({name:"ApScrollbar",__name:"scroll-bar",props:{native:{type:Boolean},wrapStyle:{default:""},wrapClass:{default:""},viewClass:{default:""},viewStyle:{default:""},noresize:{type:Boolean},tag:{default:"div"},scrollHeight:{default:0}},setup(z,{expose:g}){var m;const h=S.useGlobalConfig(),a=z,w=!!((m=h.value.scrollbar)!=null&&m.native),n=e.computed(()=>a.native||w),u=e.ref("0"),c=e.ref("0"),f=e.ref(0),v=e.ref(0),r=e.ref(),s=e.ref(),{b:y,e:d,em:C}=k.useNamespace("scrollbar");e.provide("scroll-bar-wrap",r);const b=()=>{n.value||(v.value=e.unref(r).scrollTop*100/e.unref(r).clientHeight,f.value=e.unref(r).scrollLeft*100/e.unref(r).clientWidth)},t=()=>{if(!e.unref(r))return;const l=e.unref(r).clientHeight*100/e.unref(r).scrollHeight,i=e.unref(r).clientWidth*100/e.unref(r).scrollWidth;c.value=l<100?l+"%":"",u.value=i<100?i+"%":""};return e.watch(()=>a.scrollHeight,()=>{n.value||t()}),g({wrap:r}),e.onMounted(()=>{n.value||(e.nextTick(t),a.noresize||(o.addResizeListener(e.unref(s),t),o.addResizeListener(e.unref(r),t),addEventListener("resize",t)))}),e.onBeforeUnmount(()=>{n.value||a.noresize||(o.removeResizeListener(e.unref(s),t),o.removeResizeListener(e.unref(r),t),removeEventListener("resize",t))}),(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(y)())},[e.createElementVNode("div",{ref_key:"wrap",ref:r,class:e.normalizeClass([l.wrapClass,e.unref(d)("wrap"),n.value?"":e.unref(C)("wrap","hidden-default")]),style:e.normalizeStyle(l.wrapStyle),onScroll:b},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.tag),{ref_key:"resize",ref:s,class:e.normalizeClass([e.unref(d)("view"),l.viewClass]),style:e.normalizeStyle(l.viewStyle)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["class","style"]))],38),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(p.default),{move:f.value,size:u.value},null,8,["move","size"]),e.createVNode(e.unref(p.default),{vertical:"",move:v.value,size:c.value},null,8,["move","size"])],64))],2))}});exports.default=B;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
1
2
|
export * from './interface';
|
|
2
|
-
export declare const StrengthMeter:
|
|
3
|
-
new (...args: any[]):
|
|
3
|
+
export declare const StrengthMeter: {
|
|
4
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
4
5
|
value: {
|
|
5
|
-
type:
|
|
6
|
+
type: PropType<string>;
|
|
6
7
|
};
|
|
7
8
|
disabled: {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<boolean>;
|
|
9
10
|
};
|
|
10
11
|
showInput: {
|
|
11
|
-
type:
|
|
12
|
+
type: PropType<boolean>;
|
|
12
13
|
default: boolean;
|
|
13
14
|
};
|
|
14
15
|
}>> & {
|
|
15
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
17
|
"onScore-change"?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}, {}, unknown, {}, {},
|
|
18
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
19
|
change: (...args: any[]) => void;
|
|
19
20
|
"score-change": (...args: any[]) => void;
|
|
20
|
-
},
|
|
21
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
21
22
|
value: {
|
|
22
|
-
type:
|
|
23
|
+
type: PropType<string>;
|
|
23
24
|
};
|
|
24
25
|
disabled: {
|
|
25
|
-
type:
|
|
26
|
+
type: PropType<boolean>;
|
|
26
27
|
};
|
|
27
28
|
showInput: {
|
|
28
|
-
type:
|
|
29
|
+
type: PropType<boolean>;
|
|
29
30
|
default: boolean;
|
|
30
31
|
};
|
|
31
32
|
}>> & {
|
|
@@ -40,15 +41,15 @@ export declare const StrengthMeter: import('@aplus-frontend/utils/src/vue/instal
|
|
|
40
41
|
C: {};
|
|
41
42
|
M: {};
|
|
42
43
|
Defaults: {};
|
|
43
|
-
}, Readonly<
|
|
44
|
+
}, Readonly< ExtractPropTypes<{
|
|
44
45
|
value: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<string>;
|
|
46
47
|
};
|
|
47
48
|
disabled: {
|
|
48
|
-
type:
|
|
49
|
+
type: PropType<boolean>;
|
|
49
50
|
};
|
|
50
51
|
showInput: {
|
|
51
|
-
type:
|
|
52
|
+
type: PropType<boolean>;
|
|
52
53
|
default: boolean;
|
|
53
54
|
};
|
|
54
55
|
}>> & {
|
|
@@ -60,25 +61,29 @@ export declare const StrengthMeter: import('@aplus-frontend/utils/src/vue/instal
|
|
|
60
61
|
__isFragment?: undefined;
|
|
61
62
|
__isTeleport?: undefined;
|
|
62
63
|
__isSuspense?: undefined;
|
|
63
|
-
} &
|
|
64
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
64
65
|
value: {
|
|
65
|
-
type:
|
|
66
|
+
type: PropType<string>;
|
|
66
67
|
};
|
|
67
68
|
disabled: {
|
|
68
|
-
type:
|
|
69
|
+
type: PropType<boolean>;
|
|
69
70
|
};
|
|
70
71
|
showInput: {
|
|
71
|
-
type:
|
|
72
|
+
type: PropType<boolean>;
|
|
72
73
|
default: boolean;
|
|
73
74
|
};
|
|
74
75
|
}>> & {
|
|
75
76
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
77
|
"onScore-change"?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}, {}, unknown, {}, {},
|
|
78
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
78
79
|
change: (...args: any[]) => void;
|
|
79
80
|
"score-change": (...args: any[]) => void;
|
|
80
81
|
}, string, {
|
|
81
82
|
showInput: boolean;
|
|
82
|
-
}, {}, string, {}> &
|
|
83
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
83
84
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
84
|
-
})
|
|
85
|
+
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
86
|
+
$props: {
|
|
87
|
+
onClick?: (() => void) | undefined;
|
|
88
|
+
};
|
|
89
|
+
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { StrengthMeterProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StrengthMeterProps>, {
|
|
4
5
|
showInput: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {},
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
8
|
"score-change": (...args: any[]) => void;
|
|
8
|
-
}, string,
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StrengthMeterProps>, {
|
|
9
10
|
showInput: boolean;
|
|
10
11
|
}>>> & {
|
|
11
12
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -17,9 +18,9 @@ export default _default;
|
|
|
17
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
19
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
20
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
22
|
} : {
|
|
22
|
-
type:
|
|
23
|
+
type: PropType<T[K]>;
|
|
23
24
|
required: true;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
.aplus-pro-table {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
|
+
padding: 16px;
|
|
5
|
+
}
|
|
6
|
+
.aplus-pro-table-no-divide .ant-table-wrapper {
|
|
7
|
+
border-top-left-radius: 0 !important;
|
|
8
|
+
border-top-right-radius: 0 !important;
|
|
4
9
|
}
|
|
5
10
|
.aplus-pro-table-row__striped td {
|
|
6
11
|
background-color: #fafafa !important;
|
|
7
12
|
}
|
|
8
|
-
.aplus-pro-table-form-container {
|
|
9
|
-
padding: 16px;
|
|
10
|
-
}
|
|
11
13
|
.aplus-pro-table-form-container .ant-form {
|
|
12
14
|
width: 100%;
|
|
13
|
-
|
|
14
|
-
padding: 16px 16px 4px;
|
|
15
|
+
padding: 16px 16px 8px;
|
|
15
16
|
border-radius: 2px;
|
|
16
17
|
background-color: #fff;
|
|
17
18
|
}
|
|
19
|
+
.aplus-pro-table-form-container-no-divide .ant-form {
|
|
20
|
+
border-bottom-left-radius: 0 !important;
|
|
21
|
+
border-bottom-right-radius: 0 !important;
|
|
22
|
+
}
|
|
18
23
|
.aplus-pro-table .ant-table-cell .ant-tag {
|
|
19
24
|
margin-right: 0;
|
|
20
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
1
2
|
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>, {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
}>;
|
|
5
6
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
|
|
3
3
|
type Mode = 'in-out' | 'out-in' | 'default' | undefined;
|
|
4
|
-
export declare function createSimpleTransition(name: string, origin?: string, mode?: Mode):
|
|
4
|
+
export declare function createSimpleTransition(name: string, origin?: string, mode?: Mode): DefineComponent<{
|
|
5
5
|
group: {
|
|
6
6
|
type: PropType<boolean>;
|
|
7
7
|
default: boolean;
|
|
@@ -14,7 +14,7 @@ export declare function createSimpleTransition(name: string, origin?: string, mo
|
|
|
14
14
|
type: PropType<string>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {},
|
|
17
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
18
18
|
group: {
|
|
19
19
|
type: PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
@@ -32,12 +32,12 @@ export declare function createSimpleTransition(name: string, origin?: string, mo
|
|
|
32
32
|
group: boolean;
|
|
33
33
|
origin: string;
|
|
34
34
|
}, {}>;
|
|
35
|
-
export declare function createJavascriptTransition(name: string, functions: Record<string, any>, mode?: Mode):
|
|
35
|
+
export declare function createJavascriptTransition(name: string, functions: Record<string, any>, mode?: Mode): DefineComponent<{
|
|
36
36
|
mode: {
|
|
37
37
|
type: PropType<Mode>;
|
|
38
38
|
default: "default" | "in-out" | "out-in";
|
|
39
39
|
};
|
|
40
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {},
|
|
40
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
41
41
|
mode: {
|
|
42
42
|
type: PropType<Mode>;
|
|
43
43
|
default: "default" | "in-out" | "out-in";
|