@ray-js/lamp-style-slider 0.0.3-beta-1 → 0.0.3-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/lib/index.js +7 -6
- package/package.json +2 -2
- package/lib/components/slider/index.d.ts +0 -176
- package/lib/components/slider/index.js +0 -188
- package/lib/components/slider/index.json +0 -3
- package/lib/components/slider/index.less +0 -184
- package/lib/components/slider/index.sjs +0 -920
- package/lib/components/slider/index.tyml +0 -90
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<sjs src="./index.sjs" module="computed"></sjs>
|
|
2
|
-
|
|
3
|
-
<view class="rayui-slider_wrap {{direction === 'vertical' ? 'vertical': 'horizontal'}}"
|
|
4
|
-
bind:touchstart="{{computed.handleTrackMouseDown(instanceId)}}"
|
|
5
|
-
bind:touchmove="{{computed.onMouseMove(instanceId)}}"
|
|
6
|
-
bind:touchend="{{computed.onTrackMouseUp(instanceId)}}"
|
|
7
|
-
style="{{hotAreaStyle}}"
|
|
8
|
-
>
|
|
9
|
-
<view
|
|
10
|
-
id="{{instanceId}}"
|
|
11
|
-
class="rayui-slider {{direction === 'vertical' ? 'vertical': 'horizontal'}} {{reverse ? 'reverse': 'no-reverse'}} {{disable ? 'disabled': ''}} {{className}}"
|
|
12
|
-
disable="{{disable}}"
|
|
13
|
-
|
|
14
|
-
change:start="{{computed.startPropObserver(instanceId)}}"
|
|
15
|
-
change:end="{{computed.endPropObserver(instanceId)}}"
|
|
16
|
-
change:watchstart="{{computed.watchstartPropObserver(instanceId)}}"
|
|
17
|
-
change:watchend="{{computed.watchenddPropObserver(instanceId)}}"
|
|
18
|
-
start="{{start}}"
|
|
19
|
-
end="{{end}}"
|
|
20
|
-
watchstart="{{watchStart}}"
|
|
21
|
-
watchend="{{watchEnd}}"
|
|
22
|
-
|
|
23
|
-
data-max="{{max}}"
|
|
24
|
-
|
|
25
|
-
data-step="{{step}}"
|
|
26
|
-
|
|
27
|
-
data-startmin="{{startMin}}"
|
|
28
|
-
data-startmax="{{startMax}}"
|
|
29
|
-
data-valuemin="{{min}}"
|
|
30
|
-
|
|
31
|
-
data-endmin="{{endMin}}"
|
|
32
|
-
data-endmax="{{endMax}}"
|
|
33
|
-
|
|
34
|
-
data-mode="{{mode}}"
|
|
35
|
-
data-barpad="{{barPad}}"
|
|
36
|
-
data-hidethumb="{{hideThumb}}"
|
|
37
|
-
data-showsteps="{{showSteps}}"
|
|
38
|
-
data-direction="{{direction}}"
|
|
39
|
-
data-reverse="{{reverse}}"
|
|
40
|
-
data-enabletouch="{{enableTouch}}"
|
|
41
|
-
data-enabletouchbar="{{enableTouchBar}}"
|
|
42
|
-
data-maxrangeoffset="{{maxRangeOffset}}"
|
|
43
|
-
data-texttemplate="{{textTemplate}}"
|
|
44
|
-
data-showtext="{{showText}}"
|
|
45
|
-
data-thumbstylecalc="{{thumbStyleCalc}}"
|
|
46
|
-
data-hidebaronfirstrender="{{hideBarOnFirstRender}}"
|
|
47
|
-
|
|
48
|
-
style="{{trackStyle}}"
|
|
49
|
-
>
|
|
50
|
-
<view ty:if="{{showSteps}}" class="rayui-slider-steps">
|
|
51
|
-
<view class="rayui-slider-steps-dot" ty:for="{{steps}}" style="{{stepStyle}}" ty:for-item="step">
|
|
52
|
-
</view>
|
|
53
|
-
</view>
|
|
54
|
-
<view class="rayui-slider-bar"
|
|
55
|
-
style="{{barStyle}}"
|
|
56
|
-
>
|
|
57
|
-
<view ty:if="{{showText}}" class="rayui-slider-bar-text" style="{{textStyle}}">
|
|
58
|
-
{{text}}
|
|
59
|
-
</view>
|
|
60
|
-
<view class="rayui-slider-bar-steps_wrap">
|
|
61
|
-
<view ty:if="{{showSteps}}" class="rayui-slider-steps">
|
|
62
|
-
<view class="rayui-slider-steps-dot" ty:for="{{steps}}" style="{{activeStepStyle}}" ty:for-item="step">
|
|
63
|
-
</view>
|
|
64
|
-
</view>
|
|
65
|
-
</view>
|
|
66
|
-
</view>
|
|
67
|
-
<view
|
|
68
|
-
class="rayui-slider-thumb rayui-slider-thumb-start"
|
|
69
|
-
data-name="start"
|
|
70
|
-
bind:touchstart="{{computed.handleMouseDown(instanceId)}}"
|
|
71
|
-
bind:touchend="{{computed.onMouseUp(instanceId)}}"
|
|
72
|
-
>
|
|
73
|
-
<view
|
|
74
|
-
data-name="start"
|
|
75
|
-
class="rayui-slider-thumb-render rayui-slider-thumb-start-render"
|
|
76
|
-
></view>
|
|
77
|
-
</view>
|
|
78
|
-
<view
|
|
79
|
-
class="rayui-slider-thumb rayui-slider-thumb-end"
|
|
80
|
-
data-name="end"
|
|
81
|
-
bind:touchstart="{{computed.handleMouseDown(instanceId)}}"
|
|
82
|
-
bind:touchend="{{computed.onMouseUp(instanceId)}}"
|
|
83
|
-
>
|
|
84
|
-
<view
|
|
85
|
-
data-name="end"
|
|
86
|
-
class="rayui-slider-thumb-render rayui-slider-thumb-end-render" style="{{thumbStyle}}"
|
|
87
|
-
></view>
|
|
88
|
-
</view>
|
|
89
|
-
</view>
|
|
90
|
-
</view>
|