@rsmax/ali 1.0.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/CHANGELOG.md +6 -0
- package/README.md +3 -0
- package/cjs/api.d.ts +2765 -0
- package/cjs/api.js +199 -0
- package/cjs/hostComponents/Button/index.d.ts +27 -0
- package/cjs/hostComponents/Button/index.js +5 -0
- package/cjs/hostComponents/Button/node.d.ts +25 -0
- package/cjs/hostComponents/Button/node.js +29 -0
- package/cjs/hostComponents/Camera/index.d.ts +18 -0
- package/cjs/hostComponents/Camera/index.js +5 -0
- package/cjs/hostComponents/Camera/node.d.ts +17 -0
- package/cjs/hostComponents/Camera/node.js +21 -0
- package/cjs/hostComponents/Canvas/index.d.ts +19 -0
- package/cjs/hostComponents/Canvas/index.js +5 -0
- package/cjs/hostComponents/Canvas/node.d.ts +19 -0
- package/cjs/hostComponents/Canvas/node.js +23 -0
- package/cjs/hostComponents/Checkbox/index.d.ts +12 -0
- package/cjs/hostComponents/Checkbox/index.js +5 -0
- package/cjs/hostComponents/Checkbox/node.d.ts +12 -0
- package/cjs/hostComponents/Checkbox/node.js +16 -0
- package/cjs/hostComponents/CheckboxGroup/index.d.ts +9 -0
- package/cjs/hostComponents/CheckboxGroup/index.js +5 -0
- package/cjs/hostComponents/CheckboxGroup/node.d.ts +8 -0
- package/cjs/hostComponents/CheckboxGroup/node.js +12 -0
- package/cjs/hostComponents/ContactButton/index.d.ts +11 -0
- package/cjs/hostComponents/ContactButton/index.js +5 -0
- package/cjs/hostComponents/ContactButton/node.d.ts +12 -0
- package/cjs/hostComponents/ContactButton/node.js +16 -0
- package/cjs/hostComponents/CoverImage/index.d.ts +9 -0
- package/cjs/hostComponents/CoverImage/index.js +5 -0
- package/cjs/hostComponents/CoverImage/node.d.ts +9 -0
- package/cjs/hostComponents/CoverImage/node.js +13 -0
- package/cjs/hostComponents/CoverView/index.d.ts +8 -0
- package/cjs/hostComponents/CoverView/index.js +5 -0
- package/cjs/hostComponents/CoverView/node.d.ts +8 -0
- package/cjs/hostComponents/CoverView/node.js +12 -0
- package/cjs/hostComponents/Form/index.d.ts +10 -0
- package/cjs/hostComponents/Form/index.js +5 -0
- package/cjs/hostComponents/Form/node.d.ts +9 -0
- package/cjs/hostComponents/Form/node.js +13 -0
- package/cjs/hostComponents/Icon/index.d.ts +10 -0
- package/cjs/hostComponents/Icon/index.js +5 -0
- package/cjs/hostComponents/Icon/node.d.ts +9 -0
- package/cjs/hostComponents/Icon/node.js +13 -0
- package/cjs/hostComponents/Image/index.d.ts +20 -0
- package/cjs/hostComponents/Image/index.js +5 -0
- package/cjs/hostComponents/Image/node.d.ts +17 -0
- package/cjs/hostComponents/Image/node.js +21 -0
- package/cjs/hostComponents/Input/index.d.ts +30 -0
- package/cjs/hostComponents/Input/index.js +5 -0
- package/cjs/hostComponents/Input/node.d.ts +29 -0
- package/cjs/hostComponents/Input/node.js +33 -0
- package/cjs/hostComponents/Label/index.d.ts +8 -0
- package/cjs/hostComponents/Label/index.js +5 -0
- package/cjs/hostComponents/Label/node.d.ts +7 -0
- package/cjs/hostComponents/Label/node.js +11 -0
- package/cjs/hostComponents/Lifestyle/index.d.ts +7 -0
- package/cjs/hostComponents/Lifestyle/index.js +5 -0
- package/cjs/hostComponents/Lifestyle/node.d.ts +5 -0
- package/cjs/hostComponents/Lifestyle/node.js +9 -0
- package/cjs/hostComponents/Lottie/index.d.ts +23 -0
- package/cjs/hostComponents/Lottie/index.js +5 -0
- package/cjs/hostComponents/Lottie/node.d.ts +22 -0
- package/cjs/hostComponents/Lottie/node.js +26 -0
- package/cjs/hostComponents/Map/index.d.ts +127 -0
- package/cjs/hostComponents/Map/index.js +5 -0
- package/cjs/hostComponents/Map/node.d.ts +29 -0
- package/cjs/hostComponents/Map/node.js +33 -0
- package/cjs/hostComponents/MovableArea/index.d.ts +10 -0
- package/cjs/hostComponents/MovableArea/index.js +5 -0
- package/cjs/hostComponents/MovableArea/node.d.ts +8 -0
- package/cjs/hostComponents/MovableArea/node.js +12 -0
- package/cjs/hostComponents/MovableView/index.d.ts +30 -0
- package/cjs/hostComponents/MovableView/index.js +5 -0
- package/cjs/hostComponents/MovableView/node.d.ts +26 -0
- package/cjs/hostComponents/MovableView/node.js +30 -0
- package/cjs/hostComponents/Navigator/index.d.ts +12 -0
- package/cjs/hostComponents/Navigator/index.js +5 -0
- package/cjs/hostComponents/Navigator/node.d.ts +12 -0
- package/cjs/hostComponents/Navigator/node.js +16 -0
- package/cjs/hostComponents/Picker/index.d.ts +13 -0
- package/cjs/hostComponents/Picker/index.js +5 -0
- package/cjs/hostComponents/Picker/node.d.ts +12 -0
- package/cjs/hostComponents/Picker/node.js +16 -0
- package/cjs/hostComponents/PickerView/index.d.ts +14 -0
- package/cjs/hostComponents/PickerView/index.js +5 -0
- package/cjs/hostComponents/PickerView/node.d.ts +15 -0
- package/cjs/hostComponents/PickerView/node.js +19 -0
- package/cjs/hostComponents/PickerViewColumn/index.d.ts +2 -0
- package/cjs/hostComponents/PickerViewColumn/index.js +5 -0
- package/cjs/hostComponents/PickerViewColumn/node.d.ts +2 -0
- package/cjs/hostComponents/PickerViewColumn/node.js +5 -0
- package/cjs/hostComponents/Progress/index.d.ts +13 -0
- package/cjs/hostComponents/Progress/index.js +5 -0
- package/cjs/hostComponents/Progress/node.d.ts +12 -0
- package/cjs/hostComponents/Progress/node.js +16 -0
- package/cjs/hostComponents/Radio/index.d.ts +12 -0
- package/cjs/hostComponents/Radio/index.js +5 -0
- package/cjs/hostComponents/Radio/node.d.ts +11 -0
- package/cjs/hostComponents/Radio/node.js +15 -0
- package/cjs/hostComponents/RadioGroup/index.d.ts +9 -0
- package/cjs/hostComponents/RadioGroup/index.js +5 -0
- package/cjs/hostComponents/RadioGroup/node.d.ts +8 -0
- package/cjs/hostComponents/RadioGroup/node.js +12 -0
- package/cjs/hostComponents/RichText/index.d.ts +12 -0
- package/cjs/hostComponents/RichText/index.js +5 -0
- package/cjs/hostComponents/RichText/node.d.ts +15 -0
- package/cjs/hostComponents/RichText/node.js +19 -0
- package/cjs/hostComponents/ScrollView/index.d.ts +28 -0
- package/cjs/hostComponents/ScrollView/index.js +5 -0
- package/cjs/hostComponents/ScrollView/node.d.ts +26 -0
- package/cjs/hostComponents/ScrollView/node.js +30 -0
- package/cjs/hostComponents/Slider/index.d.ts +21 -0
- package/cjs/hostComponents/Slider/index.js +5 -0
- package/cjs/hostComponents/Slider/node.d.ts +20 -0
- package/cjs/hostComponents/Slider/node.js +24 -0
- package/cjs/hostComponents/Swiper/index.d.ts +27 -0
- package/cjs/hostComponents/Swiper/index.js +5 -0
- package/cjs/hostComponents/Swiper/node.d.ts +27 -0
- package/cjs/hostComponents/Swiper/node.js +31 -0
- package/cjs/hostComponents/SwiperItem/index.d.ts +9 -0
- package/cjs/hostComponents/SwiperItem/index.js +5 -0
- package/cjs/hostComponents/SwiperItem/node.d.ts +7 -0
- package/cjs/hostComponents/SwiperItem/node.js +11 -0
- package/cjs/hostComponents/Switch/index.d.ts +12 -0
- package/cjs/hostComponents/Switch/index.js +5 -0
- package/cjs/hostComponents/Switch/node.d.ts +12 -0
- package/cjs/hostComponents/Switch/node.js +16 -0
- package/cjs/hostComponents/Text/index.d.ts +15 -0
- package/cjs/hostComponents/Text/index.js +5 -0
- package/cjs/hostComponents/Text/node.d.ts +12 -0
- package/cjs/hostComponents/Text/node.js +16 -0
- package/cjs/hostComponents/Textarea/index.d.ts +23 -0
- package/cjs/hostComponents/Textarea/index.js +5 -0
- package/cjs/hostComponents/Textarea/node.d.ts +23 -0
- package/cjs/hostComponents/Textarea/node.js +27 -0
- package/cjs/hostComponents/Video/index.d.ts +33 -0
- package/cjs/hostComponents/Video/index.js +5 -0
- package/cjs/hostComponents/Video/node.d.ts +33 -0
- package/cjs/hostComponents/Video/node.js +37 -0
- package/cjs/hostComponents/View/index.d.ts +33 -0
- package/cjs/hostComponents/View/index.js +5 -0
- package/cjs/hostComponents/View/node.d.ts +29 -0
- package/cjs/hostComponents/View/node.js +33 -0
- package/cjs/hostComponents/WebView/index.d.ts +8 -0
- package/cjs/hostComponents/WebView/index.js +5 -0
- package/cjs/hostComponents/WebView/node.d.ts +6 -0
- package/cjs/hostComponents/WebView/node.js +6 -0
- package/cjs/hostComponents/index.d.ts +36 -0
- package/cjs/hostComponents/index.js +52 -0
- package/cjs/hostComponents/node.d.ts +2 -0
- package/cjs/hostComponents/node.js +99 -0
- package/cjs/index.d.ts +3 -0
- package/cjs/index.js +19 -0
- package/cjs/node/index.d.ts +3 -0
- package/cjs/node/index.js +62 -0
- package/cjs/types/config.d.ts +151 -0
- package/cjs/types/config.js +2 -0
- package/cjs/types/index.d.ts +1 -0
- package/cjs/types/index.js +17 -0
- package/esm/api.d.ts +2765 -0
- package/esm/api.js +193 -0
- package/esm/hostComponents/Button/index.d.ts +27 -0
- package/esm/hostComponents/Button/index.js +2 -0
- package/esm/hostComponents/Button/node.d.ts +25 -0
- package/esm/hostComponents/Button/node.js +26 -0
- package/esm/hostComponents/Camera/index.d.ts +18 -0
- package/esm/hostComponents/Camera/index.js +2 -0
- package/esm/hostComponents/Camera/node.d.ts +17 -0
- package/esm/hostComponents/Camera/node.js +18 -0
- package/esm/hostComponents/Canvas/index.d.ts +19 -0
- package/esm/hostComponents/Canvas/index.js +2 -0
- package/esm/hostComponents/Canvas/node.d.ts +19 -0
- package/esm/hostComponents/Canvas/node.js +20 -0
- package/esm/hostComponents/Checkbox/index.d.ts +12 -0
- package/esm/hostComponents/Checkbox/index.js +2 -0
- package/esm/hostComponents/Checkbox/node.d.ts +12 -0
- package/esm/hostComponents/Checkbox/node.js +13 -0
- package/esm/hostComponents/CheckboxGroup/index.d.ts +9 -0
- package/esm/hostComponents/CheckboxGroup/index.js +2 -0
- package/esm/hostComponents/CheckboxGroup/node.d.ts +8 -0
- package/esm/hostComponents/CheckboxGroup/node.js +9 -0
- package/esm/hostComponents/ContactButton/index.d.ts +11 -0
- package/esm/hostComponents/ContactButton/index.js +2 -0
- package/esm/hostComponents/ContactButton/node.d.ts +12 -0
- package/esm/hostComponents/ContactButton/node.js +13 -0
- package/esm/hostComponents/CoverImage/index.d.ts +9 -0
- package/esm/hostComponents/CoverImage/index.js +2 -0
- package/esm/hostComponents/CoverImage/node.d.ts +9 -0
- package/esm/hostComponents/CoverImage/node.js +10 -0
- package/esm/hostComponents/CoverView/index.d.ts +8 -0
- package/esm/hostComponents/CoverView/index.js +2 -0
- package/esm/hostComponents/CoverView/node.d.ts +8 -0
- package/esm/hostComponents/CoverView/node.js +9 -0
- package/esm/hostComponents/Form/index.d.ts +10 -0
- package/esm/hostComponents/Form/index.js +2 -0
- package/esm/hostComponents/Form/node.d.ts +9 -0
- package/esm/hostComponents/Form/node.js +10 -0
- package/esm/hostComponents/Icon/index.d.ts +10 -0
- package/esm/hostComponents/Icon/index.js +2 -0
- package/esm/hostComponents/Icon/node.d.ts +9 -0
- package/esm/hostComponents/Icon/node.js +10 -0
- package/esm/hostComponents/Image/index.d.ts +20 -0
- package/esm/hostComponents/Image/index.js +2 -0
- package/esm/hostComponents/Image/node.d.ts +17 -0
- package/esm/hostComponents/Image/node.js +18 -0
- package/esm/hostComponents/Input/index.d.ts +30 -0
- package/esm/hostComponents/Input/index.js +2 -0
- package/esm/hostComponents/Input/node.d.ts +29 -0
- package/esm/hostComponents/Input/node.js +30 -0
- package/esm/hostComponents/Label/index.d.ts +8 -0
- package/esm/hostComponents/Label/index.js +2 -0
- package/esm/hostComponents/Label/node.d.ts +7 -0
- package/esm/hostComponents/Label/node.js +8 -0
- package/esm/hostComponents/Lifestyle/index.d.ts +7 -0
- package/esm/hostComponents/Lifestyle/index.js +2 -0
- package/esm/hostComponents/Lifestyle/node.d.ts +5 -0
- package/esm/hostComponents/Lifestyle/node.js +6 -0
- package/esm/hostComponents/Lottie/index.d.ts +23 -0
- package/esm/hostComponents/Lottie/index.js +2 -0
- package/esm/hostComponents/Lottie/node.d.ts +22 -0
- package/esm/hostComponents/Lottie/node.js +23 -0
- package/esm/hostComponents/Map/index.d.ts +127 -0
- package/esm/hostComponents/Map/index.js +2 -0
- package/esm/hostComponents/Map/node.d.ts +29 -0
- package/esm/hostComponents/Map/node.js +30 -0
- package/esm/hostComponents/MovableArea/index.d.ts +10 -0
- package/esm/hostComponents/MovableArea/index.js +2 -0
- package/esm/hostComponents/MovableArea/node.d.ts +8 -0
- package/esm/hostComponents/MovableArea/node.js +9 -0
- package/esm/hostComponents/MovableView/index.d.ts +30 -0
- package/esm/hostComponents/MovableView/index.js +2 -0
- package/esm/hostComponents/MovableView/node.d.ts +26 -0
- package/esm/hostComponents/MovableView/node.js +27 -0
- package/esm/hostComponents/Navigator/index.d.ts +12 -0
- package/esm/hostComponents/Navigator/index.js +2 -0
- package/esm/hostComponents/Navigator/node.d.ts +12 -0
- package/esm/hostComponents/Navigator/node.js +13 -0
- package/esm/hostComponents/Picker/index.d.ts +13 -0
- package/esm/hostComponents/Picker/index.js +2 -0
- package/esm/hostComponents/Picker/node.d.ts +12 -0
- package/esm/hostComponents/Picker/node.js +13 -0
- package/esm/hostComponents/PickerView/index.d.ts +14 -0
- package/esm/hostComponents/PickerView/index.js +2 -0
- package/esm/hostComponents/PickerView/node.d.ts +15 -0
- package/esm/hostComponents/PickerView/node.js +16 -0
- package/esm/hostComponents/PickerViewColumn/index.d.ts +2 -0
- package/esm/hostComponents/PickerViewColumn/index.js +2 -0
- package/esm/hostComponents/PickerViewColumn/node.d.ts +2 -0
- package/esm/hostComponents/PickerViewColumn/node.js +2 -0
- package/esm/hostComponents/Progress/index.d.ts +13 -0
- package/esm/hostComponents/Progress/index.js +2 -0
- package/esm/hostComponents/Progress/node.d.ts +12 -0
- package/esm/hostComponents/Progress/node.js +13 -0
- package/esm/hostComponents/Radio/index.d.ts +12 -0
- package/esm/hostComponents/Radio/index.js +2 -0
- package/esm/hostComponents/Radio/node.d.ts +11 -0
- package/esm/hostComponents/Radio/node.js +12 -0
- package/esm/hostComponents/RadioGroup/index.d.ts +9 -0
- package/esm/hostComponents/RadioGroup/index.js +2 -0
- package/esm/hostComponents/RadioGroup/node.d.ts +8 -0
- package/esm/hostComponents/RadioGroup/node.js +9 -0
- package/esm/hostComponents/RichText/index.d.ts +12 -0
- package/esm/hostComponents/RichText/index.js +2 -0
- package/esm/hostComponents/RichText/node.d.ts +15 -0
- package/esm/hostComponents/RichText/node.js +16 -0
- package/esm/hostComponents/ScrollView/index.d.ts +28 -0
- package/esm/hostComponents/ScrollView/index.js +2 -0
- package/esm/hostComponents/ScrollView/node.d.ts +26 -0
- package/esm/hostComponents/ScrollView/node.js +27 -0
- package/esm/hostComponents/Slider/index.d.ts +21 -0
- package/esm/hostComponents/Slider/index.js +2 -0
- package/esm/hostComponents/Slider/node.d.ts +20 -0
- package/esm/hostComponents/Slider/node.js +21 -0
- package/esm/hostComponents/Swiper/index.d.ts +27 -0
- package/esm/hostComponents/Swiper/index.js +2 -0
- package/esm/hostComponents/Swiper/node.d.ts +27 -0
- package/esm/hostComponents/Swiper/node.js +28 -0
- package/esm/hostComponents/SwiperItem/index.d.ts +9 -0
- package/esm/hostComponents/SwiperItem/index.js +2 -0
- package/esm/hostComponents/SwiperItem/node.d.ts +7 -0
- package/esm/hostComponents/SwiperItem/node.js +8 -0
- package/esm/hostComponents/Switch/index.d.ts +12 -0
- package/esm/hostComponents/Switch/index.js +2 -0
- package/esm/hostComponents/Switch/node.d.ts +12 -0
- package/esm/hostComponents/Switch/node.js +13 -0
- package/esm/hostComponents/Text/index.d.ts +15 -0
- package/esm/hostComponents/Text/index.js +2 -0
- package/esm/hostComponents/Text/node.d.ts +12 -0
- package/esm/hostComponents/Text/node.js +13 -0
- package/esm/hostComponents/Textarea/index.d.ts +23 -0
- package/esm/hostComponents/Textarea/index.js +2 -0
- package/esm/hostComponents/Textarea/node.d.ts +23 -0
- package/esm/hostComponents/Textarea/node.js +24 -0
- package/esm/hostComponents/Video/index.d.ts +33 -0
- package/esm/hostComponents/Video/index.js +2 -0
- package/esm/hostComponents/Video/node.d.ts +33 -0
- package/esm/hostComponents/Video/node.js +34 -0
- package/esm/hostComponents/View/index.d.ts +33 -0
- package/esm/hostComponents/View/index.js +2 -0
- package/esm/hostComponents/View/node.d.ts +29 -0
- package/esm/hostComponents/View/node.js +30 -0
- package/esm/hostComponents/WebView/index.d.ts +8 -0
- package/esm/hostComponents/WebView/index.js +2 -0
- package/esm/hostComponents/WebView/node.d.ts +6 -0
- package/esm/hostComponents/WebView/node.js +3 -0
- package/esm/hostComponents/index.d.ts +36 -0
- package/esm/hostComponents/index.js +36 -0
- package/esm/hostComponents/node.d.ts +2 -0
- package/esm/hostComponents/node.js +74 -0
- package/esm/index.d.ts +3 -0
- package/esm/index.js +3 -0
- package/esm/node/index.d.ts +3 -0
- package/esm/node/index.js +34 -0
- package/esm/types/config.d.ts +151 -0
- package/esm/types/config.js +1 -0
- package/esm/types/index.d.ts +1 -0
- package/esm/types/index.js +1 -0
- package/node.js +1 -0
- package/package.json +35 -0
- package/templates/default/base.ejs +25 -0
- package/templates/default/component.ejs +67 -0
- package/templates/default/page.ejs +32 -0
- package/templates/static/additional-host-component.ejs +9 -0
- package/templates/static/host-components/block.ejs +5 -0
- package/templates/static/host-components/button.ejs +7 -0
- package/templates/static/host-components/camera.ejs +7 -0
- package/templates/static/host-components/canvas.ejs +7 -0
- package/templates/static/host-components/checkbox-group.ejs +7 -0
- package/templates/static/host-components/checkbox.ejs +7 -0
- package/templates/static/host-components/contact-button.ejs +7 -0
- package/templates/static/host-components/cover-image.ejs +7 -0
- package/templates/static/host-components/cover-view.ejs +7 -0
- package/templates/static/host-components/form.ejs +7 -0
- package/templates/static/host-components/icon.ejs +7 -0
- package/templates/static/host-components/image.ejs +7 -0
- package/templates/static/host-components/input.ejs +7 -0
- package/templates/static/host-components/label.ejs +7 -0
- package/templates/static/host-components/lifestyle.ejs +7 -0
- package/templates/static/host-components/lottie.ejs +7 -0
- package/templates/static/host-components/map.ejs +7 -0
- package/templates/static/host-components/movable-area.ejs +7 -0
- package/templates/static/host-components/movable-view.ejs +7 -0
- package/templates/static/host-components/navigator.ejs +7 -0
- package/templates/static/host-components/picker-view-column.ejs +7 -0
- package/templates/static/host-components/picker-view.ejs +13 -0
- package/templates/static/host-components/picker.ejs +9 -0
- package/templates/static/host-components/plain-text.ejs +3 -0
- package/templates/static/host-components/progress.ejs +7 -0
- package/templates/static/host-components/radio-group.ejs +7 -0
- package/templates/static/host-components/radio.ejs +7 -0
- package/templates/static/host-components/rich-text.ejs +7 -0
- package/templates/static/host-components/scroll-view.ejs +7 -0
- package/templates/static/host-components/slider.ejs +7 -0
- package/templates/static/host-components/swiper-item.ejs +7 -0
- package/templates/static/host-components/swiper.ejs +13 -0
- package/templates/static/host-components/switch.ejs +7 -0
- package/templates/static/host-components/text.ejs +7 -0
- package/templates/static/host-components/textarea.ejs +7 -0
- package/templates/static/host-components/video.ejs +7 -0
- package/templates/static/host-components/view.ejs +7 -0
- package/templates/static/host-components/web-view.ejs +7 -0
- package/templates/static/isolated-templates.ejs +5 -0
- package/templates/static/native-component.ejs +24 -0
- package/templates/static/page.ejs +64 -0
- package/vitest.config.js +7 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MovableViewProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
direction?: 'all' | 'vertical' | 'horizontal' | 'none';
|
|
10
|
+
x?: number;
|
|
11
|
+
y?: number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
outOfBounds?: boolean;
|
|
14
|
+
damping?: number;
|
|
15
|
+
friction?: number;
|
|
16
|
+
scale?: boolean;
|
|
17
|
+
scaleMin?: number;
|
|
18
|
+
scaleMax?: number;
|
|
19
|
+
scaleValue?: number;
|
|
20
|
+
animation?: boolean;
|
|
21
|
+
onTouchStart?: (e: any) => void;
|
|
22
|
+
onTouchMove?: (e: any) => void;
|
|
23
|
+
onTouchEnd?: (e: any) => void;
|
|
24
|
+
onTouchCancel?: (e: any) => void;
|
|
25
|
+
onTouchChange?: (e: any) => void;
|
|
26
|
+
onChange?: (e: any) => void;
|
|
27
|
+
onChangeEnd?: (e: any) => void;
|
|
28
|
+
onScale?: (e: any) => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const MovableView: React.ComponentType<MovableViewProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
direction: string;
|
|
6
|
+
width: string;
|
|
7
|
+
height: string;
|
|
8
|
+
x: string;
|
|
9
|
+
y: string;
|
|
10
|
+
disabled: string;
|
|
11
|
+
outOfBounds: string;
|
|
12
|
+
damping: string;
|
|
13
|
+
friction: string;
|
|
14
|
+
scale: string;
|
|
15
|
+
scaleMin: string;
|
|
16
|
+
scaleMax: string;
|
|
17
|
+
scaleValue: string;
|
|
18
|
+
onTouchStart: string;
|
|
19
|
+
onTouchMove: string;
|
|
20
|
+
onTouchEnd: string;
|
|
21
|
+
onTouchCancel: string;
|
|
22
|
+
onChange: string;
|
|
23
|
+
onChangeEnd: string;
|
|
24
|
+
onScale: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
direction: 'direction',
|
|
10
|
+
width: 'width',
|
|
11
|
+
height: 'height',
|
|
12
|
+
x: 'x',
|
|
13
|
+
y: 'y',
|
|
14
|
+
disabled: 'disabled',
|
|
15
|
+
outOfBounds: 'out-of-bounds',
|
|
16
|
+
damping: 'damping',
|
|
17
|
+
friction: 'friction',
|
|
18
|
+
scale: 'scale',
|
|
19
|
+
scaleMin: 'scale-min',
|
|
20
|
+
scaleMax: 'scale-max',
|
|
21
|
+
scaleValue: 'scale-value',
|
|
22
|
+
onTouchStart: 'onTouchStart',
|
|
23
|
+
onTouchMove: 'onTouchMove',
|
|
24
|
+
onTouchEnd: 'onTouchEnd',
|
|
25
|
+
onTouchCancel: 'onTouchCancel',
|
|
26
|
+
onChange: 'onChange',
|
|
27
|
+
onChangeEnd: 'onChangeEnd',
|
|
28
|
+
onScale: 'onScale',
|
|
29
|
+
};
|
|
30
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface NavigatorProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
openType?: 'navigate' | 'redirect' | 'switchTab' | 'navigateBack' | 'reLaunch';
|
|
7
|
+
hoverClassName?: string;
|
|
8
|
+
hoverStartTime?: number;
|
|
9
|
+
hoverStayTime?: number;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Navigator: React.ComponentType<NavigatorProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
openType: string;
|
|
6
|
+
hoverClass: string;
|
|
7
|
+
hoverClassName: string;
|
|
8
|
+
hoverStartTime: string;
|
|
9
|
+
hoverStayTime: string;
|
|
10
|
+
url: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
openType: 'open-type',
|
|
10
|
+
hoverClass: 'hover-class',
|
|
11
|
+
hoverClassName: 'hover-class',
|
|
12
|
+
hoverStartTime: 'hover-start-time',
|
|
13
|
+
hoverStayTime: 'hover-stay-time',
|
|
14
|
+
url: 'url',
|
|
15
|
+
};
|
|
16
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PickerProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
range?: string[] | any[];
|
|
8
|
+
rangeKey?: string;
|
|
9
|
+
value?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
onChange?: (e: any) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const Picker: React.ComponentType<PickerProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
name: 'name',
|
|
8
|
+
className: 'class',
|
|
9
|
+
style: 'style',
|
|
10
|
+
range: 'range',
|
|
11
|
+
rangeKey: 'range-key',
|
|
12
|
+
value: 'value',
|
|
13
|
+
onChange: 'onChange',
|
|
14
|
+
disabled: 'disabled',
|
|
15
|
+
};
|
|
16
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PickerViewProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
value?: number[];
|
|
8
|
+
indicatorStyle?: React.CSSProperties;
|
|
9
|
+
indicatorClassName?: string;
|
|
10
|
+
maskStyle?: React.CSSProperties;
|
|
11
|
+
maskClassName?: string;
|
|
12
|
+
onChange?: (e: any) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const PickerView: React.ComponentType<PickerViewProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
className: string;
|
|
5
|
+
style: string;
|
|
6
|
+
value: string;
|
|
7
|
+
indicatorStyle: string;
|
|
8
|
+
indicatorClass: string;
|
|
9
|
+
indicatorClassName: string;
|
|
10
|
+
maskStyle: string;
|
|
11
|
+
maskClass: string;
|
|
12
|
+
maskClassName: string;
|
|
13
|
+
onChange: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
name: 'name',
|
|
8
|
+
className: 'class',
|
|
9
|
+
style: 'style',
|
|
10
|
+
value: 'value',
|
|
11
|
+
indicatorStyle: 'indicator-style',
|
|
12
|
+
indicatorClass: 'indicator-class',
|
|
13
|
+
indicatorClassName: 'indicator-class',
|
|
14
|
+
maskStyle: 'mask-style',
|
|
15
|
+
maskClass: 'mask-class',
|
|
16
|
+
maskClassName: 'mask-class',
|
|
17
|
+
onChange: 'onChange',
|
|
18
|
+
};
|
|
19
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ProgressProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
percent?: number;
|
|
7
|
+
showInfo?: boolean;
|
|
8
|
+
strokeWidth?: string;
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Progress: React.ComponentType<ProgressProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
percent: string;
|
|
6
|
+
showInfo: string;
|
|
7
|
+
strokeWidth: string;
|
|
8
|
+
activeColor: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
active: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
percent: 'percent',
|
|
10
|
+
showInfo: 'show-info',
|
|
11
|
+
strokeWidth: 'stroke-width',
|
|
12
|
+
activeColor: 'active-color',
|
|
13
|
+
backgroundColor: 'background-color',
|
|
14
|
+
active: 'active',
|
|
15
|
+
};
|
|
16
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface RadioProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Radio: React.ComponentType<RadioProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
name: 'name',
|
|
8
|
+
className: 'class',
|
|
9
|
+
style: 'style',
|
|
10
|
+
value: 'value',
|
|
11
|
+
checked: 'checked',
|
|
12
|
+
disabled: 'disabled',
|
|
13
|
+
color: 'color',
|
|
14
|
+
};
|
|
15
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
onChange: 'onChange',
|
|
10
|
+
name: 'name',
|
|
11
|
+
};
|
|
12
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface RichTextNode {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
type?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
attrs?: any;
|
|
7
|
+
children?: RichTextNode;
|
|
8
|
+
}
|
|
9
|
+
export interface RichTextProps {
|
|
10
|
+
nodes?: RichTextNode[];
|
|
11
|
+
}
|
|
12
|
+
export declare const RichText: React.ComponentType<RichTextProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
nodes: string;
|
|
6
|
+
onTap: string;
|
|
7
|
+
onClick: string;
|
|
8
|
+
onTouchStart: string;
|
|
9
|
+
onTouchMove: string;
|
|
10
|
+
onTouchEnd: string;
|
|
11
|
+
onTouchCancel: string;
|
|
12
|
+
onLongTap: string;
|
|
13
|
+
onLongClick: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
nodes: 'nodes',
|
|
10
|
+
onTap: 'onTap',
|
|
11
|
+
onClick: 'onTap',
|
|
12
|
+
onTouchStart: 'onTouchStart',
|
|
13
|
+
onTouchMove: 'onTouchMove',
|
|
14
|
+
onTouchEnd: 'onTouchEnd',
|
|
15
|
+
onTouchCancel: 'onTouchCancel',
|
|
16
|
+
onLongTap: 'onLongTap',
|
|
17
|
+
onLongClick: 'onLongTap',
|
|
18
|
+
};
|
|
19
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ScrollViewProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
scrollX?: boolean;
|
|
8
|
+
scrollY?: boolean;
|
|
9
|
+
upperThreshold?: number;
|
|
10
|
+
lowerThreshold?: number;
|
|
11
|
+
scrollTop?: number;
|
|
12
|
+
scrollLeft?: number;
|
|
13
|
+
scrollIntoView?: string;
|
|
14
|
+
scrollWithAnimation?: boolean;
|
|
15
|
+
scrollAnimationDuration?: number;
|
|
16
|
+
enableBackToTop?: boolean;
|
|
17
|
+
trapScroll?: boolean;
|
|
18
|
+
disableLowerScroll?: 'always' | 'out-of-bounds';
|
|
19
|
+
disableUpperScroll?: 'always' | 'out-of-bounds';
|
|
20
|
+
onScrollToUpper?: (e: any) => void;
|
|
21
|
+
onScrollToLower?: (e: any) => void;
|
|
22
|
+
onScroll?: (e: any) => void;
|
|
23
|
+
onTouchStart?: (e: any) => void;
|
|
24
|
+
onTouchMove?: (e: any) => void;
|
|
25
|
+
onTouchEnd?: (e: any) => void;
|
|
26
|
+
onTouchCancel?: (e: any) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const ScrollView: React.ComponentType<ScrollViewProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
scrollX: string;
|
|
6
|
+
scrollY: string;
|
|
7
|
+
upperThreshold: string;
|
|
8
|
+
lowerThreshold: string;
|
|
9
|
+
scrollTop: string;
|
|
10
|
+
scrollLeft: string;
|
|
11
|
+
scrollIntoView: string;
|
|
12
|
+
scrollWithAnimation: string;
|
|
13
|
+
scrollAnimationDuration: string;
|
|
14
|
+
enableBackToTop: string;
|
|
15
|
+
trapScroll: string;
|
|
16
|
+
onScrollToUpper: string;
|
|
17
|
+
disableLowerScroll: string;
|
|
18
|
+
disableUpperScroll: string;
|
|
19
|
+
onScrollToLower: string;
|
|
20
|
+
onScroll: string;
|
|
21
|
+
onTouchStart: string;
|
|
22
|
+
onTouchMove: string;
|
|
23
|
+
onTouchEnd: string;
|
|
24
|
+
onTouchCancel: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
scrollX: 'scroll-x',
|
|
10
|
+
scrollY: 'scroll-y',
|
|
11
|
+
upperThreshold: 'upper-threshold',
|
|
12
|
+
lowerThreshold: 'lower-threshold',
|
|
13
|
+
scrollTop: 'scroll-top',
|
|
14
|
+
scrollLeft: 'scroll-left',
|
|
15
|
+
scrollIntoView: 'scroll-into-view',
|
|
16
|
+
scrollWithAnimation: 'scroll-with-animation',
|
|
17
|
+
scrollAnimationDuration: 'scroll-animation-duration',
|
|
18
|
+
enableBackToTop: 'enable-back-to-top',
|
|
19
|
+
trapScroll: 'trap-scroll',
|
|
20
|
+
onScrollToUpper: 'onScrollToUpper',
|
|
21
|
+
disableLowerScroll: 'disable-lower-scroll',
|
|
22
|
+
disableUpperScroll: 'disable-upper-scroll',
|
|
23
|
+
onScrollToLower: 'onScrollToLower',
|
|
24
|
+
onScroll: 'onScroll',
|
|
25
|
+
onTouchStart: 'onTouchStart',
|
|
26
|
+
onTouchMove: 'onTouchMove',
|
|
27
|
+
onTouchEnd: 'onTouchEnd',
|
|
28
|
+
onTouchCancel: 'onTouchCancel',
|
|
29
|
+
};
|
|
30
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SliderProps {
|
|
3
|
+
readonly dataset?: DOMStringMap;
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
value?: number;
|
|
12
|
+
showValue?: boolean;
|
|
13
|
+
activeColor?: string;
|
|
14
|
+
backgroundColor?: string;
|
|
15
|
+
trackSize?: number;
|
|
16
|
+
handleSize?: number;
|
|
17
|
+
handleColor?: string;
|
|
18
|
+
onChange?: (e: any) => void;
|
|
19
|
+
onChanging?: (e: any) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const Slider: React.ComponentType<SliderProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
name: string;
|
|
6
|
+
min: string;
|
|
7
|
+
max: string;
|
|
8
|
+
step: string;
|
|
9
|
+
disabled: string;
|
|
10
|
+
value: string;
|
|
11
|
+
showValue: string;
|
|
12
|
+
activeColor: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
trackSize: string;
|
|
15
|
+
handleSize: string;
|
|
16
|
+
handleColor: string;
|
|
17
|
+
onChange: string;
|
|
18
|
+
onChanging: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const shared_1 = require("@rsmax/shared");
|
|
5
|
+
exports.alias = {
|
|
6
|
+
id: 'id',
|
|
7
|
+
className: 'class',
|
|
8
|
+
style: 'style',
|
|
9
|
+
name: 'name',
|
|
10
|
+
min: 'min',
|
|
11
|
+
max: 'max',
|
|
12
|
+
step: 'step',
|
|
13
|
+
disabled: 'disabled',
|
|
14
|
+
value: 'value',
|
|
15
|
+
showValue: 'show-value',
|
|
16
|
+
activeColor: 'active-color',
|
|
17
|
+
backgroundColor: 'background-color',
|
|
18
|
+
trackSize: 'track-size',
|
|
19
|
+
handleSize: 'handle-size',
|
|
20
|
+
handleColor: 'handle-color',
|
|
21
|
+
onChange: 'onChange',
|
|
22
|
+
onChanging: 'onChanging',
|
|
23
|
+
};
|
|
24
|
+
exports.props = (0, shared_1.unique)(Object.values(exports.alias));
|