antd-mini-rpx
Advanced tools
Comparing version 0.0.5-alpha.3 to 0.0.5-beta.1
@@ -1,4 +0,11 @@ | ||
export const AvatarDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.AvatarDefaultProps = void 0; | ||
var AvatarDefaultProps = { | ||
size: 'medium', | ||
src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIwcHgiIGhlaWdodD0iMTIwcHgiIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPuS/oeaBr+Wxleekujo0MC/lpLTlg49BdmF0YXIv5Y2V5Zu+OjEv5bC65a+4OuWkpzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNOCwwIEwxMTIsMCBDMTE2LjQxODI3OCwtOC4xMTYyNDUwMWUtMTYgMTIwLDMuNTgxNzIyIDEyMCw4IEwxMjAsMTEyIEMxMjAsMTE2LjQxODI3OCAxMTYuNDE4Mjc4LDEyMCAxMTIsMTIwIEw4LDEyMCBDMy41ODE3MjIsMTIwIDUuNDEwODMwMDFlLTE2LDExNi40MTgyNzggMCwxMTIgTDAsOCBDLTUuNDEwODMwMDFlLTE2LDMuNTgxNzIyIDMuNTgxNzIyLDguMTE2MjQ1MDFlLTE2IDgsMCBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i5aS05YO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IEw3Ny4xMzE4NTUzLDM4LjIxOTE1MDQgTDc3LjEzMTg1NTMsMzguMjE5MTUxIEM3Ny4xMzE4NTUzLDI5LjE2MTE2MzMgNjkuODEwMTE5OCwyMS44MTgxODE4IDYwLjc3ODI5ODcsMjEuODE4MTgxOCBMNjAuNzc4Mjk5MywyMS44MTgxODE4IFoiIGlkPSLlvaLnirYiIGZpbGw9IiNDQ0NDQ0MiIGZpbGwtcnVsZT0ibm9uemVybyIgbWFzaz0idXJsKCNtYXNrLTIpIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=' | ||
}; | ||
exports.AvatarDefaultProps = AvatarDefaultProps; |
@@ -1,6 +0,13 @@ | ||
export const BadgeDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.BadgeDefaultProps = void 0; | ||
var BadgeDefaultProps = { | ||
placement: 'top-right', | ||
stroke: false, | ||
type: 'dot', | ||
bgColor: '#FF411C', | ||
bgColor: '#FF411C' | ||
}; | ||
exports.BadgeDefaultProps = BadgeDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const ButtonDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ButtonDefaultProps = void 0; | ||
var ButtonDefaultProps = { | ||
type: 'default', | ||
@@ -9,3 +15,4 @@ disabled: false, | ||
_submit: undefined, | ||
fill: 'solid', | ||
fill: 'solid' | ||
}; | ||
exports.ButtonDefaultProps = ButtonDefaultProps; |
@@ -1,3 +0,10 @@ | ||
export const CheckboxDefaultProps = { | ||
disabled: false, | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.CheckboxDefaultProps = void 0; | ||
var CheckboxDefaultProps = { | ||
disabled: false | ||
}; | ||
exports.CheckboxDefaultProps = CheckboxDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const CheckboxItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.CheckboxItemDefaultProps = void 0; | ||
var CheckboxItemDefaultProps = { | ||
disabled: false, | ||
uid: 'CheckboxGroup', | ||
uid: 'CheckboxGroup' | ||
}; | ||
exports.CheckboxItemDefaultProps = CheckboxItemDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const CheckboxGroupDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.CheckboxGroupDefaultProps = void 0; | ||
var CheckboxGroupDefaultProps = { | ||
disabled: false, | ||
@@ -6,3 +12,4 @@ radius: false, | ||
controlled: false, | ||
value: [], | ||
value: [] | ||
}; | ||
exports.CheckboxGroupDefaultProps = CheckboxGroupDefaultProps; |
@@ -1,6 +0,13 @@ | ||
export const CollapseItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.CollapseItemDefaultProps = void 0; | ||
var CollapseItemDefaultProps = { | ||
uid: 'Collapse', | ||
disabled: false, | ||
expandIcon: 'UpOutline', | ||
closeIcon: 'DownOutline', | ||
closeIcon: 'DownOutline' | ||
}; | ||
exports.CollapseItemDefaultProps = CollapseItemDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const CollapseDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.CollapseDefaultProps = void 0; | ||
var CollapseDefaultProps = { | ||
name: [], | ||
uid: 'Collapse', | ||
accordion: false, | ||
accordion: false | ||
}; | ||
exports.CollapseDefaultProps = CollapseDefaultProps; |
@@ -1,1 +0,8 @@ | ||
export const ContainerDefaultProps = {}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ContainerDefaultProps = void 0; | ||
var ContainerDefaultProps = {}; | ||
exports.ContainerDefaultProps = ContainerDefaultProps; |
@@ -1,6 +0,12 @@ | ||
export const DialogDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.DialogDefaultProps = void 0; | ||
var DialogDefaultProps = { | ||
direction: 'vertical', | ||
buttonText: ['主操作', '更多', '取消'], | ||
maskClosable: true, | ||
maskClosable: true | ||
}; | ||
exports.DialogDefaultProps = DialogDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const FilterItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.FilterItemDefaultProps = void 0; | ||
var FilterItemDefaultProps = { | ||
uid: 'filter', | ||
type: 'default', | ||
type: 'default' | ||
}; | ||
exports.FilterItemDefaultProps = FilterItemDefaultProps; |
@@ -1,3 +0,10 @@ | ||
export const FilterDefaultProps = { | ||
uid: 'filter', | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.FilterDefaultProps = void 0; | ||
var FilterDefaultProps = { | ||
uid: 'filter' | ||
}; | ||
exports.FilterDefaultProps = FilterDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const IconDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.IconDefaultProps = void 0; | ||
var IconDefaultProps = { | ||
type: '', | ||
size: 'medium', | ||
size: 'medium' | ||
}; | ||
exports.IconDefaultProps = IconDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const InputItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.InputItemDefaultProps = void 0; | ||
var InputItemDefaultProps = { | ||
controlled: false, | ||
@@ -14,3 +20,4 @@ type: 'text', | ||
autoFocus: false, | ||
disabled: false, | ||
disabled: false | ||
}; | ||
exports.InputItemDefaultProps = InputItemDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const ListItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ListItemDefaultProps = void 0; | ||
var ListItemDefaultProps = { | ||
imageSize: 'small', | ||
disabled: false, | ||
disabled: false | ||
}; | ||
exports.ListItemDefaultProps = ListItemDefaultProps; |
@@ -1,3 +0,10 @@ | ||
export const ListDefaultProps = { | ||
radius: false, | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ListDefaultProps = void 0; | ||
var ListDefaultProps = { | ||
radius: false | ||
}; | ||
exports.ListDefaultProps = ListDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const LoadingDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.LoadingDefaultProps = void 0; | ||
var LoadingDefaultProps = { | ||
loading: true, | ||
@@ -9,3 +15,4 @@ size: 'medium', | ||
height: '', | ||
type: 'spin', | ||
type: 'spin' | ||
}; | ||
exports.LoadingDefaultProps = LoadingDefaultProps; |
@@ -1,7 +0,13 @@ | ||
export const MaskDefaultProps = { | ||
maskZindex: '', | ||
type: 'product', | ||
show: true, | ||
fixMaskFull: false, | ||
}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.MaskDefaultProps = void 0; | ||
var MaskDefaultProps = { | ||
maskZindex: '', | ||
type: 'product', | ||
show: true, | ||
fixMaskFull: false | ||
}; | ||
exports.MaskDefaultProps = MaskDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const ModalDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ModalDefaultProps = void 0; | ||
var ModalDefaultProps = { | ||
imageSize: 'medium', | ||
@@ -7,3 +13,4 @@ visible: false, | ||
addonButtonText: '辅助操作', | ||
maskClosable: true, | ||
maskClosable: true | ||
}; | ||
exports.ModalDefaultProps = ModalDefaultProps; |
@@ -1,6 +0,13 @@ | ||
export const NoticeBarDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.NoticeBarDefaultProps = void 0; | ||
var NoticeBarDefaultProps = { | ||
showIcon: false, | ||
enableMarquee: false, | ||
loop: false, | ||
type: 'default', | ||
type: 'default' | ||
}; | ||
exports.NoticeBarDefaultProps = NoticeBarDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const PickerDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.PickerDefaultProps = void 0; | ||
var PickerDefaultProps = { | ||
controlled: false, | ||
@@ -6,3 +12,4 @@ cols: 1, | ||
dismissText: '取消', | ||
disabled: false, | ||
disabled: false | ||
}; | ||
exports.PickerDefaultProps = PickerDefaultProps; |
@@ -1,1 +0,8 @@ | ||
export const PopoverItemDefaultProps = {}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.PopoverItemDefaultProps = void 0; | ||
var PopoverItemDefaultProps = {}; | ||
exports.PopoverItemDefaultProps = PopoverItemDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const PopoverDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.PopoverDefaultProps = void 0; | ||
var PopoverDefaultProps = { | ||
visible: false, | ||
@@ -7,3 +13,4 @@ mask: false, | ||
mode: 'dark', | ||
fixMaskFull: false, | ||
fixMaskFull: false | ||
}; | ||
exports.PopoverDefaultProps = PopoverDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const PopupDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.PopupDefaultProps = void 0; | ||
var PopupDefaultProps = { | ||
visible: false, | ||
@@ -13,3 +19,4 @@ maskClosable: false, | ||
disableScroll: true, | ||
showCloseIcon: false, | ||
showCloseIcon: false | ||
}; | ||
exports.PopupDefaultProps = PopupDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const RadioGroupDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.RadioGroupDefaultProps = void 0; | ||
var RadioGroupDefaultProps = { | ||
disabled: false, | ||
radius: false, | ||
uid: 'RadioGroup', | ||
uid: 'RadioGroup' | ||
}; | ||
exports.RadioGroupDefaultProps = RadioGroupDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const RadioItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.RadioItemDefaultProps = void 0; | ||
var RadioItemDefaultProps = { | ||
disabled: false, | ||
uid: 'RadioGroup', | ||
uid: 'RadioGroup' | ||
}; | ||
exports.RadioItemDefaultProps = RadioItemDefaultProps; |
@@ -1,1 +0,8 @@ | ||
export const ResultDefaultProps = {}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ResultDefaultProps = void 0; | ||
var ResultDefaultProps = {}; | ||
exports.ResultDefaultProps = ResultDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const SearchBarDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.SearchBarDefaultProps = void 0; | ||
var SearchBarDefaultProps = { | ||
controlled: false, | ||
@@ -9,3 +15,4 @@ showCancelButton: false, | ||
disabled: false, | ||
bizIconType: 'AudioOutline', | ||
bizIconType: 'AudioOutline' | ||
}; | ||
exports.SearchBarDefaultProps = SearchBarDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const SelectorDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.SelectorDefaultProps = void 0; | ||
var SelectorDefaultProps = { | ||
controlled: false, | ||
multiple: false, | ||
disabled: false, | ||
disabled: false | ||
}; | ||
exports.SelectorDefaultProps = SelectorDefaultProps; |
@@ -1,2 +0,8 @@ | ||
export const StepperDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.StepperDefaultProps = void 0; | ||
var StepperDefaultProps = { | ||
controlled: false, | ||
@@ -6,3 +12,4 @@ step: 1, | ||
disabled: false, | ||
type: 'digit', | ||
type: 'digit' | ||
}; | ||
exports.StepperDefaultProps = StepperDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const StepsDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.StepsDefaultProps = void 0; | ||
var StepsDefaultProps = { | ||
index: 0, | ||
direction: 'horizontal', | ||
uid: 'steps', | ||
uid: 'steps' | ||
}; | ||
exports.StepsDefaultProps = StepsDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const StepItemDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.StepItemDefaultProps = void 0; | ||
var StepItemDefaultProps = { | ||
fail: false, | ||
uid: 'steps', | ||
uid: 'steps' | ||
}; | ||
exports.StepItemDefaultProps = StepItemDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const SwipeActionDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.SwipeActionDefaultProps = void 0; | ||
var SwipeActionDefaultProps = { | ||
autoClose: false, | ||
disabled: false, | ||
onGetRef:()=>{} | ||
onGetRef: function onGetRef() {} | ||
}; | ||
exports.SwipeActionDefaultProps = SwipeActionDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const SwitchDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.SwitchDefaultProps = void 0; | ||
var SwitchDefaultProps = { | ||
controlled: false, | ||
disabled: false, | ||
size: 'medium', | ||
size: 'medium' | ||
}; | ||
exports.SwitchDefaultProps = SwitchDefaultProps; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getTabArray = exports.componentContext = void 0; | ||
exports.getTabArray = exports.componentContextFallback = exports.componentContext = void 0; | ||
var context_1 = require("../_util/context"); | ||
exports.componentContext = new context_1.ComponentContext(); | ||
exports.componentContextFallback = new context_1.ComponentContext(); | ||
exports.getTabArray = {}; |
@@ -15,2 +15,3 @@ "use strict"; | ||
var isMoreThan275 = (0, compareVersion_1.compareVersion)(my.SDKVersion, '2.7.5') >= 0; | ||
var isBaseSwiper = (0, compareVersion_1.compareVersion)(my.SDKVersion, '2.0.0') >= 0; | ||
Component({ | ||
@@ -31,2 +32,3 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
component2: component2, | ||
isBaseSwiper: isBaseSwiper, | ||
_forceRefreshSwiper: 0, | ||
@@ -46,2 +48,3 @@ _isForceUpdate: isForceUpdate, | ||
}); | ||
context_1.componentContextFallback.update(this.props.fallback); | ||
var _a = this.props, index = _a.index, animation = _a.animation; | ||
@@ -63,26 +66,25 @@ this.setData({ | ||
.exec(function (ret) { | ||
var _tabsViewportWidth = _this.data._tabsViewportWidth; | ||
if (!ret[0]) { | ||
if (!ret || !ret[0]) { | ||
// 当获取到的索引值无法匹配时显示错误提示 | ||
console_1.log.error('Tabs', "\u6FC0\u6D3B\u7684\u7D22\u5F15\u503C\u9519\u8BEF\uFF0C\u8BF7\u786E\u8BA4 ".concat(index, " \u662F\u5426\u4E3A\u6B63\u786E\u7684\u7D22\u5F15\u503C\u3002")); | ||
return; | ||
} | ||
var _tabsViewportWidth = _this.data._tabsViewportWidth; | ||
// 正确的索引值在初次加载时高亮展示当前 tab | ||
// eslint-disable-next-line no-lonely-if | ||
if (ret[0].left > _tabsViewportWidth / 2) { | ||
_this.setData({ | ||
_scrollLeft: ret[0].left - | ||
_tabsViewportWidth / 2 + | ||
ret[0].width / 2, | ||
_leftFade: true, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
else { | ||
// 正确的索引值在初次加载时高亮展示当前 tab | ||
// eslint-disable-next-line no-lonely-if | ||
if (ret[0].left > _tabsViewportWidth / 2) { | ||
_this.setData({ | ||
_scrollLeft: ret[0].left - | ||
_tabsViewportWidth / 2 + | ||
ret[0].width / 2, | ||
_leftFade: true, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
else { | ||
_this.setData({ | ||
_scrollLeft: 0, | ||
_leftFade: false, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
_this.setData({ | ||
_scrollLeft: 0, | ||
_leftFade: false, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
@@ -98,3 +100,6 @@ }); | ||
var _this = this; | ||
var _a = this.props, index = _a.index, animation = _a.animation; | ||
var _a = this.props, index = _a.index, animation = _a.animation, fallback = _a.fallback; | ||
if (prevProps.fallback !== fallback) { | ||
context_1.componentContextFallback.update(fallback); | ||
} | ||
if (prevProps.index !== index && prevData.currentIndex === this.data.currentIndex) { | ||
@@ -106,2 +111,7 @@ this._getTabsWidth(); | ||
.exec(function (ret) { | ||
if (!ret || !ret[0]) { | ||
// 当获取到的索引值无法匹配时显示错误提示 | ||
console_1.log.error('Tabs', "\u6FC0\u6D3B\u7684\u7D22\u5F15\u503C\u9519\u8BEF\uFF0C\u8BF7\u786E\u8BA4 ".concat(index, " \u662F\u5426\u4E3A\u6B63\u786E\u7684\u7D22\u5F15\u503C\u3002")); | ||
return; | ||
} | ||
var _tabsViewportWidth = _this.data._tabsViewportWidth; | ||
@@ -111,28 +121,22 @@ _tabsViewportWidth = Math.floor(_tabsViewportWidth); | ||
var width = Math.floor(ret[0].width); | ||
if (!ret[0]) { | ||
// 当获取到的索引值无法匹配时显示错误提示 | ||
console_1.log.error('Tabs', "\u6FC0\u6D3B\u7684\u7D22\u5F15\u503C\u9519\u8BEF\uFF0C\u8BF7\u786E\u8BA4 ".concat(index, " \u662F\u5426\u4E3A\u6B63\u786E\u7684\u7D22\u5F15\u503C\u3002")); | ||
// 正确的索引值在初次加载时高亮展示当前 tab | ||
if (_this.changeTap) { | ||
left = _this.currentLeft; | ||
_this.changeTap = false; | ||
} | ||
if (left > _tabsViewportWidth / 2) { | ||
_this.setData({ | ||
_scrollLeft: left - _tabsViewportWidth / 2 + width / 2, | ||
_leftFade: true, | ||
currentIndex: index, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
else { | ||
// 正确的索引值在初次加载时高亮展示当前 tab | ||
if (_this.changeTap) { | ||
left = _this.currentLeft; | ||
_this.changeTap = false; | ||
} | ||
if (left > _tabsViewportWidth / 2) { | ||
_this.setData({ | ||
_scrollLeft: left - _tabsViewportWidth / 2 + width / 2, | ||
_leftFade: true, | ||
currentIndex: index, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
else { | ||
_this.setData({ | ||
_scrollLeft: 0, | ||
_leftFade: false, | ||
currentIndex: index, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
_this.setData({ | ||
_scrollLeft: 0, | ||
_leftFade: false, | ||
currentIndex: index, | ||
_swipeableAnimation: animation, | ||
}); | ||
} | ||
@@ -153,2 +157,4 @@ }); | ||
return; | ||
if (this.props.fallback) | ||
return; | ||
// tabItem 自适应高度的处理 | ||
@@ -162,5 +168,7 @@ // 获取每个 item-pane 的高度,通过传入当前 tab 的 index 值 | ||
var _a; | ||
_this.setData({ | ||
_tabContentHeight: (_a = ret[0][tabIndex]) === null || _a === void 0 ? void 0 : _a.height, | ||
}); | ||
if (ret && ret[0]) { | ||
_this.setData({ | ||
_tabContentHeight: (_a = ret[0][tabIndex]) === null || _a === void 0 ? void 0 : _a.height, | ||
}); | ||
} | ||
}); | ||
@@ -210,5 +218,7 @@ }, | ||
.exec(function (ret) { | ||
_this.setData({ | ||
_tabsViewportWidth: ret[0].width, | ||
}); | ||
if (ret && ret[0]) { | ||
_this.setData({ | ||
_tabsViewportWidth: ret[0].width, | ||
}); | ||
} | ||
}); | ||
@@ -230,2 +240,14 @@ }, | ||
}, | ||
handleSwiperTouchStart: function (e) { | ||
var onTouchStart = this.props.onTouchStart; | ||
if (typeof onTouchStart === "function") { | ||
onTouchStart(e); | ||
} | ||
}, | ||
handleSwiperTransition: function (e) { | ||
var onTransition = this.props.onTransition; | ||
if (typeof onTransition === "function") { | ||
onTransition(e); | ||
} | ||
}, | ||
appearLeft: function () { | ||
@@ -267,5 +289,7 @@ this.setData({ | ||
: | ||
{ getCompInstance: function () { return _this; }, updateHeight: updateHeight, | ||
{ | ||
getCompInstance: function () { return _this; }, | ||
updateHeight: updateHeight, | ||
}; | ||
}, | ||
}); |
@@ -1,2 +0,8 @@ | ||
export const TabsDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TabsDefaultProps = void 0; | ||
var TabsDefaultProps = { | ||
type: 'basis', | ||
@@ -7,3 +13,7 @@ index: 0, | ||
sticky: false, | ||
onGetRef: () => {}, | ||
stickyTop: 0, | ||
fallback: false, | ||
touchAngle: 45, | ||
onGetRef: function onGetRef() {} | ||
}; | ||
exports.TabsDefaultProps = TabsDefaultProps; |
@@ -7,11 +7,19 @@ "use strict"; | ||
var tools_1 = require("../../_util/tools"); | ||
var compareVersion_1 = require("../../_util/compareVersion"); | ||
var n = 0; | ||
var component2 = my.canIUse('component2'); | ||
var isBaseSwiper = (0, compareVersion_1.compareVersion)('2.0.0', my.SDKVersion) < 0 ? true : false; | ||
Component({ | ||
props: props_1.TabItemDefaultProps, | ||
data: { | ||
component2: component2, | ||
isBaseSwiper: isBaseSwiper, | ||
fallback: false | ||
}, | ||
didMount: function () { | ||
var _this = this; | ||
this._getTabInfo('didMount'); | ||
context_1.componentContextFallback.onUpdate(function (v) { | ||
_this.setData({ | ||
fallback: v | ||
}); | ||
}); | ||
}, | ||
@@ -18,0 +26,0 @@ didUpdate: function () { |
@@ -1,1 +0,8 @@ | ||
export const TabItemDefaultProps = {}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TabItemDefaultProps = void 0; | ||
var TabItemDefaultProps = {}; | ||
exports.TabItemDefaultProps = TabItemDefaultProps; |
@@ -1,4 +0,11 @@ | ||
export const TagDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TagDefaultProps = void 0; | ||
var TagDefaultProps = { | ||
type: 'fill', | ||
color: 'primary', | ||
color: 'primary' | ||
}; | ||
exports.TagDefaultProps = TagDefaultProps; |
@@ -1,5 +0,12 @@ | ||
export const TermsDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TermsDefaultProps = void 0; | ||
var TermsDefaultProps = { | ||
fixed: false, | ||
hasCheckbox: true, | ||
mainButtonText: '提交', | ||
mainButtonText: '提交' | ||
}; | ||
exports.TermsDefaultProps = TermsDefaultProps; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var props_1 = require("./props"); | ||
var console_1 = require("../_util/console"); | ||
Component({ | ||
props: props_1.TipsDefaultProps, | ||
data: { | ||
_show: true, | ||
_show: false | ||
}, | ||
didMount: function () { | ||
this.showError(); | ||
this.setData({ | ||
_show: this.props.visible | ||
}); | ||
}, | ||
didUpdate: function () { | ||
this.showError(); | ||
didUpdate: function (prevProps) { | ||
if (prevProps.visible !== this.props.visible) { | ||
this.setData({ | ||
_show: this.props.visible | ||
}); | ||
if (this.props.visible === false) { | ||
this.beforeClose(); | ||
} | ||
} | ||
}, | ||
methods: { | ||
showError: function () { | ||
var title = this.props.title; | ||
if (!title) { | ||
console_1.log.warn('Tips', '缺少 title 属性。'); | ||
} | ||
}, | ||
onButtonTap: function () { | ||
@@ -33,4 +35,10 @@ var onButtonTap = this.props.onButtonTap; | ||
}); | ||
this.beforeClose(); | ||
}, | ||
beforeClose: function () { | ||
if (typeof this.props.onClose === "function") { | ||
this.props.onClose(); | ||
} | ||
} | ||
}, | ||
}); |
@@ -1,4 +0,13 @@ | ||
export const TipsDefaultProps = { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TipsDefaultProps = void 0; | ||
var TipsDefaultProps = { | ||
showClose: false, | ||
buttonPosition: 'bottom', | ||
visible: true, | ||
onClose: function onClose() {} | ||
}; | ||
exports.TipsDefaultProps = TipsDefaultProps; |
@@ -1,3 +0,10 @@ | ||
export const VTabsDefaultProps = { | ||
index: 0, | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.VTabsDefaultProps = void 0; | ||
var VTabsDefaultProps = { | ||
index: 0 | ||
}; | ||
exports.VTabsDefaultProps = VTabsDefaultProps; |
@@ -1,1 +0,8 @@ | ||
export const VTabItemDefaultProps = {}; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.VTabItemDefaultProps = void 0; | ||
var VTabItemDefaultProps = {}; | ||
exports.VTabItemDefaultProps = VTabItemDefaultProps; |
{ | ||
"name": "antd-mini-rpx", | ||
"version": "0.0.5-alpha.3", | ||
"version": "0.0.5-beta.1", | ||
"scripts": { | ||
@@ -94,4 +94,2 @@ "dev": "minidev dev --less --typescript --no-source-map", | ||
"minidev": "^1.0.7", | ||
"monaco-editor": "^0.33.0", | ||
"monaco-editor-webpack-plugin": "^7.0.1", | ||
"path": "^0.12.7", | ||
@@ -105,6 +103,4 @@ "postcss-less": "^6.0.0", | ||
"stylelint-config-standard": "^24.0.0", | ||
"tnpm-sync": "^1.0.1", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.0.0", | ||
"webpack-chain": "^6.5.1", | ||
"yorkie": "^2.0.0" | ||
@@ -133,4 +129,3 @@ }, | ||
"homepage": "https://github.com/ant-design/ant-design-mini", | ||
"postpublish": "tnpm-sync", | ||
"prepublishOnly": "npm run build:component:rpx" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
352501
64
320
6273