@tuya-miniapp/smart-ui 2.6.4-beta-5 → 2.6.4-beta-7
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/dist/calendar/calendar.wxml +1 -1
- package/dist/loading/index.css +1 -1
- package/dist/loading/index.js +5 -5
- package/dist/loading/index.wxs +5 -5
- package/dist/loading/index.wxss +1 -1
- package/dist/nav-bar/index.js +1 -1
- package/package.json +1 -1
- package/dist/common/style/clearfix.css +0 -1
- package/dist/common/style/clearfix.wxss +0 -1
- package/dist/common/style/ellipsis.css +0 -1
- package/dist/common/style/ellipsis.wxss +0 -1
- package/dist/common/style/hairline.css +0 -1
- package/dist/common/style/hairline.wxss +0 -1
- package/dist/common/style/mixins/clearfix.css +0 -0
- package/dist/common/style/mixins/clearfix.wxss +0 -0
- package/dist/common/style/mixins/ellipsis.css +0 -0
- package/dist/common/style/mixins/ellipsis.wxss +0 -0
- package/dist/common/style/mixins/hairline.css +0 -1
- package/dist/common/style/mixins/hairline.wxss +0 -1
- package/dist/common/style/var.css +0 -1
- package/dist/common/style/var.wxss +0 -1
- package/dist/popup/index.css +0 -1
- package/dist/popup/index.wxss +0 -1
- package/dist/rate/index.css +0 -1
- package/dist/rate/index.wxss +0 -1
- package/dist/row/index.css +0 -1
- package/dist/row/index.wxss +0 -1
- package/dist/search/index.css +0 -1
- package/dist/search/index.wxss +0 -1
- package/dist/sidebar/index.css +0 -1
- package/dist/sidebar/index.wxss +0 -1
- package/dist/sidebar-item/index.css +0 -1
- package/dist/sidebar-item/index.wxss +0 -1
- package/dist/skeleton/index.css +0 -1
- package/dist/skeleton/index.wxss +0 -1
- package/dist/slider/index.css +0 -1
- package/dist/slider/index.wxss +0 -1
- package/dist/stepper/index.css +0 -1
- package/dist/stepper/index.wxss +0 -1
- package/dist/steps/index.css +0 -1
- package/dist/steps/index.wxss +0 -1
- package/dist/sticky/index.css +0 -1
- package/dist/sticky/index.wxss +0 -1
- package/dist/swipe-cell/index.css +0 -1
- package/dist/swipe-cell/index.wxss +0 -1
- package/dist/switch/index.css +0 -1
- package/dist/switch/index.wxss +0 -1
- package/dist/tab/index.css +0 -1
- package/dist/tab/index.wxss +0 -1
- package/dist/tabbar/index.css +0 -1
- package/dist/tabbar/index.wxss +0 -1
- package/dist/tabbar-item/index.css +0 -1
- package/dist/tabbar-item/index.wxss +0 -1
- package/dist/tabs/index.css +0 -1
- package/dist/tabs/index.wxss +0 -1
- package/dist/tag/index.css +0 -1
- package/dist/tag/index.wxss +0 -1
- package/dist/toast/index.css +0 -1
- package/dist/toast/index.wxss +0 -1
- package/dist/transition/index.css +0 -1
- package/dist/transition/index.wxss +0 -1
- package/dist/tree-select/index.css +0 -1
- package/dist/tree-select/index.wxss +0 -1
- package/lib/action-sheet/index.css +0 -1
- package/lib/action-sheet/index.d.ts +0 -1
- package/lib/action-sheet/index.js +0 -121
- package/lib/action-sheet/index.json +0 -8
- package/lib/action-sheet/index.wxml +0 -87
- package/lib/action-sheet/index.wxss +0 -1
- package/lib/area/index.css +0 -1
- package/lib/area/index.d.ts +0 -1
- package/lib/area/index.js +0 -234
- package/lib/area/index.json +0 -6
- package/lib/area/index.wxml +0 -20
- package/lib/area/index.wxs +0 -8
- package/lib/area/index.wxss +0 -1
- package/lib/battery/index.d.ts +0 -1
- package/lib/battery/index.js +0 -105
- package/lib/battery/index.json +0 -4
- package/lib/battery/index.wxml +0 -1
- package/lib/bottom-sheet/index.css +0 -1
- package/lib/bottom-sheet/index.d.ts +0 -1
- package/lib/bottom-sheet/index.js +0 -82
- package/lib/bottom-sheet/index.json +0 -8
- package/lib/bottom-sheet/index.wxml +0 -43
- package/lib/bottom-sheet/index.wxs +0 -12
- package/lib/bottom-sheet/index.wxss +0 -1
- package/lib/button/index.css +0 -1
- package/lib/button/index.d.ts +0 -1
- package/lib/button/index.js +0 -64
- package/lib/button/index.json +0 -7
- package/lib/button/index.wxml +0 -64
- package/lib/button/index.wxs +0 -39
- package/lib/button/index.wxss +0 -1
- package/lib/calendar/calendar.wxml +0 -84
- package/lib/calendar/index.css +0 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar/index.js +0 -465
- package/lib/calendar/index.json +0 -12
- package/lib/calendar/index.wxml +0 -25
- package/lib/calendar/index.wxs +0 -59
- package/lib/calendar/index.wxss +0 -1
- package/lib/calendar-header/index.css +0 -1
- package/lib/calendar-header/index.d.ts +0 -1
- package/lib/calendar-header/index.js +0 -75
- package/lib/calendar-header/index.json +0 -6
- package/lib/calendar-header/index.wxml +0 -27
- package/lib/calendar-header/index.wxss +0 -1
- package/lib/calendar-month/index.css +0 -1
- package/lib/calendar-month/index.d.ts +0 -1
- package/lib/calendar-month/index.js +0 -179
- package/lib/calendar-month/index.json +0 -3
- package/lib/calendar-month/index.wxml +0 -22
- package/lib/calendar-month/index.wxs +0 -73
- package/lib/calendar-month/index.wxss +0 -1
- package/lib/calendar-month-list/index.css +0 -1
- package/lib/calendar-month-list/index.d.ts +0 -1
- package/lib/calendar-month-list/index.js +0 -105
- package/lib/calendar-month-list/index.json +0 -7
- package/lib/calendar-month-list/index.wxml +0 -15
- package/lib/calendar-month-list/index.wxss +0 -1
- package/lib/calendar-utils/types.d.ts +0 -7
- package/lib/calendar-utils/types.js +0 -2
- package/lib/calendar-utils/utils.d.ts +0 -21
- package/lib/calendar-utils/utils.js +0 -175
- package/lib/calendar-utils/utils.wxs +0 -25
- package/lib/calendar-year-list/index.css +0 -1
- package/lib/calendar-year-list/index.d.ts +0 -1
- package/lib/calendar-year-list/index.js +0 -115
- package/lib/calendar-year-list/index.json +0 -7
- package/lib/calendar-year-list/index.wxml +0 -15
- package/lib/calendar-year-list/index.wxss +0 -1
- package/lib/cascader/index.css +0 -1
- package/lib/cascader/index.d.ts +0 -1
- package/lib/cascader/index.js +0 -207
- package/lib/cascader/index.json +0 -8
- package/lib/cascader/index.wxml +0 -56
- package/lib/cascader/index.wxs +0 -21
- package/lib/cascader/index.wxss +0 -1
- package/lib/cell/index.css +0 -1
- package/lib/cell/index.d.ts +0 -1
- package/lib/cell/index.js +0 -48
- package/lib/cell/index.json +0 -6
- package/lib/cell/index.wxml +0 -47
- package/lib/cell/index.wxs +0 -17
- package/lib/cell/index.wxss +0 -1
- package/lib/cell-group/index.css +0 -1
- package/lib/cell-group/index.d.ts +0 -1
- package/lib/cell-group/index.js +0 -14
- package/lib/cell-group/index.json +0 -3
- package/lib/cell-group/index.wxml +0 -15
- package/lib/cell-group/index.wxs +0 -14
- package/lib/cell-group/index.wxss +0 -1
- package/lib/checkbox/index.css +0 -1
- package/lib/checkbox/index.d.ts +0 -1
- package/lib/checkbox/index.js +0 -84
- package/lib/checkbox/index.json +0 -6
- package/lib/checkbox/index.wxml +0 -32
- package/lib/checkbox/index.wxs +0 -20
- package/lib/checkbox/index.wxss +0 -1
- package/lib/checkbox-group/index.css +0 -1
- package/lib/checkbox-group/index.d.ts +0 -1
- package/lib/checkbox-group/index.js +0 -39
- package/lib/checkbox-group/index.json +0 -3
- package/lib/checkbox-group/index.wxml +0 -5
- package/lib/checkbox-group/index.wxss +0 -1
- package/lib/circle/index.css +0 -1
- package/lib/circle/index.d.ts +0 -1
- package/lib/circle/index.js +0 -134
- package/lib/circle/index.json +0 -3
- package/lib/circle/index.rjs +0 -232
- package/lib/circle/index.wxml +0 -8
- package/lib/circle/index.wxss +0 -1
- package/lib/col/index.css +0 -1
- package/lib/col/index.d.ts +0 -1
- package/lib/col/index.js +0 -11
- package/lib/col/index.json +0 -3
- package/lib/col/index.wxml +0 -9
- package/lib/col/index.wxs +0 -18
- package/lib/col/index.wxss +0 -1
- package/lib/collapse/index.css +0 -1
- package/lib/collapse/index.d.ts +0 -1
- package/lib/collapse/index.js +0 -48
- package/lib/collapse/index.json +0 -3
- package/lib/collapse/index.wxml +0 -3
- package/lib/collapse/index.wxss +0 -1
- package/lib/collapse-item/animate.d.ts +0 -2
- package/lib/collapse-item/animate.js +0 -43
- package/lib/collapse-item/index.css +0 -1
- package/lib/collapse-item/index.d.ts +0 -1
- package/lib/collapse-item/index.js +0 -64
- package/lib/collapse-item/index.json +0 -6
- package/lib/collapse-item/index.wxml +0 -45
- package/lib/collapse-item/index.wxss +0 -1
- package/lib/common/appLog.d.ts +0 -10
- package/lib/common/appLog.js +0 -112
- package/lib/common/color.d.ts +0 -7
- package/lib/common/color.js +0 -10
- package/lib/common/component.d.ts +0 -4
- package/lib/common/component.js +0 -49
- package/lib/common/index.css +0 -1
- package/lib/common/index.wxss +0 -1
- package/lib/common/relation.d.ts +0 -15
- package/lib/common/relation.js +0 -65
- package/lib/common/style/clearfix.css +0 -1
- package/lib/common/style/clearfix.wxss +0 -1
- package/lib/common/style/ellipsis.css +0 -1
- package/lib/common/style/ellipsis.wxss +0 -1
- package/lib/common/style/hairline.css +0 -1
- package/lib/common/style/hairline.wxss +0 -1
- package/lib/common/style/mixins/clearfix.css +0 -0
- package/lib/common/style/mixins/clearfix.wxss +0 -0
- package/lib/common/style/mixins/ellipsis.css +0 -0
- package/lib/common/style/mixins/ellipsis.wxss +0 -0
- package/lib/common/style/mixins/hairline.css +0 -1
- package/lib/common/style/mixins/hairline.wxss +0 -1
- package/lib/common/style/var.css +0 -1
- package/lib/common/style/var.wxss +0 -1
- package/lib/common/ty.d.ts +0 -7
- package/lib/common/ty.js +0 -35
- package/lib/common/utils.d.ts +0 -24
- package/lib/common/utils.js +0 -140
- package/lib/common/validator.d.ts +0 -9
- package/lib/common/validator.js +0 -43
- package/lib/common/version.d.ts +0 -15
- package/lib/common/version.js +0 -70
- package/lib/config-provider/index.d.ts +0 -1
- package/lib/config-provider/index.js +0 -11
- package/lib/config-provider/index.json +0 -3
- package/lib/config-provider/index.wxml +0 -5
- package/lib/config-provider/index.wxs +0 -29
- package/lib/count-down/index.css +0 -1
- package/lib/count-down/index.d.ts +0 -1
- package/lib/count-down/index.js +0 -104
- package/lib/count-down/index.json +0 -3
- package/lib/count-down/index.wxml +0 -4
- package/lib/count-down/index.wxss +0 -1
- package/lib/count-down/utils.d.ts +0 -10
- package/lib/count-down/utils.js +0 -64
- package/lib/custom-keyboard/index.css +0 -1
- package/lib/custom-keyboard/index.d.ts +0 -1
- package/lib/custom-keyboard/index.js +0 -156
- package/lib/custom-keyboard/index.json +0 -9
- package/lib/custom-keyboard/index.wxml +0 -44
- package/lib/custom-keyboard/index.wxss +0 -1
- package/lib/datetime-picker/index.css +0 -1
- package/lib/datetime-picker/index.d.ts +0 -1
- package/lib/datetime-picker/index.js +0 -512
- package/lib/datetime-picker/index.json +0 -6
- package/lib/datetime-picker/index.wxml +0 -22
- package/lib/datetime-picker/index.wxss +0 -1
- package/lib/definitions/index.d.ts +0 -29
- package/lib/definitions/index.js +0 -2
- package/lib/dialog/dialog.d.ts +0 -74
- package/lib/dialog/dialog.js +0 -137
- package/lib/dialog/index.css +0 -1
- package/lib/dialog/index.d.ts +0 -1
- package/lib/dialog/index.js +0 -222
- package/lib/dialog/index.json +0 -10
- package/lib/dialog/index.wxml +0 -144
- package/lib/dialog/index.wxss +0 -1
- package/lib/divider/index.css +0 -1
- package/lib/divider/index.d.ts +0 -1
- package/lib/divider/index.js +0 -14
- package/lib/divider/index.json +0 -4
- package/lib/divider/index.wxml +0 -9
- package/lib/divider/index.wxs +0 -18
- package/lib/divider/index.wxss +0 -1
- package/lib/dropdown-item/index.css +0 -1
- package/lib/dropdown-item/index.d.ts +0 -1
- package/lib/dropdown-item/index.js +0 -150
- package/lib/dropdown-item/index.json +0 -8
- package/lib/dropdown-item/index.wxml +0 -52
- package/lib/dropdown-item/index.wxss +0 -1
- package/lib/dropdown-item/shared.d.ts +0 -5
- package/lib/dropdown-item/shared.js +0 -2
- package/lib/dropdown-menu/index.css +0 -1
- package/lib/dropdown-menu/index.d.ts +0 -1
- package/lib/dropdown-menu/index.js +0 -137
- package/lib/dropdown-menu/index.json +0 -6
- package/lib/dropdown-menu/index.wxml +0 -24
- package/lib/dropdown-menu/index.wxs +0 -16
- package/lib/dropdown-menu/index.wxss +0 -1
- package/lib/empty/index.css +0 -1
- package/lib/empty/index.d.ts +0 -1
- package/lib/empty/index.js +0 -31
- package/lib/empty/index.json +0 -4
- package/lib/empty/index.wxml +0 -22
- package/lib/empty/index.wxs +0 -13
- package/lib/empty/index.wxss +0 -1
- package/lib/field/cell-input.wxml +0 -59
- package/lib/field/cell-textarea.wxml +0 -28
- package/lib/field/index.css +0 -1
- package/lib/field/index.d.ts +0 -1
- package/lib/field/index.js +0 -158
- package/lib/field/index.json +0 -7
- package/lib/field/index.wxml +0 -4
- package/lib/field/index.wxs +0 -19
- package/lib/field/index.wxss +0 -1
- package/lib/field/input.wxml +0 -30
- package/lib/field/props.d.ts +0 -4
- package/lib/field/props.js +0 -59
- package/lib/field/textarea.wxml +0 -32
- package/lib/field/types.d.ts +0 -8
- package/lib/field/types.js +0 -2
- package/lib/goods-action/index.css +0 -1
- package/lib/goods-action/index.d.ts +0 -1
- package/lib/goods-action/index.js +0 -17
- package/lib/goods-action/index.json +0 -3
- package/lib/goods-action/index.wxml +0 -5
- package/lib/goods-action/index.wxss +0 -1
- package/lib/goods-action-button/index.css +0 -1
- package/lib/goods-action-button/index.d.ts +0 -1
- package/lib/goods-action-button/index.js +0 -46
- package/lib/goods-action-button/index.json +0 -6
- package/lib/goods-action-button/index.wxml +0 -35
- package/lib/goods-action-button/index.wxss +0 -1
- package/lib/goods-action-icon/index.css +0 -1
- package/lib/goods-action-icon/index.d.ts +0 -1
- package/lib/goods-action-icon/index.js +0 -29
- package/lib/goods-action-icon/index.json +0 -7
- package/lib/goods-action-icon/index.wxml +0 -41
- package/lib/goods-action-icon/index.wxss +0 -1
- package/lib/grid/index.css +0 -1
- package/lib/grid/index.d.ts +0 -1
- package/lib/grid/index.js +0 -57
- package/lib/grid/index.json +0 -3
- package/lib/grid/index.wxml +0 -8
- package/lib/grid/index.wxs +0 -13
- package/lib/grid/index.wxss +0 -1
- package/lib/grid-item/index.css +0 -1
- package/lib/grid-item/index.d.ts +0 -1
- package/lib/grid-item/index.js +0 -54
- package/lib/grid-item/index.json +0 -6
- package/lib/grid-item/index.wxml +0 -27
- package/lib/grid-item/index.wxs +0 -32
- package/lib/grid-item/index.wxss +0 -1
- package/lib/icon/index.css +0 -1
- package/lib/icon/index.d.ts +0 -1
- package/lib/icon/index.js +0 -23
- package/lib/icon/index.json +0 -6
- package/lib/icon/index.wxml +0 -30
- package/lib/icon/index.wxs +0 -98
- package/lib/icon/index.wxss +0 -1
- package/lib/image/index.css +0 -1
- package/lib/image/index.d.ts +0 -1
- package/lib/image/index.js +0 -75
- package/lib/image/index.json +0 -7
- package/lib/image/index.wxml +0 -40
- package/lib/image/index.wxs +0 -42
- package/lib/image/index.wxss +0 -1
- package/lib/index-anchor/index.css +0 -1
- package/lib/index-anchor/index.d.ts +0 -1
- package/lib/index-anchor/index.js +0 -28
- package/lib/index-anchor/index.json +0 -3
- package/lib/index-anchor/index.wxml +0 -14
- package/lib/index-anchor/index.wxss +0 -1
- package/lib/index-bar/index.css +0 -1
- package/lib/index-bar/index.d.ts +0 -1
- package/lib/index-bar/index.js +0 -244
- package/lib/index-bar/index.json +0 -3
- package/lib/index-bar/index.wxml +0 -22
- package/lib/index-bar/index.wxss +0 -1
- package/lib/info/index.css +0 -1
- package/lib/info/index.d.ts +0 -1
- package/lib/info/index.js +0 -10
- package/lib/info/index.json +0 -3
- package/lib/info/index.wxml +0 -7
- package/lib/info/index.wxss +0 -1
- package/lib/loading/index.css +0 -1
- package/lib/loading/index.d.ts +0 -1
- package/lib/loading/index.js +0 -44
- package/lib/loading/index.json +0 -3
- package/lib/loading/index.wxml +0 -17
- package/lib/loading/index.wxs +0 -38
- package/lib/loading/index.wxss +0 -1
- package/lib/mixins/basic.d.ts +0 -1
- package/lib/mixins/basic.js +0 -30
- package/lib/mixins/button.d.ts +0 -1
- package/lib/mixins/button.js +0 -54
- package/lib/mixins/link.d.ts +0 -1
- package/lib/mixins/link.js +0 -26
- package/lib/mixins/page-scroll.d.ts +0 -6
- package/lib/mixins/page-scroll.js +0 -47
- package/lib/mixins/touch.d.ts +0 -1
- package/lib/mixins/touch.js +0 -39
- package/lib/mixins/transition.d.ts +0 -1
- package/lib/mixins/transition.js +0 -235
- package/lib/nav-bar/index.css +0 -1
- package/lib/nav-bar/index.d.ts +0 -1
- package/lib/nav-bar/index.js +0 -116
- package/lib/nav-bar/index.json +0 -6
- package/lib/nav-bar/index.wxml +0 -70
- package/lib/nav-bar/index.wxs +0 -14
- package/lib/nav-bar/index.wxss +0 -1
- package/lib/normal-slider/index.css +0 -1
- package/lib/normal-slider/index.d.ts +0 -1
- package/lib/normal-slider/index.js +0 -160
- package/lib/normal-slider/index.json +0 -6
- package/lib/normal-slider/index.wxml +0 -35
- package/lib/normal-slider/index.wxss +0 -1
- package/lib/notice-bar/index.css +0 -1
- package/lib/notice-bar/index.d.ts +0 -1
- package/lib/notice-bar/index.js +0 -178
- package/lib/notice-bar/index.json +0 -6
- package/lib/notice-bar/index.wxml +0 -52
- package/lib/notice-bar/index.wxs +0 -11
- package/lib/notice-bar/index.wxss +0 -1
- package/lib/notify/index.css +0 -1
- package/lib/notify/index.d.ts +0 -1
- package/lib/notify/index.js +0 -80
- package/lib/notify/index.json +0 -6
- package/lib/notify/index.wxml +0 -22
- package/lib/notify/index.wxs +0 -22
- package/lib/notify/index.wxss +0 -1
- package/lib/notify/notify.d.ts +0 -29
- package/lib/notify/notify.js +0 -72
- package/lib/overlay/index.css +0 -1
- package/lib/overlay/index.d.ts +0 -1
- package/lib/overlay/index.js +0 -32
- package/lib/overlay/index.json +0 -6
- package/lib/overlay/index.wxml +0 -7
- package/lib/overlay/index.wxss +0 -1
- package/lib/overlay/overlay.wxml +0 -10
- package/lib/picker/index.css +0 -1
- package/lib/picker/index.d.ts +0 -1
- package/lib/picker/index.js +0 -184
- package/lib/picker/index.json +0 -7
- package/lib/picker/index.wxml +0 -47
- package/lib/picker/index.wxs +0 -44
- package/lib/picker/index.wxss +0 -1
- package/lib/picker/shared.d.ts +0 -33
- package/lib/picker/shared.js +0 -36
- package/lib/picker/toolbar.wxml +0 -23
- package/lib/picker-column/index.css +0 -1
- package/lib/picker-column/index.d.ts +0 -1
- package/lib/picker-column/index.js +0 -443
- package/lib/picker-column/index.json +0 -3
- package/lib/picker-column/index.wxml +0 -43
- package/lib/picker-column/index.wxs +0 -79
- package/lib/picker-column/index.wxss +0 -1
- package/lib/popover/index.css +0 -1
- package/lib/popover/index.d.ts +0 -1
- package/lib/popover/index.js +0 -220
- package/lib/popover/index.json +0 -7
- package/lib/popover/index.wxml +0 -31
- package/lib/popover/index.wxss +0 -1
- package/lib/popup/index.css +0 -1
- package/lib/popup/index.d.ts +0 -1
- package/lib/popup/index.js +0 -122
- package/lib/popup/index.json +0 -7
- package/lib/popup/index.wxml +0 -21
- package/lib/popup/index.wxs +0 -23
- package/lib/popup/index.wxss +0 -1
- package/lib/popup/popup.wxml +0 -16
- package/lib/progress/index.css +0 -1
- package/lib/progress/index.d.ts +0 -1
- package/lib/progress/index.js +0 -52
- package/lib/progress/index.json +0 -3
- package/lib/progress/index.wxml +0 -20
- package/lib/progress/index.wxs +0 -36
- package/lib/progress/index.wxss +0 -1
- package/lib/radio/index.css +0 -1
- package/lib/radio/index.d.ts +0 -1
- package/lib/radio/index.js +0 -75
- package/lib/radio/index.json +0 -6
- package/lib/radio/index.wxml +0 -32
- package/lib/radio/index.wxs +0 -33
- package/lib/radio/index.wxss +0 -1
- package/lib/radio-group/index.css +0 -1
- package/lib/radio-group/index.d.ts +0 -1
- package/lib/radio-group/index.js +0 -29
- package/lib/radio-group/index.json +0 -3
- package/lib/radio-group/index.wxml +0 -5
- package/lib/radio-group/index.wxss +0 -1
- package/lib/rate/index.css +0 -1
- package/lib/rate/index.d.ts +0 -1
- package/lib/rate/index.js +0 -107
- package/lib/rate/index.json +0 -6
- package/lib/rate/index.wxml +0 -35
- package/lib/rate/index.wxss +0 -1
- package/lib/row/index.css +0 -1
- package/lib/row/index.d.ts +0 -1
- package/lib/row/index.js +0 -26
- package/lib/row/index.json +0 -3
- package/lib/row/index.wxml +0 -5
- package/lib/row/index.wxs +0 -18
- package/lib/row/index.wxss +0 -1
- package/lib/search/index.css +0 -1
- package/lib/search/index.d.ts +0 -1
- package/lib/search/index.js +0 -106
- package/lib/search/index.json +0 -7
- package/lib/search/index.wxml +0 -57
- package/lib/search/index.wxss +0 -1
- package/lib/sidebar/index.css +0 -1
- package/lib/sidebar/index.d.ts +0 -1
- package/lib/sidebar/index.js +0 -36
- package/lib/sidebar/index.json +0 -3
- package/lib/sidebar/index.wxml +0 -3
- package/lib/sidebar/index.wxss +0 -1
- package/lib/sidebar-item/index.css +0 -1
- package/lib/sidebar-item/index.d.ts +0 -1
- package/lib/sidebar-item/index.js +0 -32
- package/lib/sidebar-item/index.json +0 -6
- package/lib/sidebar-item/index.wxml +0 -18
- package/lib/sidebar-item/index.wxss +0 -1
- package/lib/skeleton/index.css +0 -1
- package/lib/skeleton/index.d.ts +0 -1
- package/lib/skeleton/index.js +0 -48
- package/lib/skeleton/index.json +0 -4
- package/lib/skeleton/index.wxml +0 -29
- package/lib/skeleton/index.wxss +0 -1
- package/lib/slider/index.css +0 -1
- package/lib/slider/index.d.ts +0 -1
- package/lib/slider/index.js +0 -208
- package/lib/slider/index.json +0 -3
- package/lib/slider/index.wxml +0 -68
- package/lib/slider/index.wxs +0 -14
- package/lib/slider/index.wxss +0 -1
- package/lib/stepper/index.css +0 -1
- package/lib/stepper/index.d.ts +0 -1
- package/lib/stepper/index.js +0 -225
- package/lib/stepper/index.json +0 -6
- package/lib/stepper/index.wxml +0 -45
- package/lib/stepper/index.wxs +0 -32
- package/lib/stepper/index.wxss +0 -1
- package/lib/steps/index.css +0 -1
- package/lib/steps/index.d.ts +0 -1
- package/lib/steps/index.js +0 -39
- package/lib/steps/index.json +0 -6
- package/lib/steps/index.wxml +0 -54
- package/lib/steps/index.wxss +0 -1
- package/lib/sticky/index.css +0 -1
- package/lib/sticky/index.d.ts +0 -1
- package/lib/sticky/index.js +0 -128
- package/lib/sticky/index.json +0 -3
- package/lib/sticky/index.wxml +0 -8
- package/lib/sticky/index.wxs +0 -25
- package/lib/sticky/index.wxss +0 -1
- package/lib/swipe-cell/index.css +0 -1
- package/lib/swipe-cell/index.d.ts +0 -1
- package/lib/swipe-cell/index.js +0 -142
- package/lib/swipe-cell/index.json +0 -3
- package/lib/swipe-cell/index.wxml +0 -21
- package/lib/swipe-cell/index.wxss +0 -1
- package/lib/switch/index.css +0 -1
- package/lib/switch/index.d.ts +0 -1
- package/lib/switch/index.js +0 -42
- package/lib/switch/index.json +0 -6
- package/lib/switch/index.wxml +0 -39
- package/lib/switch/index.wxs +0 -26
- package/lib/switch/index.wxss +0 -1
- package/lib/tab/index.css +0 -1
- package/lib/tab/index.d.ts +0 -1
- package/lib/tab/index.js +0 -66
- package/lib/tab/index.json +0 -3
- package/lib/tab/index.wxml +0 -8
- package/lib/tab/index.wxss +0 -1
- package/lib/tabbar/index.css +0 -1
- package/lib/tabbar/index.d.ts +0 -1
- package/lib/tabbar/index.js +0 -73
- package/lib/tabbar/index.json +0 -3
- package/lib/tabbar/index.wxml +0 -12
- package/lib/tabbar/index.wxss +0 -1
- package/lib/tabbar-item/index.css +0 -1
- package/lib/tabbar-item/index.d.ts +0 -1
- package/lib/tabbar-item/index.js +0 -79
- package/lib/tabbar-item/index.json +0 -7
- package/lib/tabbar-item/index.wxml +0 -32
- package/lib/tabbar-item/index.wxss +0 -1
- package/lib/tabs/index.css +0 -1
- package/lib/tabs/index.d.ts +0 -1
- package/lib/tabs/index.js +0 -329
- package/lib/tabs/index.json +0 -7
- package/lib/tabs/index.wxml +0 -67
- package/lib/tabs/index.wxs +0 -99
- package/lib/tabs/index.wxss +0 -1
- package/lib/tag/index.css +0 -1
- package/lib/tag/index.d.ts +0 -1
- package/lib/tag/index.js +0 -34
- package/lib/tag/index.json +0 -6
- package/lib/tag/index.wxml +0 -17
- package/lib/tag/index.wxs +0 -13
- package/lib/tag/index.wxss +0 -1
- package/lib/toast/icons.d.ts +0 -3
- package/lib/toast/icons.js +0 -12
- package/lib/toast/index.css +0 -1
- package/lib/toast/index.d.ts +0 -1
- package/lib/toast/index.js +0 -63
- package/lib/toast/index.json +0 -9
- package/lib/toast/index.wxml +0 -33
- package/lib/toast/index.wxss +0 -1
- package/lib/toast/toast.d.ts +0 -35
- package/lib/toast/toast.js +0 -116
- package/lib/transition/index.css +0 -1
- package/lib/transition/index.d.ts +0 -1
- package/lib/transition/index.js +0 -15
- package/lib/transition/index.json +0 -3
- package/lib/transition/index.wxml +0 -9
- package/lib/transition/index.wxs +0 -17
- package/lib/transition/index.wxss +0 -1
- package/lib/tree-select/index.css +0 -1
- package/lib/tree-select/index.d.ts +0 -1
- package/lib/tree-select/index.js +0 -74
- package/lib/tree-select/index.json +0 -8
- package/lib/tree-select/index.wxml +0 -41
- package/lib/tree-select/index.wxs +0 -12
- package/lib/tree-select/index.wxss +0 -1
- package/lib/wxs/add-unit.wxs +0 -12
- package/lib/wxs/array.wxs +0 -5
- package/lib/wxs/bem.wxs +0 -39
- package/lib/wxs/memoize.wxs +0 -55
- package/lib/wxs/object.wxs +0 -13
- package/lib/wxs/style.wxs +0 -46
- package/lib/wxs/utils.wxs +0 -10
@@ -1,156 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
var component_1 = require("../common/component");
|
4
|
-
(0, component_1.SmartComponent)({
|
5
|
-
props: {
|
6
|
-
/**
|
7
|
-
* @description.zh 当前值
|
8
|
-
* @description.en The current value
|
9
|
-
*/
|
10
|
-
value: {
|
11
|
-
type: String,
|
12
|
-
value: '',
|
13
|
-
observer: function () {
|
14
|
-
this.setData({ currValue: this.data.value });
|
15
|
-
},
|
16
|
-
},
|
17
|
-
/**
|
18
|
-
* @description.zh 占位符文案
|
19
|
-
* @description.en The placeholder text
|
20
|
-
*/
|
21
|
-
placeholder: {
|
22
|
-
type: String,
|
23
|
-
value: 'please input',
|
24
|
-
},
|
25
|
-
/**
|
26
|
-
* @description.zh 用于适配进制功能(取值范围1-10)
|
27
|
-
* @description.en Used to adapt the hexadecimal function (value range 1-9)
|
28
|
-
*/
|
29
|
-
digitalBase: {
|
30
|
-
type: Number,
|
31
|
-
value: 10,
|
32
|
-
observer: 'init',
|
33
|
-
},
|
34
|
-
/**
|
35
|
-
* @description.zh 是否隐藏零
|
36
|
-
* @description.en Whether to hide zero
|
37
|
-
*/
|
38
|
-
isHideZero: {
|
39
|
-
type: Boolean,
|
40
|
-
value: false,
|
41
|
-
},
|
42
|
-
/**
|
43
|
-
* @description.zh 数字键盘的确认按钮背景色
|
44
|
-
* @description.en The background color of the confirmation button of the numeric keypad
|
45
|
-
*/
|
46
|
-
confirmColor: String,
|
47
|
-
/**
|
48
|
-
* @description.zh 确认按钮文案
|
49
|
-
* @description.en The text of the confirm button
|
50
|
-
*/
|
51
|
-
confirmText: {
|
52
|
-
type: String,
|
53
|
-
value: 'Confirm',
|
54
|
-
},
|
55
|
-
/**
|
56
|
-
* @description.zh 输入框容器样式
|
57
|
-
* @description.en The style of confirm button
|
58
|
-
*/
|
59
|
-
inputContainerStyle: String,
|
60
|
-
/**
|
61
|
-
* @description.zh 当前值的样式(适用于placeholder样式)
|
62
|
-
* @description.en The style of input box container
|
63
|
-
*/
|
64
|
-
valueTextStyle: String,
|
65
|
-
/**
|
66
|
-
* @description.zh 确认按钮的样式
|
67
|
-
* @description.en The style of confirm button
|
68
|
-
*/
|
69
|
-
confirmTextStyle: String,
|
70
|
-
},
|
71
|
-
data: {
|
72
|
-
currValue: '',
|
73
|
-
visible: false,
|
74
|
-
maxNum: 0,
|
75
|
-
numberArray: [1],
|
76
|
-
prefix: 'keyboard',
|
77
|
-
row: 1,
|
78
|
-
img_hidden_light: '',
|
79
|
-
img_delete_light: '',
|
80
|
-
},
|
81
|
-
created: function () {
|
82
|
-
this.init();
|
83
|
-
this.setData({
|
84
|
-
img_hidden_light: this.toSvgCssBackground(this.getHiddenLightSvgNode('#333')),
|
85
|
-
img_delete_light: this.toSvgCssBackground(this.getDeleteLightSvgNode('#333')),
|
86
|
-
});
|
87
|
-
},
|
88
|
-
methods: {
|
89
|
-
init: function () {
|
90
|
-
var _a = this.data, isHideZero = _a.isHideZero, digitalBase = _a.digitalBase;
|
91
|
-
var maxNum = isHideZero ? +digitalBase : +digitalBase - 1; // 支持的最大数字
|
92
|
-
var numberArray = Array.from(Array(maxNum), function (_, index) { return index + 1; });
|
93
|
-
!isHideZero && numberArray.push(0);
|
94
|
-
numberArray.push(-2);
|
95
|
-
this.setData({
|
96
|
-
maxNum: maxNum,
|
97
|
-
numberArray: numberArray,
|
98
|
-
row: Math.ceil(numberArray.length / 3),
|
99
|
-
});
|
100
|
-
},
|
101
|
-
confirm: function () {
|
102
|
-
this.setData({
|
103
|
-
visible: false,
|
104
|
-
});
|
105
|
-
this.$emit('confirm', this.data.currValue);
|
106
|
-
},
|
107
|
-
changeValue: function (item) {
|
108
|
-
var i = Number(item.currentTarget.dataset.item);
|
109
|
-
if (i === -2) {
|
110
|
-
this.setData({
|
111
|
-
visible: false,
|
112
|
-
});
|
113
|
-
return;
|
114
|
-
}
|
115
|
-
var currValue = this.data.currValue;
|
116
|
-
var newValue = i === -1
|
117
|
-
? currValue.length
|
118
|
-
? currValue.slice(0, currValue.length - 1)
|
119
|
-
: ''
|
120
|
-
: "".concat(currValue).concat(i);
|
121
|
-
this.setData({
|
122
|
-
currValue: newValue,
|
123
|
-
});
|
124
|
-
this.$emit('change', newValue);
|
125
|
-
},
|
126
|
-
handlePassword: function () {
|
127
|
-
this.setData({ visible: true });
|
128
|
-
},
|
129
|
-
onMaskPress: function () {
|
130
|
-
this.setData({ visible: false });
|
131
|
-
},
|
132
|
-
getHiddenLightSvgNode: function (color) {
|
133
|
-
return "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"none\" version=\"1.1\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><g><g><path d=\"M17.701,29.701C18.2554,30.2554,18.84116,30.84116,19.28266,31.28266C19.673189999999998,31.673189999999998,20.326810000000002,31.673189999999998,20.71734,31.28266C21.158839999999998,30.84116,21.7446,30.2554,22.299,29.701C22.92896,29.07103,22.44369,28,21.55278,28C20.56722,28,19.43278,28,18.44722,28C17.55631,28,17.07103,29.07103,17.701,29.701\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"15\" y=\"20\" width=\"10\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><path d=\"M7,10L7,24Q7,24.0983,7.00963055,24.196Q7.0192611,24.2938,7.0384294,24.3902Q7.0575978,24.4865,7.0861193,24.5806Q7.114641,24.6746,7.152241,24.7654Q7.189841,24.8561,7.236157,24.9428Q7.282474,25.0294,7.337061,25.1111Q7.391648,25.1928,7.453979,25.2688Q7.516311,25.3447,7.585786,25.4142Q7.6552620000000005,25.4837,7.731213,25.546Q7.807164,25.6084,7.888859,25.6629Q7.970554,25.7175,8.05721,25.7638Q8.14386,25.8102,8.23463,25.8478Q8.32541,25.8854,8.41943,25.9139Q8.51345,25.9424,8.60982,25.9616Q8.70619,25.9807,8.80397,25.9904Q8.90175,26,9,26L31,26Q31.0983,26,31.196,25.9904Q31.2938,25.9807,31.3902,25.9616Q31.4865,25.9424,31.5806,25.9139Q31.6746,25.8854,31.7654,25.8478Q31.8561,25.8102,31.9428,25.7638Q32.029399999999995,25.7175,32.1111,25.6629Q32.1928,25.6084,32.2688,25.546Q32.3447,25.4837,32.4142,25.4142Q32.4837,25.3447,32.546,25.2688Q32.6083,25.1928,32.6629,25.1111Q32.7175,25.0294,32.7638,24.9428Q32.810199999999995,24.8561,32.8478,24.7654Q32.885400000000004,24.6746,32.9139,24.5806Q32.9424,24.4865,32.961600000000004,24.3902Q32.9807,24.2938,32.9904,24.196Q33,24.0983,33,24L33,10Q33,9.90175,32.9904,9.80397Q32.9807,9.70619,32.961600000000004,9.60982Q32.9424,9.51345,32.9139,9.41943Q32.885400000000004,9.32541,32.8478,9.23463Q32.810199999999995,9.14386,32.7638,9.05721Q32.7175,8.970554,32.6629,8.888859Q32.6083,8.807164,32.546,8.731213Q32.4837,8.655262,32.4142,8.585786Q32.3447,8.516311,32.2688,8.453979Q32.1928,8.391648,32.1111,8.337061Q32.029399999999995,8.282474,31.9428,8.236157Q31.8561,8.189841,31.7654,8.152241Q31.6746,8.114641,31.5806,8.0861193Q31.4865,8.0575978,31.3902,8.0384294Q31.2938,8.0192611,31.196,8.00963055Q31.0983,8,31,8L9,8Q8.90175,8,8.80397,8.00963055Q8.70619,8.0192611,8.60982,8.0384294Q8.51345,8.0575978,8.41943,8.0861193Q8.32541,8.114641,8.23463,8.152241Q8.14386,8.189841,8.05721,8.236157Q7.970554,8.282474,7.888859,8.337061Q7.807164,8.391648,7.731213,8.453979Q7.6552620000000005,8.516311,7.585786,8.585786Q7.516311,8.655262,7.453979,8.731213Q7.391648,8.807164,7.337061,8.888859Q7.282474,8.970554,7.236157,9.05721Q7.189841,9.14386,7.152241,9.23463Q7.114641,9.32541,7.0861193,9.41943Q7.0575978,9.51345,7.0384294,9.60982Q7.0192611,9.70619,7.00963055,9.80397Q7,9.90175,7,10ZM31,24L9,24L9,10L31,10L31,24Z\" fill-rule=\"evenodd\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"12\" y=\"16\" width=\"4\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"12\" y=\"12\" width=\"4\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"18\" y=\"16\" width=\"4\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"18\" y=\"12\" width=\"4\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"24\" y=\"16\" width=\"4\" height=\"2\" rx=\"1\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><rect x=\"24\" y=\"12\" width=\"4\" height=\"2\" rx=\"1\" fill=\"".concat(color, "\" fill-opacity=\"1\"/></g></g></svg>");
|
134
|
-
},
|
135
|
-
getDeleteLightSvgNode: function (color) {
|
136
|
-
return "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" fill=\"none\" version=\"1.1\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><g><g><g><path d=\"M31.139,10.88219Q32,11.753546,32,12.99L32,27.009999999999998Q32,28.2465,31.139,29.1178Q30.2674,30,29.0185,30L14.57953,30Q12.75566,30,11.53603,28.4241L11.45074,28.3139L7.55054,21.49416Q7.15474,20.80208,7.15474,20Q7.15474,19.19792,7.55054,18.50585L9.322711,15.4071L11.40802,11.760825L11.43692,11.716023Q12.54363,10,14.57953,10L29.0185,10Q30.1823,10,31.0185,10.76608Q31.0797,10.82209,31.139,10.88219ZM14.57953,12C13.97759,12,13.461649999999999,12.266667,13.11769,12.8L9.28667,19.498739999999998C9.110759,19.80633,9.110759,20.193669999999997,9.28667,20.501260000000002L13.11769,27.2C13.461649999999999,27.644399999999997,13.97759,28,14.57953,28L29.0185,28C29.5708,28,30,27.5623,30,27.009999999999998L30,12.99C30,12.437715,29.5708,12,29.0185,12L14.57953,12Z\" fill-rule=\"evenodd\" fill=\"#333333\" fill-opacity=\"1\"/></g><g><path d=\"M19.5859164704895,20.21865544288635L17.0745744704895,17.70731544288635L17.074336470489502,17.707085442886353Q16.933684470489503,17.566425442886352,16.857563770489502,17.382655442886353Q16.7814433668895,17.198885442886354,16.781443595889503,16.999975442886353Q16.7814433668895,16.801063442886353,16.8575636704895,16.617292442886352Q16.933683470489502,16.433521442886352,17.074336470489502,16.292868442886352Q17.2149884704895,16.152216442886353,17.3987594704895,16.07609594288635Q17.582530470489502,15.999975442886353,17.781443470489503,15.999975442886353Q17.980356470489504,15.999975442886353,18.164126470489503,16.076095842886353Q18.347896470489502,16.152216442886353,18.488546470489503,16.292868442886352L18.4887864704895,16.293105442886354L21.0001264704895,18.80444544288635L23.5116764704895,16.292891442886354Q23.652326470489502,16.15223944288635,23.8360964704895,16.076118842886352Q24.0198764704895,15.999998331086353,24.2187864704895,15.999998331086353Q24.417696470489503,15.999998331086353,24.601466470489502,16.07611874288635Q24.7852364704895,16.15223944288635,24.925886470489502,16.292891442886354Q25.066546470489502,16.433543442886354,25.1426664704895,16.617314442886354Q25.2187864704895,16.801085442886354,25.2187864704895,16.999995442886352Q25.2187864704895,17.198915442886353,25.1426664704895,17.382685442886352Q25.066546470489502,17.56645544288635,24.9258964704895,17.707105442886352L22.414336470489502,20.21865544288635L24.707186470489503,22.511505442886353Q24.8478464704895,22.652155442886354,24.923966470489503,22.835935442886353Q25.0000864704895,23.01970544288635,25.0000864704895,23.218615442886353Q25.0000864704895,23.41752544288635,24.923966470489503,23.601295442886354Q24.8478464704895,23.785065442886353,24.707186470489503,23.925725442886353Q24.566536470489503,24.066375442886354,24.3827664704895,24.14249544288635Q24.1989964704895,24.218615442886353,24.000086470489503,24.218615442886353Q23.801166470489502,24.218615442886353,23.617396470489503,24.14249544288635Q23.4336264704895,24.066375442886354,23.292976470489503,23.925725442886353L21.0001264704895,21.632875442886352L18.707486470489503,23.925505442886355L18.7072564704895,23.925745442886353Q18.5665964704895,24.066395442886353,18.3828264704895,24.142515442886353Q18.199056470489502,24.218635442886352,18.0001464704895,24.218635442886352Q17.801236470489503,24.218635442886352,17.617461470489502,24.142515442886353Q17.433690470489502,24.066395442886353,17.293038470489503,23.925745442886353Q17.152386470489503,23.78509544288635,17.0762664704895,23.601325442886353Q17.000145470489503,23.417555442886353,17.000145470489503,23.218635442886352Q17.000145470489503,23.019725442886354,17.076265470489503,22.835955442886352Q17.152386470489503,22.652185442886353,17.293038470489503,22.511535442886352L17.2932754704895,22.511295442886354L19.5859164704895,20.21865544288635Z\" fill-rule=\"evenodd\" fill=\"".concat(color, "\" fill-opacity=\"1\"/></g></g></g></svg>");
|
137
|
-
},
|
138
|
-
toSvgCssBackground: function (svgString) {
|
139
|
-
var res = svgString;
|
140
|
-
res = svgString
|
141
|
-
.replace('<svg', ~svgString.indexOf('xmlns') ? '<svg' : '<svg xmlns="http://www.w3.org/2000/svg"')
|
142
|
-
.replace(/"/g, "'")
|
143
|
-
.replace(/%/g, '%25')
|
144
|
-
.replace(/#/g, '%23')
|
145
|
-
.replace(/{/g, '%7B')
|
146
|
-
.replace(/}/g, '%7D')
|
147
|
-
.replace(/</g, '%3C')
|
148
|
-
.replace(/>/g, '%3E')
|
149
|
-
.replace(/\s+/g, ' ');
|
150
|
-
var imageBase64Src = "url(\"data:image/svg+xml,".concat(res, "\")");
|
151
|
-
var ret = "\n -webkit-mask-image: ".concat(imageBase64Src, ";\n -webkit-mask-size: contain;\n mask-image: ").concat(imageBase64Src, ";\n mask-size: contain;\n width: 40px;\n height: 40px;\n background-repeat: no-repeat\n ");
|
152
|
-
return ret;
|
153
|
-
// return `background-image: url("data:image/svg+xml,${res}"); width: 40px; height: 40px; background-repeat: no-repeat;`;
|
154
|
-
},
|
155
|
-
},
|
156
|
-
});
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<view class="{{prefix}} {{prefix}}-container" style="{{inputContainerStyle}}">
|
2
|
-
<view class="{{prefix}}-textView" bind:tap="handlePassword">
|
3
|
-
<text class="{{prefix}}-pwdText {{currValue !== '' ? prefix + '-password' : null}}" style="{{valueTextStyle}}">{{currValue || placeholder}}</text>
|
4
|
-
</view>
|
5
|
-
<slot name="custom-button" />
|
6
|
-
</view>
|
7
|
-
<smart-popup
|
8
|
-
show="{{visible}}"
|
9
|
-
bind:close="onMaskPress"
|
10
|
-
position="bottom"
|
11
|
-
overlay="{{true}}"
|
12
|
-
>
|
13
|
-
<view class="{{prefix}}-popup-container">
|
14
|
-
<view class="{{prefix}}-number-wrap" style="height: {{row * 56}}px">
|
15
|
-
<view wx:for="{{numberArray}}" wx:key="index" bind:tap="changeValue" hover-class="{{prefix}}-hover-class" data-item="{{ item }}" class="{{prefix}}-number-item" style="{{(item === 0 || item === 10) && numberArray.length === 11 ? 'width: 345rpx' : ''}}">
|
16
|
-
<view
|
17
|
-
wx:if="{{item === -2}}"
|
18
|
-
class="{{prefix}}-hidden-image"
|
19
|
-
style="{{img_hidden_light}}"
|
20
|
-
/>
|
21
|
-
<text wx:else class="{{prefix}}-number-text">{{ item <= -1 || item > maxNum ? '' : item }}</text>
|
22
|
-
</view>
|
23
|
-
</view>
|
24
|
-
<view class="{{prefix}}-operate-wrap">
|
25
|
-
<button
|
26
|
-
bind:tap="changeValue"
|
27
|
-
data-item="-1"
|
28
|
-
style="margin-bottom: 6px"
|
29
|
-
class="{{prefix}}-confirm-btn"
|
30
|
-
hover-class="{{prefix}}-hover-class"
|
31
|
-
>
|
32
|
-
<view style="{{img_delete_light}}" class="{{prefix}}-hidden-image" />
|
33
|
-
</button>
|
34
|
-
<button
|
35
|
-
class="{{prefix}}-confirm-btn {{prefix}}-confirm-color"
|
36
|
-
style="background-color: {{confirmColor}}"
|
37
|
-
bind:tap="confirm"
|
38
|
-
hover-class="{{prefix}}-hover-class"
|
39
|
-
>
|
40
|
-
<text class="{{prefix}}-confirm-text" space="false" style="{{confirmTextStyle}}">{{confirmText}}</text>
|
41
|
-
</button >
|
42
|
-
</view>
|
43
|
-
</view>
|
44
|
-
</smart-popup>
|
@@ -1 +0,0 @@
|
|
1
|
-
@import '../common/index.wxss';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0))}:root text{white-space:normal}.keyboard-container{align-items:center;background-color:var(--custom-keyboard-bg-color,var(--app-B6,#fff));border-color:var(--custom-keyboard-border-color,var(--app-B6-N7,rgba(0,0,0,.1)));border-radius:16rpx;border-style:solid;border-width:1rpx;box-sizing:border-box;display:flex;flex-direction:row;height:80rpx;justify-content:space-between;overflow:hidden;padding:24rpx 0rpx 24rpx 24rpx;width:500rpx}.keyboard-button{align-items:center;background-color:initial;justify-content:center}.keyboard-textView{display:flex;flex:1}.keyboard-pwdText{color:var(--custom-keyboard-placeholder-color,var(--app-B6-N6,rgba(0,0,0,.2)));font-size:40rpx}.keyboard-password{color:var(--custom-keyboard-text-color,var(--app-B6-N2,rgba(0,0,0,.7)));letter-spacing:16rpx}.keyboard-randomText{font-size:24rpx;font-weight:500}.keyboard-popup-container{background-color:var(--app-B6-N6,rgba(0,0,0,.2));display:flex;flex-direction:row;height:464rpx;padding:8rpx;width:100%}.keyboard-number-wrap{background-color:initial;display:flex;flex:1;flex-direction:row;flex-wrap:wrap;width:570rpx}.keyboard-operate-wrap{background-color:initial;padding-right:4rpx;padding-top:8rpx;width:180rpx}.keyboard-number-item{align-items:center;background-color:var(--app-B6,#fff);border-radius:8rpx;display:flex;height:96rpx;justify-content:center;margin:8rpx;width:166rpx}.keyboard-number-text{color:var(--app-B6-N2,rgba(0,0,0,.7));font-size:48rpx;font-weight:700}.keyboard-hidden-image{background:var(--app-B6-N2,rgba(0,0,0,.7));height:80rpx;width:80rpx}.keyboard-confirm-btn{align-items:center;background-color:var(--app-B6,#fff);border-radius:8rpx;display:flex;height:210rpx;justify-content:center;padding:0;width:168rpx}.keyboard-confirm-color{background-color:var(--app-M3,#2dda86)}.keyboard-confirm-text{color:#fff;font-size:40rpx;font-weight:700}.keyboard-hover-class{background-color:var(--app-B6-N7,rgba(0,0,0,.1))}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import '../common/index.css';:root{--smart-ui-overlay:rgba(0,0,0,.4);--smart-ui-dialog-background:#fff;--smart-ui-border-image:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent)}:root[theme=dark]{--smart-ui-overlay:rgba(0,0,0,.7);--smart-ui-dialog-background:#333;--smart-ui-border-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3),hsla(0,0%,100%,0))}.smart-datetime-picker{--hairline-color:transparent}.smart-datetime-picker-hairline{border-image-slice:1;border-image-source:var(--hairline-border-image-color,var(--smart-ui-border-image,linear-gradient(to right,transparent,rgba(0,0,0,.3),transparent)));border-style:solid;border-width:.5px 0;position:absolute}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|