@ray-js/lamp-saturation-slider 1.1.1 → 1.1.4-beta-1
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.config.js +3 -3
- package/lib/index.d.ts +4 -4
- package/lib/index.js +59 -53
- package/lib/props.d.ts +6 -0
- package/lib/props.js +4 -10
- package/lib/utils/index.js +14 -21
- package/package.json +12 -14
- package/lib/components/slider/index.d.ts +0 -230
- package/lib/components/slider/index.js +0 -211
- package/lib/components/slider/index.json +0 -3
- package/lib/components/slider/index.less +0 -194
- package/lib/components/slider/index.sjs +0 -837
- package/lib/components/slider/index.tyml +0 -89
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
<sjs src="./index.sjs" module="computed"></sjs>
|
|
2
|
-
|
|
3
|
-
<view
|
|
4
|
-
id="{{instanceId}}"
|
|
5
|
-
class="rayui-slider {{direction === 'vertical' ? 'vertical': 'horizontal'}} {{reverse ? 'reverse': 'no-reverse'}} {{disable ? 'disabled': ''}} {{className}}"
|
|
6
|
-
disable="{{disable}}"
|
|
7
|
-
|
|
8
|
-
change:start="{{computed.startPropObserver(instanceId)}}"
|
|
9
|
-
change:end="{{computed.endPropObserver(instanceId)}}"
|
|
10
|
-
change:watchstart="{{computed.watchstartPropObserver(instanceId)}}"
|
|
11
|
-
change:watchend="{{computed.watchenddPropObserver(instanceId)}}"
|
|
12
|
-
change:hue="{{hue}}"
|
|
13
|
-
start="{{start}}"
|
|
14
|
-
end="{{end}}"
|
|
15
|
-
watchstart="{{watchStart}}"
|
|
16
|
-
watchend="{{watchEnd}}"
|
|
17
|
-
|
|
18
|
-
data-hue="{{hue}}"
|
|
19
|
-
data-min="{{min}}"
|
|
20
|
-
data-max="{{max}}"
|
|
21
|
-
|
|
22
|
-
data-step="{{step}}"
|
|
23
|
-
|
|
24
|
-
bind:touchstart="{{computed.handleTrackMouseDown(instanceId)}}"
|
|
25
|
-
bind:touchmove="{{computed.onMouseMove(instanceId)}}"
|
|
26
|
-
bind:touchend="{{computed.onTrackMouseUp(instanceId)}}"
|
|
27
|
-
|
|
28
|
-
data-startmin="{{startMin}}"
|
|
29
|
-
data-startmax="{{startMax}}"
|
|
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
|
-
|
|
47
|
-
style="{{trackStyle}}"
|
|
48
|
-
>
|
|
49
|
-
<view ty:if="{{disable}}" class="rayui-slider-mask"></view>
|
|
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" style="{{thumbStartStyle}}"
|
|
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="{{thumbEndStyle}}"
|
|
87
|
-
></view>
|
|
88
|
-
</view>
|
|
89
|
-
</view>
|