@weapp-core/types 1.0.0
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/LICENSE +21 -0
- package/dist/alipayIntrinsicElements/base.d.mts +21 -0
- package/dist/alipayIntrinsicElements/elements/button.d.mts +28 -0
- package/dist/alipayIntrinsicElements/elements/camera.d.mts +17 -0
- package/dist/alipayIntrinsicElements/elements/canvas.d.mts +19 -0
- package/dist/alipayIntrinsicElements/elements/checkbox-group.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/checkbox.d.mts +13 -0
- package/dist/alipayIntrinsicElements/elements/contact-button.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/cover-image.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/cover-view.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/error-view.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/form.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/icon.d.mts +11 -0
- package/dist/alipayIntrinsicElements/elements/image.d.mts +16 -0
- package/dist/alipayIntrinsicElements/elements/input.d.mts +30 -0
- package/dist/alipayIntrinsicElements/elements/join-group-chat.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/label.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/lifestyle.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/lottie.d.mts +24 -0
- package/dist/alipayIntrinsicElements/elements/map.d.mts +43 -0
- package/dist/alipayIntrinsicElements/elements/match-media.d.mts +15 -0
- package/dist/alipayIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/movable-view.d.mts +31 -0
- package/dist/alipayIntrinsicElements/elements/navigator.d.mts +13 -0
- package/dist/alipayIntrinsicElements/elements/page-container.d.mts +26 -0
- package/dist/alipayIntrinsicElements/elements/page-meta.d.mts +18 -0
- package/dist/alipayIntrinsicElements/elements/picker-view-column.d.mts +7 -0
- package/dist/alipayIntrinsicElements/elements/picker-view.d.mts +17 -0
- package/dist/alipayIntrinsicElements/elements/picker.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/progress.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/radio-group.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/radio.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/rich-text.d.mts +16 -0
- package/dist/alipayIntrinsicElements/elements/root-portal.d.mts +9 -0
- package/dist/alipayIntrinsicElements/elements/scroll-view.d.mts +28 -0
- package/dist/alipayIntrinsicElements/elements/share-element.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/slider.d.mts +22 -0
- package/dist/alipayIntrinsicElements/elements/subscribe-message.d.mts +10 -0
- package/dist/alipayIntrinsicElements/elements/swiper-item.d.mts +7 -0
- package/dist/alipayIntrinsicElements/elements/swiper.d.mts +35 -0
- package/dist/alipayIntrinsicElements/elements/switch.d.mts +14 -0
- package/dist/alipayIntrinsicElements/elements/text.d.mts +12 -0
- package/dist/alipayIntrinsicElements/elements/textarea.d.mts +23 -0
- package/dist/alipayIntrinsicElements/elements/video.d.mts +38 -0
- package/dist/alipayIntrinsicElements/elements/view.d.mts +28 -0
- package/dist/alipayIntrinsicElements/elements/web-view.d.mts +12 -0
- package/dist/alipayIntrinsicElements.d.mts +94 -0
- package/dist/alipayIntrinsicElements.mjs +1 -0
- package/dist/index.d.mts +180 -0
- package/dist/index.mjs +1 -0
- package/dist/miniprogramIntrinsicElements/base.d.mts +21 -0
- package/dist/miniprogramIntrinsicElements/elements/button.d.mts +22 -0
- package/dist/miniprogramIntrinsicElements/elements/camera.d.mts +17 -0
- package/dist/miniprogramIntrinsicElements/elements/canvas.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements/elements/checkbox-group.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/checkbox.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/form.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/icon.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/image.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements/elements/input.d.mts +28 -0
- package/dist/miniprogramIntrinsicElements/elements/label.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/map.d.mts +30 -0
- package/dist/miniprogramIntrinsicElements/elements/match-media.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/movable-view.d.mts +25 -0
- package/dist/miniprogramIntrinsicElements/elements/navigator.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements/elements/picker-view-column.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/picker-view.d.mts +19 -0
- package/dist/miniprogramIntrinsicElements/elements/picker.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/progress.d.mts +12 -0
- package/dist/miniprogramIntrinsicElements/elements/radio-group.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/radio.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/rich-text.d.mts +11 -0
- package/dist/miniprogramIntrinsicElements/elements/scroll-view.d.mts +21 -0
- package/dist/miniprogramIntrinsicElements/elements/slider.d.mts +18 -0
- package/dist/miniprogramIntrinsicElements/elements/swiper-item.d.mts +9 -0
- package/dist/miniprogramIntrinsicElements/elements/swiper.d.mts +23 -0
- package/dist/miniprogramIntrinsicElements/elements/switch.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/text.d.mts +13 -0
- package/dist/miniprogramIntrinsicElements/elements/textarea.d.mts +22 -0
- package/dist/miniprogramIntrinsicElements/elements/video.d.mts +28 -0
- package/dist/miniprogramIntrinsicElements/elements/view.d.mts +15 -0
- package/dist/miniprogramIntrinsicElements/elements/web-view.d.mts +14 -0
- package/dist/miniprogramIntrinsicElements.d.mts +70 -0
- package/dist/miniprogramIntrinsicElements.mjs +1 -0
- package/dist/ttIntrinsicElements/base.d.mts +21 -0
- package/dist/ttIntrinsicElements/elements/ad.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/aweme-data.d.mts +13 -0
- package/dist/ttIntrinsicElements/elements/aweme-user-card.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/button.d.mts +21 -0
- package/dist/ttIntrinsicElements/elements/camera.d.mts +17 -0
- package/dist/ttIntrinsicElements/elements/canvas.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/checkbox-group.d.mts +10 -0
- package/dist/ttIntrinsicElements/elements/checkbox.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/draw-ad.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/form.d.mts +12 -0
- package/dist/ttIntrinsicElements/elements/icon.d.mts +10 -0
- package/dist/ttIntrinsicElements/elements/image.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/input.d.mts +30 -0
- package/dist/ttIntrinsicElements/elements/label.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/live-player.d.mts +17 -0
- package/dist/ttIntrinsicElements/elements/live-preview.d.mts +12 -0
- package/dist/ttIntrinsicElements/elements/map.d.mts +34 -0
- package/dist/ttIntrinsicElements/elements/mask.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/match-media.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/movable-area.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/movable-view.d.mts +25 -0
- package/dist/ttIntrinsicElements/elements/navigator.d.mts +15 -0
- package/dist/ttIntrinsicElements/elements/open-data.d.mts +13 -0
- package/dist/ttIntrinsicElements/elements/picker-view-column.d.mts +7 -0
- package/dist/ttIntrinsicElements/elements/picker-view.d.mts +17 -0
- package/dist/ttIntrinsicElements/elements/picker.d.mts +20 -0
- package/dist/ttIntrinsicElements/elements/progress.d.mts +14 -0
- package/dist/ttIntrinsicElements/elements/radio-group.d.mts +10 -0
- package/dist/ttIntrinsicElements/elements/radio.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/rich-text.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/rtc-room.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/scroll-view.d.mts +30 -0
- package/dist/ttIntrinsicElements/elements/slider.d.mts +17 -0
- package/dist/ttIntrinsicElements/elements/swiper-item.d.mts +9 -0
- package/dist/ttIntrinsicElements/elements/swiper.d.mts +25 -0
- package/dist/ttIntrinsicElements/elements/switch.d.mts +12 -0
- package/dist/ttIntrinsicElements/elements/text.d.mts +11 -0
- package/dist/ttIntrinsicElements/elements/textarea.d.mts +32 -0
- package/dist/ttIntrinsicElements/elements/video.d.mts +56 -0
- package/dist/ttIntrinsicElements/elements/view.d.mts +13 -0
- package/dist/ttIntrinsicElements/elements/web-view.d.mts +13 -0
- package/dist/ttIntrinsicElements.d.mts +88 -0
- package/dist/ttIntrinsicElements.mjs +1 -0
- package/dist/weappIntrinsicElements/base.d.mts +21 -0
- package/dist/weappIntrinsicElements/elements/ad-custom.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/ad.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/audio.d.mts +19 -0
- package/dist/weappIntrinsicElements/elements/block.d.mts +7 -0
- package/dist/weappIntrinsicElements/elements/button.d.mts +40 -0
- package/dist/weappIntrinsicElements/elements/camera.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/canvas.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/checkbox-group.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/checkbox.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/cover-image.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/cover-view.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/editor.d.mts +21 -0
- package/dist/weappIntrinsicElements/elements/form.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/functional-page-navigator.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/icon.d.mts +11 -0
- package/dist/weappIntrinsicElements/elements/image.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/import.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/include.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/input.d.mts +45 -0
- package/dist/weappIntrinsicElements/elements/keyboard-accessory.d.mts +7 -0
- package/dist/weappIntrinsicElements/elements/label.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/live-player.d.mts +34 -0
- package/dist/weappIntrinsicElements/elements/live-pusher.d.mts +56 -0
- package/dist/weappIntrinsicElements/elements/map.d.mts +104 -0
- package/dist/weappIntrinsicElements/elements/match-media.d.mts +15 -0
- package/dist/weappIntrinsicElements/elements/movable-area.d.mts +25 -0
- package/dist/weappIntrinsicElements/elements/movable-view.d.mts +25 -0
- package/dist/weappIntrinsicElements/elements/navigation-bar.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/navigator.d.mts +24 -0
- package/dist/weappIntrinsicElements/elements/official-account.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/open-data.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/page-container.d.mts +24 -0
- package/dist/weappIntrinsicElements/elements/page-meta.d.mts +22 -0
- package/dist/weappIntrinsicElements/elements/picker-view-column.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/picker-view.d.mts +17 -0
- package/dist/weappIntrinsicElements/elements/picker.d.mts +22 -0
- package/dist/weappIntrinsicElements/elements/progress.d.mts +20 -0
- package/dist/weappIntrinsicElements/elements/radio-group.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/radio.d.mts +12 -0
- package/dist/weappIntrinsicElements/elements/rich-text.d.mts +16 -0
- package/dist/weappIntrinsicElements/elements/scroll-view.d.mts +62 -0
- package/dist/weappIntrinsicElements/elements/share-element.d.mts +16 -0
- package/dist/weappIntrinsicElements/elements/slider.d.mts +22 -0
- package/dist/weappIntrinsicElements/elements/slot.d.mts +9 -0
- package/dist/weappIntrinsicElements/elements/swiper-item.d.mts +10 -0
- package/dist/weappIntrinsicElements/elements/swiper.d.mts +38 -0
- package/dist/weappIntrinsicElements/elements/switch.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/template.d.mts +11 -0
- package/dist/weappIntrinsicElements/elements/text.d.mts +14 -0
- package/dist/weappIntrinsicElements/elements/textarea.d.mts +39 -0
- package/dist/weappIntrinsicElements/elements/video.d.mts +70 -0
- package/dist/weappIntrinsicElements/elements/view.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/voip-room.d.mts +13 -0
- package/dist/weappIntrinsicElements/elements/web-view.d.mts +12 -0
- package/dist/weappIntrinsicElements.d.mts +114 -0
- package/dist/weappIntrinsicElements.mjs +1 -0
- package/package.json +65 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 ice breaker
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/alipayIntrinsicElements/base.d.ts
|
|
2
|
+
export type AlipayIntrinsicEventHandler<TReturn = unknown> = {
|
|
3
|
+
bivarianceHack: (...args: any[]) => TReturn;
|
|
4
|
+
}['bivarianceHack'];
|
|
5
|
+
export interface AlipayIntrinsicElementBaseAttributes {
|
|
6
|
+
id?: string | number;
|
|
7
|
+
class?: string | Record<string, unknown> | false | null | undefined | unknown[];
|
|
8
|
+
className?: string | Record<string, unknown> | false | null | undefined | unknown[];
|
|
9
|
+
style?: string | Record<string, string | number | undefined> | false | null | undefined | unknown[];
|
|
10
|
+
hidden?: boolean;
|
|
11
|
+
key?: string | number;
|
|
12
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
13
|
+
catchTap?: AlipayIntrinsicEventHandler;
|
|
14
|
+
captureBindTap?: AlipayIntrinsicEventHandler;
|
|
15
|
+
captureCatchTap?: AlipayIntrinsicEventHandler;
|
|
16
|
+
onTouchStart?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onTouchMove?: AlipayIntrinsicEventHandler;
|
|
18
|
+
onTouchEnd?: AlipayIntrinsicEventHandler;
|
|
19
|
+
[name: `data-${string}`]: unknown;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/button.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/button
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementButton = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
'form-type'?: 'reset' | 'submit';
|
|
9
|
+
'hover-class'?: string;
|
|
10
|
+
'hover-start-time'?: number;
|
|
11
|
+
'hover-stay-time'?: number;
|
|
12
|
+
'hover-stop-propagation'?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
onChooseAvatar?: AlipayIntrinsicEventHandler;
|
|
15
|
+
onError?: AlipayIntrinsicEventHandler;
|
|
16
|
+
onFollowLifestyle?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onGetAuthorize?: AlipayIntrinsicEventHandler;
|
|
18
|
+
onGetPhoneNumber?: AlipayIntrinsicEventHandler;
|
|
19
|
+
onGetUserInfo?: AlipayIntrinsicEventHandler;
|
|
20
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
21
|
+
'open-type'?: 'chooseAvatar' | 'contactShare' | 'getAuthorize' | 'lifestyle' | 'share';
|
|
22
|
+
plain?: boolean;
|
|
23
|
+
'public-id'?: string;
|
|
24
|
+
scope?: 'phoneNumber';
|
|
25
|
+
size?: 'default' | 'mini';
|
|
26
|
+
type?: 'default' | 'primary' | 'warn';
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/camera.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/03qegu
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCamera = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'device-position'?: string;
|
|
8
|
+
flash?: string;
|
|
9
|
+
'frame-size'?: string;
|
|
10
|
+
mode?: string;
|
|
11
|
+
onError?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onReady?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onScanCode?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onStop?: AlipayIntrinsicEventHandler;
|
|
15
|
+
'output-dimension'?: string;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/canvas.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/canvas
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCanvas = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'disable-scroll'?: boolean;
|
|
8
|
+
height?: string;
|
|
9
|
+
onLongTap?: AlipayIntrinsicEventHandler;
|
|
10
|
+
onReady?: AlipayIntrinsicEventHandler;
|
|
11
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onTouchCancel?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onTouchEnd?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onTouchMove?: AlipayIntrinsicEventHandler;
|
|
15
|
+
onTouchStart?: AlipayIntrinsicEventHandler;
|
|
16
|
+
type?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/checkbox-group.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/checkbox-group
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCheckboxGroup = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
name?: string;
|
|
8
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/checkbox.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/checkbox
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCheckbox = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
11
|
+
value?: string;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/contact-button.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/contact-button
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementContactButton = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'alipay-card-no'?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
'ext-info'?: string;
|
|
10
|
+
icon?: unknown;
|
|
11
|
+
scene?: string;
|
|
12
|
+
size?: number;
|
|
13
|
+
'tnt-inst-id'?: string;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/cover-image.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/cover-image
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCoverImage = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
8
|
+
src?: string;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/cover-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/cover-view
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementCoverView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
8
|
+
penetrateGuesture?: boolean;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/error-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/error-view
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementErrorView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
fullscreen?: boolean;
|
|
8
|
+
message?: string;
|
|
9
|
+
'message-color'?: unknown;
|
|
10
|
+
title?: string;
|
|
11
|
+
'title-color'?: unknown;
|
|
12
|
+
type?: string;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/form.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/form
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementForm = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
onReset?: AlipayIntrinsicEventHandler;
|
|
8
|
+
onSubmit?: AlipayIntrinsicEventHandler;
|
|
9
|
+
'report-submit'?: boolean;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/icon.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/icon
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementIcon = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
type?: string;
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/image.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/image
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementImage = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
catchTap?: AlipayIntrinsicEventHandler;
|
|
8
|
+
'default-source'?: string;
|
|
9
|
+
'lazy-load'?: boolean;
|
|
10
|
+
mode?: string;
|
|
11
|
+
onError?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onLoad?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
14
|
+
src?: string;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/input.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/input
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementInput = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'always-system'?: boolean;
|
|
8
|
+
'confirm-hold'?: boolean;
|
|
9
|
+
'confirm-type'?: 'done' | 'go' | 'next' | 'search' | 'send';
|
|
10
|
+
controlled?: boolean;
|
|
11
|
+
cursor?: number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
focus?: boolean;
|
|
14
|
+
maxlength?: number;
|
|
15
|
+
name?: string;
|
|
16
|
+
onBlur?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onConfirm?: AlipayIntrinsicEventHandler;
|
|
18
|
+
onFocus?: AlipayIntrinsicEventHandler;
|
|
19
|
+
onInput?: AlipayIntrinsicEventHandler;
|
|
20
|
+
password?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
'placeholder-class'?: string;
|
|
23
|
+
'placeholder-style'?: string;
|
|
24
|
+
'random-number'?: boolean;
|
|
25
|
+
'selection-end'?: number;
|
|
26
|
+
'selection-start'?: number;
|
|
27
|
+
type?: 'digit' | 'digitpad' | 'idcard' | 'idcardpad' | 'nickname' | 'number' | 'numberpad' | 'text';
|
|
28
|
+
value?: string;
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/join-group-chat.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/05snwq
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementJoinGroupChat = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'template-id'?: string;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/label.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/label
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementLabel = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
for?: string;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/lifestyle.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/lifestyle
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementLifestyle = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
onFollow?: AlipayIntrinsicEventHandler;
|
|
8
|
+
'public-id'?: string;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/lottie.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/lottie
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementLottie = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'assets-path'?: string;
|
|
8
|
+
'auto-reverse'?: boolean;
|
|
9
|
+
autoplay?: boolean;
|
|
10
|
+
md5?: string;
|
|
11
|
+
onAnimationCancel?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onAnimationEnd?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onAnimationRepeat?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onAnimationStart?: AlipayIntrinsicEventHandler;
|
|
15
|
+
onDataFailed?: AlipayIntrinsicEventHandler;
|
|
16
|
+
onDataLoadReady?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onDataReady?: AlipayIntrinsicEventHandler;
|
|
18
|
+
optimize?: boolean;
|
|
19
|
+
path?: string;
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
'repeat-count'?: number;
|
|
22
|
+
speed?: unknown;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/map.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/map
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementMap = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
circles?: unknown[];
|
|
8
|
+
controls?: unknown[];
|
|
9
|
+
'custom-map-style'?: string;
|
|
10
|
+
'enable-building'?: boolean;
|
|
11
|
+
'enable-overlooking'?: boolean;
|
|
12
|
+
'enable-poi'?: boolean;
|
|
13
|
+
'enable-rotate'?: boolean;
|
|
14
|
+
'enable-satellite'?: boolean;
|
|
15
|
+
'enable-scroll'?: boolean;
|
|
16
|
+
'enable-traffic'?: boolean;
|
|
17
|
+
'enable-zoom'?: boolean;
|
|
18
|
+
'ground-overlays'?: unknown[];
|
|
19
|
+
'include-padding'?: Record<string, unknown>;
|
|
20
|
+
'include-points'?: unknown[];
|
|
21
|
+
latitude?: number;
|
|
22
|
+
longitude?: number;
|
|
23
|
+
markers?: unknown[];
|
|
24
|
+
onCalloutTap?: AlipayIntrinsicEventHandler;
|
|
25
|
+
onControlTap?: AlipayIntrinsicEventHandler;
|
|
26
|
+
onInitComplete?: AlipayIntrinsicEventHandler;
|
|
27
|
+
onMarkerTap?: AlipayIntrinsicEventHandler;
|
|
28
|
+
onPanelTap?: AlipayIntrinsicEventHandler;
|
|
29
|
+
onRegionChange?: AlipayIntrinsicEventHandler;
|
|
30
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
31
|
+
panels?: unknown[];
|
|
32
|
+
polygon?: unknown[];
|
|
33
|
+
polyline?: unknown[];
|
|
34
|
+
rotate?: number;
|
|
35
|
+
scale?: number;
|
|
36
|
+
setting?: Record<string, unknown>;
|
|
37
|
+
'show-compass'?: boolean;
|
|
38
|
+
'show-location'?: boolean;
|
|
39
|
+
'show-scale'?: boolean;
|
|
40
|
+
skew?: number;
|
|
41
|
+
'tile-overlay'?: Record<string, unknown>;
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/match-media.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/02ycxe
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementMatchMedia = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
height?: number;
|
|
8
|
+
'max-height'?: number;
|
|
9
|
+
'max-width'?: number;
|
|
10
|
+
'min-height'?: number;
|
|
11
|
+
'min-width'?: number;
|
|
12
|
+
orientation?: string;
|
|
13
|
+
width?: number;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/movable-area.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/movable-area
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementMovableArea = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'scale-area'?: boolean;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/movable-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/movable-view
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementMovableView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
animation?: boolean;
|
|
8
|
+
catchTouchEnd?: AlipayIntrinsicEventHandler;
|
|
9
|
+
catchTouchMove?: AlipayIntrinsicEventHandler;
|
|
10
|
+
catchTouchStart?: AlipayIntrinsicEventHandler;
|
|
11
|
+
damping?: number;
|
|
12
|
+
direction?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
friction?: number;
|
|
15
|
+
inertia?: boolean;
|
|
16
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onChangeEnd?: AlipayIntrinsicEventHandler;
|
|
18
|
+
onScale?: AlipayIntrinsicEventHandler;
|
|
19
|
+
onTouchCancel?: AlipayIntrinsicEventHandler;
|
|
20
|
+
onTouchEnd?: AlipayIntrinsicEventHandler;
|
|
21
|
+
onTouchMove?: AlipayIntrinsicEventHandler;
|
|
22
|
+
onTouchStart?: AlipayIntrinsicEventHandler;
|
|
23
|
+
'out-of-bounds'?: boolean;
|
|
24
|
+
scale?: boolean;
|
|
25
|
+
'scale-max'?: number;
|
|
26
|
+
'scale-min'?: number;
|
|
27
|
+
'scale-value'?: number;
|
|
28
|
+
x?: number;
|
|
29
|
+
y?: number;
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/navigator.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/navigator
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementNavigator = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'hover-class'?: string;
|
|
8
|
+
'hover-start-time'?: number;
|
|
9
|
+
'hover-stay-time'?: number;
|
|
10
|
+
'open-type'?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/page-container.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/04ne6j
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementPageContainer = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'close-on-slide-down'?: boolean;
|
|
8
|
+
'custom-style'?: string;
|
|
9
|
+
duration?: number;
|
|
10
|
+
onAfterEnter?: AlipayIntrinsicEventHandler;
|
|
11
|
+
onAfterLeave?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onBeforeEnter?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onBeforeLeave?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onClickOverlay?: AlipayIntrinsicEventHandler;
|
|
15
|
+
onEnter?: AlipayIntrinsicEventHandler;
|
|
16
|
+
onEnterCancelled?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onLeave?: AlipayIntrinsicEventHandler;
|
|
18
|
+
onLeaveCancelled?: AlipayIntrinsicEventHandler;
|
|
19
|
+
overlay?: boolean;
|
|
20
|
+
'overlay-style'?: string;
|
|
21
|
+
position?: string;
|
|
22
|
+
round?: boolean;
|
|
23
|
+
show?: boolean;
|
|
24
|
+
'z-index'?: number;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/page-meta.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/pagemeta
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementPageMeta = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'background-color'?: string;
|
|
8
|
+
'background-color-bottom'?: string;
|
|
9
|
+
'background-color-top'?: string;
|
|
10
|
+
onScroll?: AlipayIntrinsicEventHandler;
|
|
11
|
+
'page-font-size'?: string;
|
|
12
|
+
'page-style'?: string;
|
|
13
|
+
'root-background-color'?: string;
|
|
14
|
+
'root-font-size'?: string;
|
|
15
|
+
'scroll-duration'?: number;
|
|
16
|
+
'scroll-top'?: string;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/picker-view-column.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/picker-view-column
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementPickerViewColumn = AlipayIntrinsicElementBaseAttributes;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/picker-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/picker-view
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementPickerView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'immediate-change'?: boolean;
|
|
8
|
+
'indicator-class'?: string;
|
|
9
|
+
'indicator-style'?: string;
|
|
10
|
+
'mask-class'?: string;
|
|
11
|
+
'mask-style'?: string;
|
|
12
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onPickEnd?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onPickStart?: AlipayIntrinsicEventHandler;
|
|
15
|
+
value?: number[];
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/picker.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/picker
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementPicker = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
9
|
+
range?: Record<string, unknown>[] | string[];
|
|
10
|
+
'range-key'?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/progress.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/progress
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementProgress = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
active?: boolean;
|
|
8
|
+
'active-color'?: unknown;
|
|
9
|
+
'background-color'?: unknown;
|
|
10
|
+
percent?: unknown;
|
|
11
|
+
'show-info'?: boolean;
|
|
12
|
+
'stroke-width'?: number;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/radio-group.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/radio-group
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementRadioGroup = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
name?: string;
|
|
8
|
+
onChange?: AlipayIntrinsicEventHandler;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/radio.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/radio
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementRadio = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
value?: string;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/rich-text.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/rich-text
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementRichText = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
nodes?: string;
|
|
8
|
+
onLongTap?: AlipayIntrinsicEventHandler;
|
|
9
|
+
onTap?: AlipayIntrinsicEventHandler;
|
|
10
|
+
onTouchCancel?: AlipayIntrinsicEventHandler;
|
|
11
|
+
onTouchEnd?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onTouchMove?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onTouchStart?: AlipayIntrinsicEventHandler;
|
|
14
|
+
space?: string;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/root-portal.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/05snwp
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementRootPortal = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
enable?: boolean;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes, AlipayIntrinsicEventHandler } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/scroll-view.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/component/scroll-view
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementScrollView = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
'disable-lower-scroll'?: string;
|
|
8
|
+
'disable-upper-scroll'?: string;
|
|
9
|
+
'enable-back-to-top'?: boolean;
|
|
10
|
+
'lower-threshold'?: number;
|
|
11
|
+
onScroll?: AlipayIntrinsicEventHandler;
|
|
12
|
+
onScrollToLower?: AlipayIntrinsicEventHandler;
|
|
13
|
+
onScrollToUpper?: AlipayIntrinsicEventHandler;
|
|
14
|
+
onTouchCancel?: AlipayIntrinsicEventHandler;
|
|
15
|
+
onTouchEnd?: AlipayIntrinsicEventHandler;
|
|
16
|
+
onTouchMove?: AlipayIntrinsicEventHandler;
|
|
17
|
+
onTouchStart?: AlipayIntrinsicEventHandler;
|
|
18
|
+
'scroll-animation-duration'?: number;
|
|
19
|
+
'scroll-into-view'?: string;
|
|
20
|
+
'scroll-left'?: number;
|
|
21
|
+
'scroll-top'?: number;
|
|
22
|
+
'scroll-with-animation'?: boolean;
|
|
23
|
+
'scroll-x'?: boolean;
|
|
24
|
+
'scroll-y'?: boolean;
|
|
25
|
+
'trap-scroll'?: boolean;
|
|
26
|
+
'upper-threshold'?: number;
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AlipayIntrinsicElementBaseAttributes } from "../base.mjs";
|
|
2
|
+
//#region src/alipayIntrinsicElements/elements/share-element.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* @see https://opendocs.alipay.com/mini/04y2ya
|
|
5
|
+
*/
|
|
6
|
+
export type AlipayIntrinsicElementShareElement = AlipayIntrinsicElementBaseAttributes & {
|
|
7
|
+
duration?: number;
|
|
8
|
+
'easing-function'?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
transform?: boolean;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|