From 0b0c66a2439052b21aa4a09c364baf86d897205d Mon Sep 17 00:00:00 2001 From: Ling53666 <14656070+ling53666@user.noreply.gitee.com> Date: Sun, 1 Dec 2024 19:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86=E5=B7=B2=E7=9F=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 甲情_甲意/.mini-ide/compileMode.json | 25 + 甲情_甲意/miniprogram/app.acss | 14 +- 甲情_甲意/miniprogram/app.json | 11 +- .../miniprogram/node_modules/.package-lock.json | 59 +- .../node_modules/@mini-types/alipay/LICENSE | 21 + .../node_modules/@mini-types/alipay/package.json | 30 + .../@mini-types/alipay/types/index.d.ts | 4 + .../node_modules/@mini-types/global/LICENSE | 21 + .../node_modules/@mini-types/global/package.json | 26 + .../@mini-types/global/types/index.d.ts | 68 + .../@mini-types/global/types/lib.app.d.ts | 141 + .../@mini-types/global/types/lib.component.d.ts | 312 + .../@mini-types/global/types/lib.global.d.ts | 98 + .../@mini-types/global/types/lib.mixin.d.ts | 104 + .../@mini-types/global/types/lib.page.d.ts | 406 + .../@mini-types/global/types/lib.shared.d.ts | 309 + .../@mini-types/global/types/lib.sjs.d.ts | 4792 +++ .../@mini-types/global/types/lib.worker.d.ts | 8348 ++++++ .../node_modules/@mini-types/my/LICENSE | 21 + .../node_modules/@mini-types/my/package.json | 26 + .../node_modules/@mini-types/my/types/index.d.ts | 2 + .../node_modules/@mini-types/my/types/lib.my.d.ts | 24212 ++++++++++++++++ .../@mini-types/my/types/lib.my.extra.d.ts | 46 + .../miniprogram/node_modules/antd-mini/README.md | 9 +- .../compiled/wechat/src/ActionSheet/index.js | 14 + .../compiled/wechat/src/ActionSheet/index.json | 6 + .../compiled/wechat/src/ActionSheet/index.md | 45 + .../compiled/wechat/src/ActionSheet/index.wxml | 57 + .../compiled/wechat/src/ActionSheet/index.wxs | 8 + .../compiled/wechat/src/ActionSheet/index.wxss | 105 + .../compiled/wechat/src/ActionSheet/props.js | 8 + .../compiled/wechat/src/ActionSheet/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Avatar/index.js | 4 + .../compiled/wechat/src/Avatar/index.json | 3 + .../antd-mini/compiled/wechat/src/Avatar/index.md | 31 + .../compiled/wechat/src/Avatar/index.wxml | 13 + .../compiled/wechat/src/Avatar/index.wxs | 12 + .../compiled/wechat/src/Avatar/index.wxss | 28 + .../antd-mini/compiled/wechat/src/Avatar/props.js | 4 + .../compiled/wechat/src/Avatar/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Badge/index.js | 3 + .../compiled/wechat/src/Badge/index.json | 3 + .../antd-mini/compiled/wechat/src/Badge/index.md | 34 + .../compiled/wechat/src/Badge/index.wxml | 54 + .../antd-mini/compiled/wechat/src/Badge/index.wxs | 54 + .../compiled/wechat/src/Badge/index.wxss | 53 + .../antd-mini/compiled/wechat/src/Badge/props.js | 15 + .../compiled/wechat/src/Badge/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Button/index.js | 74 + .../compiled/wechat/src/Button/index.json | 7 + .../antd-mini/compiled/wechat/src/Button/index.md | 77 + .../compiled/wechat/src/Button/index.wxml | 46 + .../compiled/wechat/src/Button/index.wxs | 24 + .../compiled/wechat/src/Button/index.wxss | 112 + .../antd-mini/compiled/wechat/src/Button/props.js | 5 + .../compiled/wechat/src/Button/variable.wxss | 28 + .../compiled/wechat/src/Calendar/helper.wxs | 84 + .../compiled/wechat/src/Calendar/index.js | 300 + .../compiled/wechat/src/Calendar/index.json | 3 + .../compiled/wechat/src/Calendar/index.md | 175 + .../compiled/wechat/src/Calendar/index.wxml | 99 + .../compiled/wechat/src/Calendar/index.wxss | 146 + .../compiled/wechat/src/Calendar/props.js | 21 + .../compiled/wechat/src/Calendar/scroll.wxs | 45 + .../compiled/wechat/src/Calendar/utils.js | 157 + .../compiled/wechat/src/Calendar/variable.wxss | 1 + .../wechat/src/Checkbox/CheckboxGroup/index.js | 44 + .../wechat/src/Checkbox/CheckboxGroup/index.json | 8 + .../wechat/src/Checkbox/CheckboxGroup/index.wxml | 54 + .../wechat/src/Checkbox/CheckboxGroup/index.wxss | 34 + .../wechat/src/Checkbox/CheckboxGroup/props.js | 8 + .../compiled/wechat/src/Checkbox/index.js | 17 + .../compiled/wechat/src/Checkbox/index.json | 6 + .../compiled/wechat/src/Checkbox/index.md | 62 + .../compiled/wechat/src/Checkbox/index.wxml | 36 + .../compiled/wechat/src/Checkbox/index.wxs | 21 + .../compiled/wechat/src/Checkbox/index.wxss | 88 + .../compiled/wechat/src/Checkbox/props.js | 7 + .../compiled/wechat/src/Checkbox/variable.wxss | 6 + .../wechat/src/Checklist/ChecklistItem/index.js | 7 + .../wechat/src/Checklist/ChecklistItem/index.json | 6 + .../wechat/src/Checklist/ChecklistItem/index.wxml | 23 + .../wechat/src/Checklist/ChecklistItem/index.wxss | 67 + .../wechat/src/Checklist/ChecklistItem/props.js | 4 + .../compiled/wechat/src/Checklist/index.js | 57 + .../compiled/wechat/src/Checklist/index.json | 7 + .../compiled/wechat/src/Checklist/index.md | 45 + .../compiled/wechat/src/Checklist/index.wxml | 46 + .../compiled/wechat/src/Checklist/index.wxs | 9 + .../compiled/wechat/src/Checklist/index.wxss | 8 + .../compiled/wechat/src/Checklist/props.js | 6 + .../compiled/wechat/src/Checklist/variable.wxss | 0 .../compiled/wechat/src/Collapse/index.js | 236 + .../compiled/wechat/src/Collapse/index.json | 6 + .../compiled/wechat/src/Collapse/index.md | 65 + .../compiled/wechat/src/Collapse/index.wxml | 44 + .../compiled/wechat/src/Collapse/index.wxs | 23 + .../compiled/wechat/src/Collapse/index.wxss | 110 + .../compiled/wechat/src/Collapse/props.js | 6 + .../compiled/wechat/src/Collapse/variable.wxss | 0 .../compiled/wechat/src/Container/index.js | 25 + .../compiled/wechat/src/Container/index.json | 3 + .../compiled/wechat/src/Container/index.md | 34 + .../compiled/wechat/src/Container/index.wxml | 21 + .../compiled/wechat/src/Container/index.wxss | 60 + .../compiled/wechat/src/Container/props.js | 3 + .../compiled/wechat/src/Container/variable.wxss | 0 .../wechat/src/DatePicker/RangePicker/index.js | 315 + .../wechat/src/DatePicker/RangePicker/index.json | 7 + .../wechat/src/DatePicker/RangePicker/index.wxml | 79 + .../wechat/src/DatePicker/RangePicker/index.wxss | 59 + .../wechat/src/DatePicker/RangePicker/props.js | 24 + .../compiled/wechat/src/DatePicker/index.js | 228 + .../compiled/wechat/src/DatePicker/index.json | 6 + .../compiled/wechat/src/DatePicker/index.md | 117 + .../compiled/wechat/src/DatePicker/index.wxml | 42 + .../compiled/wechat/src/DatePicker/index.wxss | 0 .../compiled/wechat/src/DatePicker/props.js | 21 + .../compiled/wechat/src/DatePicker/util.js | 177 + .../compiled/wechat/src/Divider/index.js | 3 + .../compiled/wechat/src/Divider/index.json | 5 + .../compiled/wechat/src/Divider/index.md | 37 + .../compiled/wechat/src/Divider/index.wxml | 32 + .../compiled/wechat/src/Divider/index.wxs | 15 + .../compiled/wechat/src/Divider/index.wxss | 21 + .../compiled/wechat/src/Divider/props.js | 16 + .../compiled/wechat/src/Divider/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Empty/index.js | 3 + .../compiled/wechat/src/Empty/index.json | 4 + .../antd-mini/compiled/wechat/src/Empty/index.md | 32 + .../compiled/wechat/src/Empty/index.wxml | 30 + .../compiled/wechat/src/Empty/index.wxss | 27 + .../antd-mini/compiled/wechat/src/Empty/props.js | 6 + .../compiled/wechat/src/Empty/variable.wxss | 0 .../wechat/src/Form/FormCascaderPicker/index.js | 35 + .../wechat/src/Form/FormCascaderPicker/index.json | 8 + .../wechat/src/Form/FormCascaderPicker/index.wxml | 87 + .../wechat/src/Form/FormCascaderPicker/index.wxss | 5 + .../wechat/src/Form/FormCascaderPicker/props.js | 14 + .../wechat/src/Form/FormCheckboxGroup/index.js | 10 + .../wechat/src/Form/FormCheckboxGroup/index.json | 7 + .../wechat/src/Form/FormCheckboxGroup/index.wxml | 61 + .../wechat/src/Form/FormCheckboxGroup/props.js | 27 + .../wechat/src/Form/FormDatePicker/index.js | 39 + .../wechat/src/Form/FormDatePicker/index.json | 8 + .../wechat/src/Form/FormDatePicker/index.wxml | 89 + .../wechat/src/Form/FormDatePicker/index.wxss | 5 + .../wechat/src/Form/FormDatePicker/props.js | 14 + .../wechat/src/Form/FormImageUpload/index.js | 66 + .../wechat/src/Form/FormImageUpload/index.json | 7 + .../wechat/src/Form/FormImageUpload/index.wxml | 54 + .../wechat/src/Form/FormImageUpload/index.wxss | 0 .../wechat/src/Form/FormImageUpload/props.js | 27 + .../compiled/wechat/src/Form/FormInput/index.js | 42 + .../compiled/wechat/src/Form/FormInput/index.json | 7 + .../compiled/wechat/src/Form/FormInput/index.wxml | 81 + .../compiled/wechat/src/Form/FormInput/index.wxss | 0 .../compiled/wechat/src/Form/FormInput/props.js | 27 + .../wechat/src/Form/FormInput/variable.wxss | 0 .../compiled/wechat/src/Form/FormItem/index.js | 7 + .../compiled/wechat/src/Form/FormItem/index.json | 7 + .../compiled/wechat/src/Form/FormItem/index.wxml | 46 + .../compiled/wechat/src/Form/FormItem/index.wxss | 115 + .../compiled/wechat/src/Form/FormItem/props.js | 17 + .../compiled/wechat/src/Form/FormPicker/index.js | 32 + .../wechat/src/Form/FormPicker/index.json | 8 + .../wechat/src/Form/FormPicker/index.wxml | 85 + .../wechat/src/Form/FormPicker/index.wxss | 5 + .../compiled/wechat/src/Form/FormPicker/props.js | 14 + .../wechat/src/Form/FormRadioGroup/index.js | 10 + .../wechat/src/Form/FormRadioGroup/index.json | 7 + .../wechat/src/Form/FormRadioGroup/index.wxml | 61 + .../wechat/src/Form/FormRadioGroup/props.js | 27 + .../wechat/src/Form/FormRangePicker/index.js | 39 + .../wechat/src/Form/FormRangePicker/index.json | 8 + .../wechat/src/Form/FormRangePicker/index.wxml | 92 + .../wechat/src/Form/FormRangePicker/index.wxss | 5 + .../wechat/src/Form/FormRangePicker/props.js | 14 + .../compiled/wechat/src/Form/FormRate/index.js | 10 + .../compiled/wechat/src/Form/FormRate/index.json | 8 + .../compiled/wechat/src/Form/FormRate/index.wxml | 59 + .../compiled/wechat/src/Form/FormRate/index.wxss | 0 .../compiled/wechat/src/Form/FormRate/props.js | 27 + .../wechat/src/Form/FormSelector/index.js | 17 + .../wechat/src/Form/FormSelector/index.json | 7 + .../wechat/src/Form/FormSelector/index.wxml | 56 + .../wechat/src/Form/FormSelector/props.js | 14 + .../compiled/wechat/src/Form/FormSlider/index.js | 13 + .../wechat/src/Form/FormSlider/index.json | 7 + .../wechat/src/Form/FormSlider/index.wxml | 63 + .../wechat/src/Form/FormSlider/index.wxss | 0 .../compiled/wechat/src/Form/FormSlider/props.js | 27 + .../wechat/src/Form/FormSlider/variable.wxss | 0 .../compiled/wechat/src/Form/FormStepper/index.js | 19 + .../wechat/src/Form/FormStepper/index.json | 7 + .../wechat/src/Form/FormStepper/index.wxml | 61 + .../wechat/src/Form/FormStepper/index.wxss | 0 .../compiled/wechat/src/Form/FormStepper/props.js | 27 + .../wechat/src/Form/FormStepper/variable.wxss | 0 .../compiled/wechat/src/Form/FormSwitch/index.js | 10 + .../wechat/src/Form/FormSwitch/index.json | 7 + .../wechat/src/Form/FormSwitch/index.wxml | 42 + .../wechat/src/Form/FormSwitch/index.wxss | 0 .../compiled/wechat/src/Form/FormSwitch/props.js | 27 + .../wechat/src/Form/FormSwitch/variable.wxss | 0 .../wechat/src/Form/FormTextarea/index.js | 46 + .../wechat/src/Form/FormTextarea/index.json | 7 + .../wechat/src/Form/FormTextarea/index.wxml | 57 + .../wechat/src/Form/FormTextarea/index.wxss | 0 .../wechat/src/Form/FormTextarea/props.js | 27 + .../antd-mini/compiled/wechat/src/Form/form.js | 775 + .../antd-mini/compiled/wechat/src/Form/index.md | 364 + .../antd-mini/compiled/wechat/src/Grid/index.js | 12 + .../antd-mini/compiled/wechat/src/Grid/index.json | 7 + .../antd-mini/compiled/wechat/src/Grid/index.md | 48 + .../antd-mini/compiled/wechat/src/Grid/index.wxml | 64 + .../antd-mini/compiled/wechat/src/Grid/index.wxs | 25 + .../antd-mini/compiled/wechat/src/Grid/index.wxss | 107 + .../antd-mini/compiled/wechat/src/Grid/props.js | 18 + .../compiled/wechat/src/Grid/variable.wxss | 0 .../compiled/wechat/src/GuideTour/index.js | 90 + .../compiled/wechat/src/GuideTour/index.json | 8 + .../compiled/wechat/src/GuideTour/index.md | 52 + .../compiled/wechat/src/GuideTour/index.wxml | 118 + .../compiled/wechat/src/GuideTour/index.wxs | 18 + .../compiled/wechat/src/GuideTour/index.wxss | 65 + .../compiled/wechat/src/GuideTour/props.js | 13 + .../compiled/wechat/src/GuideTour/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Icon/index.js | 22 + .../antd-mini/compiled/wechat/src/Icon/index.json | 3 + .../antd-mini/compiled/wechat/src/Icon/index.md | 39 + .../antd-mini/compiled/wechat/src/Icon/index.wxml | 4 + .../antd-mini/compiled/wechat/src/Icon/index.wxss | 468 + .../antd-mini/compiled/wechat/src/Icon/props.js | 3 + .../compiled/wechat/src/Icon/variable.wxss | 0 .../compiled/wechat/src/ImageIcon/index.js | 4 + .../compiled/wechat/src/ImageIcon/index.json | 6 + .../compiled/wechat/src/ImageIcon/index.wxml | 19 + .../compiled/wechat/src/ImageIcon/index.wxs | 7 + .../compiled/wechat/src/ImageIcon/props.js | 3 + .../compiled/wechat/src/ImageUpload/index.js | 295 + .../compiled/wechat/src/ImageUpload/index.json | 7 + .../compiled/wechat/src/ImageUpload/index.md | 105 + .../compiled/wechat/src/ImageUpload/index.wxml | 60 + .../compiled/wechat/src/ImageUpload/index.wxss | 72 + .../compiled/wechat/src/ImageUpload/props.js | 12 + .../compiled/wechat/src/ImageUpload/variable.wxss | 0 .../compiled/wechat/src/Input/InputBlur/index.js | 46 + .../wechat/src/Input/InputBlur/index.json | 3 + .../wechat/src/Input/InputBlur/index.wxml | 26 + .../compiled/wechat/src/Input/InputBlur/props.js | 25 + .../compiled/wechat/src/Input/Textarea/index.js | 42 + .../compiled/wechat/src/Input/Textarea/index.json | 6 + .../compiled/wechat/src/Input/Textarea/index.wxml | 42 + .../compiled/wechat/src/Input/Textarea/index.wxss | 54 + .../compiled/wechat/src/Input/Textarea/props.js | 26 + .../antd-mini/compiled/wechat/src/Input/index.js | 42 + .../compiled/wechat/src/Input/index.json | 6 + .../antd-mini/compiled/wechat/src/Input/index.md | 136 + .../compiled/wechat/src/Input/index.wxml | 54 + .../compiled/wechat/src/Input/index.wxss | 63 + .../antd-mini/compiled/wechat/src/Input/props.js | 34 + .../compiled/wechat/src/Input/variable.wxss | 0 .../compiled/wechat/src/List/ListItem/index.js | 11 + .../compiled/wechat/src/List/ListItem/index.json | 7 + .../compiled/wechat/src/List/ListItem/index.wxml | 69 + .../compiled/wechat/src/List/ListItem/index.wxss | 95 + .../compiled/wechat/src/List/ListItem/props.js | 4 + .../antd-mini/compiled/wechat/src/List/index.js | 6 + .../antd-mini/compiled/wechat/src/List/index.json | 3 + .../antd-mini/compiled/wechat/src/List/index.md | 48 + .../antd-mini/compiled/wechat/src/List/index.wxml | 25 + .../antd-mini/compiled/wechat/src/List/index.wxss | 30 + .../antd-mini/compiled/wechat/src/List/props.js | 3 + .../compiled/wechat/src/List/variable.wxss | 0 .../compiled/wechat/src/Loading/index.js | 26 + .../compiled/wechat/src/Loading/index.json | 3 + .../compiled/wechat/src/Loading/index.md | 26 + .../compiled/wechat/src/Loading/index.wxml | 28 + .../compiled/wechat/src/Loading/index.wxs | 16 + .../compiled/wechat/src/Loading/index.wxss | 77 + .../compiled/wechat/src/Loading/props.js | 5 + .../compiled/wechat/src/Loading/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Mask/index.js | 8 + .../antd-mini/compiled/wechat/src/Mask/index.json | 3 + .../antd-mini/compiled/wechat/src/Mask/index.wxml | 5 + .../antd-mini/compiled/wechat/src/Mask/index.wxss | 12 + .../antd-mini/compiled/wechat/src/Mask/props.js | 3 + .../antd-mini/compiled/wechat/src/Modal/index.js | 21 + .../compiled/wechat/src/Modal/index.json | 8 + .../antd-mini/compiled/wechat/src/Modal/index.md | 46 + .../compiled/wechat/src/Modal/index.wxml | 115 + .../antd-mini/compiled/wechat/src/Modal/index.wxs | 21 + .../compiled/wechat/src/Modal/index.wxss | 118 + .../antd-mini/compiled/wechat/src/Modal/props.js | 31 + .../compiled/wechat/src/Modal/variable.wxss | 0 .../compiled/wechat/src/NoticeBar/index.js | 183 + .../compiled/wechat/src/NoticeBar/index.json | 7 + .../compiled/wechat/src/NoticeBar/index.md | 38 + .../compiled/wechat/src/NoticeBar/index.wxml | 52 + .../compiled/wechat/src/NoticeBar/index.wxss | 68 + .../compiled/wechat/src/NoticeBar/props.js | 8 + .../compiled/wechat/src/NoticeBar/variable.wxss | 0 .../compiled/wechat/src/NumberKeyboard/index.js | 71 + .../compiled/wechat/src/NumberKeyboard/index.json | 6 + .../compiled/wechat/src/NumberKeyboard/index.md | 59 + .../compiled/wechat/src/NumberKeyboard/index.wxml | 117 + .../compiled/wechat/src/NumberKeyboard/index.wxss | 152 + .../compiled/wechat/src/NumberKeyboard/props.js | 14 + .../compiled/wechat/src/Pagination/index.js | 82 + .../compiled/wechat/src/Pagination/index.json | 3 + .../compiled/wechat/src/Pagination/index.wxml | 28 + .../compiled/wechat/src/Pagination/index.wxs | 11 + .../compiled/wechat/src/Pagination/index.wxss | 41 + .../compiled/wechat/src/Pagination/props.js | 4 + .../wechat/src/Picker/CascaderPicker/index.js | 243 + .../wechat/src/Picker/CascaderPicker/index.json | 6 + .../wechat/src/Picker/CascaderPicker/index.wxml | 42 + .../wechat/src/Picker/CascaderPicker/index.wxss | 0 .../wechat/src/Picker/CascaderPicker/props.js | 17 + .../wechat/src/Picker/CascaderPicker/utils.js | 39 + .../antd-mini/compiled/wechat/src/Picker/index.js | 267 + .../compiled/wechat/src/Picker/index.json | 6 + .../antd-mini/compiled/wechat/src/Picker/index.md | 110 + .../compiled/wechat/src/Picker/index.wxml | 100 + .../compiled/wechat/src/Picker/index.wxs | 9 + .../compiled/wechat/src/Picker/index.wxss | 75 + .../antd-mini/compiled/wechat/src/Picker/props.js | 19 + .../antd-mini/compiled/wechat/src/Picker/utils.js | 94 + .../compiled/wechat/src/Picker/variable.wxss | 0 .../compiled/wechat/src/Popover/index.js | 124 + .../compiled/wechat/src/Popover/index.json | 6 + .../compiled/wechat/src/Popover/index.md | 47 + .../compiled/wechat/src/Popover/index.wxml | 42 + .../compiled/wechat/src/Popover/index.wxss | 130 + .../compiled/wechat/src/Popover/props.js | 15 + .../compiled/wechat/src/Popover/utils.js | 179 + .../compiled/wechat/src/Popover/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Popup/index.js | 44 + .../compiled/wechat/src/Popup/index.json | 4 + .../antd-mini/compiled/wechat/src/Popup/index.md | 71 + .../compiled/wechat/src/Popup/index.wxml | 30 + .../antd-mini/compiled/wechat/src/Popup/index.wxs | 20 + .../compiled/wechat/src/Popup/index.wxss | 307 + .../antd-mini/compiled/wechat/src/Popup/props.js | 17 + .../compiled/wechat/src/Popup/variable.wxss | 0 .../compiled/wechat/src/Progress/index.js | 191 + .../compiled/wechat/src/Progress/index.json | 6 + .../compiled/wechat/src/Progress/index.md | 39 + .../compiled/wechat/src/Progress/index.wxml | 28 + .../compiled/wechat/src/Progress/index.wxss | 55 + .../compiled/wechat/src/Progress/props.js | 11 + .../compiled/wechat/src/Progress/variable.wxss | 0 .../compiled/wechat/src/Radio/RadioGroup/index.js | 16 + .../wechat/src/Radio/RadioGroup/index.json | 8 + .../wechat/src/Radio/RadioGroup/index.wxml | 54 + .../wechat/src/Radio/RadioGroup/index.wxss | 34 + .../compiled/wechat/src/Radio/RadioGroup/props.js | 9 + .../antd-mini/compiled/wechat/src/Radio/index.js | 20 + .../compiled/wechat/src/Radio/index.json | 6 + .../antd-mini/compiled/wechat/src/Radio/index.md | 58 + .../compiled/wechat/src/Radio/index.wxml | 35 + .../antd-mini/compiled/wechat/src/Radio/index.wxs | 24 + .../compiled/wechat/src/Radio/index.wxss | 89 + .../antd-mini/compiled/wechat/src/Radio/props.js | 7 + .../compiled/wechat/src/Radio/variable.wxss | 6 + .../wechat/src/RareWordsKeyboard/constants.js | 40 + .../wechat/src/RareWordsKeyboard/index.js | 191 + .../wechat/src/RareWordsKeyboard/index.json | 9 + .../wechat/src/RareWordsKeyboard/index.md | 39 + .../wechat/src/RareWordsKeyboard/index.wxml | 141 + .../wechat/src/RareWordsKeyboard/index.wxss | 295 + .../wechat/src/RareWordsKeyboard/props.js | 12 + .../wechat/src/RareWordsKeyboard/utils.js | 314 + .../wechat/src/RareWordsKeyboard/zdatas.js | 5 + .../antd-mini/compiled/wechat/src/Rate/index.js | 193 + .../antd-mini/compiled/wechat/src/Rate/index.json | 6 + .../antd-mini/compiled/wechat/src/Rate/index.md | 41 + .../antd-mini/compiled/wechat/src/Rate/index.wxml | 34 + .../antd-mini/compiled/wechat/src/Rate/index.wxss | 32 + .../antd-mini/compiled/wechat/src/Rate/props.js | 11 + .../compiled/wechat/src/Rate/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Result/index.js | 7 + .../compiled/wechat/src/Result/index.json | 7 + .../antd-mini/compiled/wechat/src/Result/index.md | 34 + .../compiled/wechat/src/Result/index.wxml | 33 + .../compiled/wechat/src/Result/index.wxs | 13 + .../compiled/wechat/src/Result/index.wxss | 68 + .../antd-mini/compiled/wechat/src/Result/props.js | 1 + .../compiled/wechat/src/Result/variable.wxss | 0 .../compiled/wechat/src/Selector/index.js | 71 + .../compiled/wechat/src/Selector/index.json | 4 + .../compiled/wechat/src/Selector/index.md | 50 + .../compiled/wechat/src/Selector/index.wxml | 40 + .../compiled/wechat/src/Selector/index.wxs | 9 + .../compiled/wechat/src/Selector/index.wxss | 70 + .../compiled/wechat/src/Selector/props.js | 11 + .../compiled/wechat/src/Selector/variable.wxss | 0 .../compiled/wechat/src/Skeleton/Avatar/index.js | 3 + .../wechat/src/Skeleton/Avatar/index.json | 4 + .../wechat/src/Skeleton/Avatar/index.wxml | 10 + .../compiled/wechat/src/Skeleton/Avatar/index.wxs | 10 + .../wechat/src/Skeleton/Avatar/index.wxss | 31 + .../compiled/wechat/src/Skeleton/Avatar/props.js | 13 + .../compiled/wechat/src/Skeleton/Button/index.js | 3 + .../wechat/src/Skeleton/Button/index.json | 4 + .../wechat/src/Skeleton/Button/index.wxml | 10 + .../compiled/wechat/src/Skeleton/Button/index.wxs | 10 + .../wechat/src/Skeleton/Button/index.wxss | 24 + .../compiled/wechat/src/Skeleton/Button/props.js | 13 + .../compiled/wechat/src/Skeleton/Input/index.js | 3 + .../compiled/wechat/src/Skeleton/Input/index.json | 4 + .../compiled/wechat/src/Skeleton/Input/index.wxml | 6 + .../compiled/wechat/src/Skeleton/Input/index.wxss | 12 + .../compiled/wechat/src/Skeleton/Input/props.js | 13 + .../wechat/src/Skeleton/Paragraph/index.js | 3 + .../wechat/src/Skeleton/Paragraph/index.json | 4 + .../wechat/src/Skeleton/Paragraph/index.wxml | 14 + .../wechat/src/Skeleton/Paragraph/index.wxss | 26 + .../wechat/src/Skeleton/Paragraph/props.js | 13 + .../compiled/wechat/src/Skeleton/Title/index.js | 3 + .../compiled/wechat/src/Skeleton/Title/index.json | 4 + .../compiled/wechat/src/Skeleton/Title/index.wxml | 6 + .../compiled/wechat/src/Skeleton/Title/index.wxss | 20 + .../compiled/wechat/src/Skeleton/Title/props.js | 13 + .../compiled/wechat/src/Skeleton/index.js | 3 + .../compiled/wechat/src/Skeleton/index.json | 8 + .../compiled/wechat/src/Skeleton/index.md | 84 + .../compiled/wechat/src/Skeleton/index.wxml | 29 + .../compiled/wechat/src/Skeleton/index.wxss | 18 + .../compiled/wechat/src/Skeleton/props.js | 11 + .../compiled/wechat/src/Skeleton/variable.wxss | 8 + .../antd-mini/compiled/wechat/src/Slider/index.js | 300 + .../compiled/wechat/src/Slider/index.json | 6 + .../antd-mini/compiled/wechat/src/Slider/index.md | 47 + .../compiled/wechat/src/Slider/index.wxml | 81 + .../compiled/wechat/src/Slider/index.wxs | 6 + .../compiled/wechat/src/Slider/index.wxss | 131 + .../antd-mini/compiled/wechat/src/Slider/props.js | 16 + .../compiled/wechat/src/Slider/variable.wxss | 0 .../compiled/wechat/src/Stepper/index.js | 93 + .../compiled/wechat/src/Stepper/index.json | 7 + .../compiled/wechat/src/Stepper/index.md | 46 + .../compiled/wechat/src/Stepper/index.wxml | 48 + .../compiled/wechat/src/Stepper/index.wxss | 54 + .../compiled/wechat/src/Stepper/props.js | 13 + .../compiled/wechat/src/Stepper/utils.js | 58 + .../compiled/wechat/src/Stepper/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Steps/index.js | 3 + .../compiled/wechat/src/Steps/index.json | 3 + .../antd-mini/compiled/wechat/src/Steps/index.md | 49 + .../compiled/wechat/src/Steps/index.wxml | 26 + .../antd-mini/compiled/wechat/src/Steps/index.wxs | 16 + .../compiled/wechat/src/Steps/index.wxss | 204 + .../antd-mini/compiled/wechat/src/Steps/props.js | 11 + .../compiled/wechat/src/Steps/variable.wxss | 0 .../compiled/wechat/src/SwipeAction/index.js | 439 + .../compiled/wechat/src/SwipeAction/index.json | 3 + .../compiled/wechat/src/SwipeAction/index.md | 95 + .../compiled/wechat/src/SwipeAction/index.wxml | 124 + .../compiled/wechat/src/SwipeAction/index.wxs | 144 + .../compiled/wechat/src/SwipeAction/index.wxss | 111 + .../compiled/wechat/src/SwipeAction/props.js | 12 + .../compiled/wechat/src/SwipeAction/wechat.js | 67 + .../antd-mini/compiled/wechat/src/Switch/index.js | 17 + .../compiled/wechat/src/Switch/index.json | 6 + .../antd-mini/compiled/wechat/src/Switch/index.md | 39 + .../compiled/wechat/src/Switch/index.wxml | 17 + .../compiled/wechat/src/Switch/index.wxss | 110 + .../antd-mini/compiled/wechat/src/Switch/props.js | 10 + .../compiled/wechat/src/Switch/variable.wxss | 0 .../antd-mini/compiled/wechat/src/TabBar/index.js | 20 + .../compiled/wechat/src/TabBar/index.json | 7 + .../antd-mini/compiled/wechat/src/TabBar/index.md | 42 + .../compiled/wechat/src/TabBar/index.wxml | 45 + .../compiled/wechat/src/TabBar/index.wxss | 30 + .../antd-mini/compiled/wechat/src/TabBar/props.js | 7 + .../compiled/wechat/src/TabBar/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Tabs/index.js | 237 + .../antd-mini/compiled/wechat/src/Tabs/index.json | 3 + .../antd-mini/compiled/wechat/src/Tabs/index.md | 125 + .../antd-mini/compiled/wechat/src/Tabs/index.wxml | 118 + .../antd-mini/compiled/wechat/src/Tabs/index.wxss | 252 + .../antd-mini/compiled/wechat/src/Tabs/props.js | 11 + .../compiled/wechat/src/Tabs/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Tag/index.js | 27 + .../antd-mini/compiled/wechat/src/Tag/index.json | 6 + .../antd-mini/compiled/wechat/src/Tag/index.md | 33 + .../antd-mini/compiled/wechat/src/Tag/index.wxml | 14 + .../antd-mini/compiled/wechat/src/Tag/index.wxss | 81 + .../antd-mini/compiled/wechat/src/Tag/props.js | 4 + .../compiled/wechat/src/Tag/variable.wxss | 0 .../antd-mini/compiled/wechat/src/Toast/index.js | 57 + .../compiled/wechat/src/Toast/index.json | 8 + .../antd-mini/compiled/wechat/src/Toast/index.md | 34 + .../compiled/wechat/src/Toast/index.wxml | 52 + .../compiled/wechat/src/Toast/index.wxss | 64 + .../antd-mini/compiled/wechat/src/Toast/props.js | 11 + .../compiled/wechat/src/Toast/variable.wxss | 0 .../antd-mini/compiled/wechat/src/_util/arrow.wxs | 14 + .../wechat/src/_util/assert-component2.js | 13 + .../antd-mini/compiled/wechat/src/_util/base.js | 1 + .../compiled/wechat/src/_util/compareVersion.js | 23 + .../compiled/wechat/src/_util/console.js | 74 + .../wechat/src/_util/dayjs/iso-weekday.js | 6 + .../antd-mini/compiled/wechat/src/_util/event.wxs | 10 + .../compiled/wechat/src/_util/fmtEvent.js | 14 + .../antd-mini/compiled/wechat/src/_util/get.js | 10 + .../compiled/wechat/src/_util/jsapi/base.js | 14 + .../wechat/src/_util/jsapi/choose-image.js | 46 + .../src/_util/jsapi/create-canvas-context.js | 15 + .../jsapi/get-instance-bounding-client-rect.js | 16 + .../wechat/src/_util/jsapi/get-system-info.js | 27 + .../wechat/src/_util/jsapi/load-font-face.js | 31 + .../compiled/wechat/src/_util/platform.js | 44 + .../compiled/wechat/src/_util/promisify.js | 28 + .../antd-mini/compiled/wechat/src/_util/set.js | 21 + .../antd-mini/compiled/wechat/src/_util/simply.js | 83 + .../compiled/wechat/src/mixins/computed.js | 42 + .../antd-mini/compiled/wechat/src/mixins/value.js | 118 + .../wechat/src/style/mixins/hairline.wxss | 0 .../compiled/wechat/src/style/themes/color.wxss | 0 .../compiled/wechat/src/style/themes/index.wxss | 0 .../antd-mini/es/ActionSheet/index.acss | 2 +- .../antd-mini/es/ActionSheet/index.axml | 74 +- .../antd-mini/es/ActionSheet/index.d.ts | 1 + .../antd-mini/es/ActionSheet/index.js | 36 +- .../antd-mini/es/ActionSheet/index.json | 4 +- .../antd-mini/es/ActionSheet/index.sjs | 8 +- .../antd-mini/es/ActionSheet/props.d.ts | 78 +- .../antd-mini/es/ActionSheet/props.js | 18 +- .../node_modules/antd-mini/es/Avatar/index.axml | 18 +- .../node_modules/antd-mini/es/Avatar/index.d.ts | 1 + .../node_modules/antd-mini/es/Avatar/index.js | 10 +- .../node_modules/antd-mini/es/Avatar/index.sjs | 13 +- .../node_modules/antd-mini/es/Avatar/props.d.ts | 29 +- .../node_modules/antd-mini/es/Avatar/props.js | 13 +- .../node_modules/antd-mini/es/Badge/index.axml | 78 +- .../node_modules/antd-mini/es/Badge/index.d.ts | 1 + .../node_modules/antd-mini/es/Badge/index.js | 24 +- .../node_modules/antd-mini/es/Badge/index.sjs | 41 +- .../node_modules/antd-mini/es/Badge/props.d.ts | 82 +- .../node_modules/antd-mini/es/Badge/props.js | 27 +- .../node_modules/antd-mini/es/Button/index.acss | 2 +- .../node_modules/antd-mini/es/Button/index.axml | 52 +- .../node_modules/antd-mini/es/Button/index.d.ts | 1 + .../node_modules/antd-mini/es/Button/index.js | 42 +- .../node_modules/antd-mini/es/Button/index.json | 2 +- .../node_modules/antd-mini/es/Button/index.sjs | 16 +- .../node_modules/antd-mini/es/Button/props.d.ts | 151 +- .../node_modules/antd-mini/es/Button/props.js | 15 +- .../node_modules/antd-mini/es/Calendar/helper.sjs | 84 + .../node_modules/antd-mini/es/Calendar/index.acss | 2 +- .../node_modules/antd-mini/es/Calendar/index.axml | 167 +- .../node_modules/antd-mini/es/Calendar/index.d.ts | 1 + .../node_modules/antd-mini/es/Calendar/index.js | 342 +- .../node_modules/antd-mini/es/Calendar/index.json | 8 +- .../node_modules/antd-mini/es/Calendar/props.d.ts | 256 +- .../node_modules/antd-mini/es/Calendar/props.js | 44 +- .../node_modules/antd-mini/es/Calendar/scroll.sjs | 45 + .../node_modules/antd-mini/es/Calendar/utils.d.ts | 14 + .../node_modules/antd-mini/es/Calendar/utils.js | 157 + .../es/Checkbox/CheckboxGroup/index.axml | 85 +- .../es/Checkbox/CheckboxGroup/index.d.ts | 1 + .../antd-mini/es/Checkbox/CheckboxGroup/index.js | 76 +- .../es/Checkbox/CheckboxGroup/index.json | 2 +- .../es/Checkbox/CheckboxGroup/props.d.ts | 23 +- .../antd-mini/es/Checkbox/CheckboxGroup/props.js | 18 +- .../node_modules/antd-mini/es/Checkbox/index.axml | 29 +- .../node_modules/antd-mini/es/Checkbox/index.d.ts | 1 + .../node_modules/antd-mini/es/Checkbox/index.js | 41 +- .../node_modules/antd-mini/es/Checkbox/index.json | 2 +- .../node_modules/antd-mini/es/Checkbox/index.sjs | 7 +- .../node_modules/antd-mini/es/Checkbox/props.d.ts | 13 +- .../node_modules/antd-mini/es/Checkbox/props.js | 15 +- .../es/Checklist/ChecklistItem/index.acss | 2 +- .../es/Checklist/ChecklistItem/index.axml | 24 +- .../es/Checklist/ChecklistItem/index.d.ts | 1 + .../antd-mini/es/Checklist/ChecklistItem/index.js | 16 +- .../es/Checklist/ChecklistItem/props.d.ts | 19 +- .../antd-mini/es/Checklist/ChecklistItem/props.js | 12 +- .../antd-mini/es/Checklist/index.axml | 75 +- .../antd-mini/es/Checklist/index.d.ts | 1 + .../node_modules/antd-mini/es/Checklist/index.js | 90 +- .../antd-mini/es/Checklist/index.json | 4 +- .../node_modules/antd-mini/es/Checklist/index.sjs | 5 +- .../antd-mini/es/Checklist/props.d.ts | 91 +- .../node_modules/antd-mini/es/Checklist/props.js | 15 +- .../node_modules/antd-mini/es/Collapse/index.acss | 2 +- .../node_modules/antd-mini/es/Collapse/index.axml | 111 +- .../node_modules/antd-mini/es/Collapse/index.d.ts | 1 + .../node_modules/antd-mini/es/Collapse/index.js | 311 +- .../node_modules/antd-mini/es/Collapse/index.json | 2 +- .../node_modules/antd-mini/es/Collapse/index.sjs | 12 +- .../node_modules/antd-mini/es/Collapse/props.d.ts | 66 +- .../node_modules/antd-mini/es/Collapse/props.js | 14 +- .../antd-mini/es/Container/index.acss | 2 +- .../antd-mini/es/Container/index.axml | 23 +- .../antd-mini/es/Container/index.d.ts | 1 + .../node_modules/antd-mini/es/Container/index.js | 12 +- .../antd-mini/es/Container/index.json | 5 +- .../antd-mini/es/Container/props.d.ts | 40 +- .../node_modules/antd-mini/es/Container/props.js | 11 +- .../es/DatePicker/RangePicker/index.acss | 2 +- .../es/DatePicker/RangePicker/index.axml | 118 +- .../es/DatePicker/RangePicker/index.d.ts | 1 + .../antd-mini/es/DatePicker/RangePicker/index.js | 587 +- .../es/DatePicker/RangePicker/index.json | 2 +- .../es/DatePicker/RangePicker/props.d.ts | 239 +- .../antd-mini/es/DatePicker/RangePicker/props.js | 41 +- .../antd-mini/es/DatePicker/index.axml | 34 +- .../antd-mini/es/DatePicker/index.d.ts | 1 + .../node_modules/antd-mini/es/DatePicker/index.js | 411 +- .../antd-mini/es/DatePicker/index.json | 2 +- .../antd-mini/es/DatePicker/props.d.ts | 213 +- .../node_modules/antd-mini/es/DatePicker/props.js | 35 +- .../antd-mini/es/DatePicker/util.d.ts | 34 + .../node_modules/antd-mini/es/DatePicker/util.js | 68 +- .../node_modules/antd-mini/es/Divider/index.axml | 64 +- .../node_modules/antd-mini/es/Divider/index.d.ts | 1 + .../node_modules/antd-mini/es/Divider/index.js | 10 +- .../node_modules/antd-mini/es/Divider/index.sjs | 10 +- .../node_modules/antd-mini/es/Divider/props.d.ts | 59 +- .../node_modules/antd-mini/es/Divider/props.js | 25 +- .../node_modules/antd-mini/es/Empty/index.acss | 2 +- .../node_modules/antd-mini/es/Empty/index.axml | 22 +- .../node_modules/antd-mini/es/Empty/index.d.ts | 1 + .../node_modules/antd-mini/es/Empty/index.js | 9 +- .../node_modules/antd-mini/es/Empty/index.json | 4 +- .../node_modules/antd-mini/es/Empty/props.d.ts | 27 +- .../node_modules/antd-mini/es/Empty/props.js | 14 +- .../es/Form/FormCascaderPicker/index.axml | 70 +- .../es/Form/FormCascaderPicker/index.d.ts | 1 + .../antd-mini/es/Form/FormCascaderPicker/index.js | 69 +- .../es/Form/FormCascaderPicker/index.json | 4 +- .../es/Form/FormCascaderPicker/props.d.ts | 12 +- .../antd-mini/es/Form/FormCascaderPicker/props.js | 12 +- .../es/Form/FormCheckboxGroup/index.axml | 50 +- .../es/Form/FormCheckboxGroup/index.d.ts | 1 + .../antd-mini/es/Form/FormCheckboxGroup/index.js | 25 +- .../es/Form/FormCheckboxGroup/props.d.ts | 8 +- .../antd-mini/es/Form/FormCheckboxGroup/props.js | 16 +- .../antd-mini/es/Form/FormDatePicker/index.axml | 71 +- .../antd-mini/es/Form/FormDatePicker/index.d.ts | 1 + .../antd-mini/es/Form/FormDatePicker/index.js | 67 +- .../antd-mini/es/Form/FormDatePicker/index.json | 4 +- .../antd-mini/es/Form/FormDatePicker/props.d.ts | 12 +- .../antd-mini/es/Form/FormDatePicker/props.js | 12 +- .../antd-mini/es/Form/FormImageUpload/index.axml | 41 +- .../antd-mini/es/Form/FormImageUpload/index.d.ts | 1 + .../antd-mini/es/Form/FormImageUpload/index.js | 88 +- .../antd-mini/es/Form/FormImageUpload/props.d.ts | 3 - .../antd-mini/es/Form/FormImageUpload/props.js | 14 +- .../antd-mini/es/Form/FormInput/index.axml | 48 +- .../antd-mini/es/Form/FormInput/index.d.ts | 1 + .../antd-mini/es/Form/FormInput/index.js | 77 +- .../antd-mini/es/Form/FormInput/index.json | 4 +- .../antd-mini/es/Form/FormInput/props.d.ts | 9 +- .../antd-mini/es/Form/FormInput/props.js | 14 +- .../antd-mini/es/Form/FormItem/index.acss | 2 +- .../antd-mini/es/Form/FormItem/index.axml | 57 +- .../antd-mini/es/Form/FormItem/index.d.ts | 1 + .../antd-mini/es/Form/FormItem/index.js | 19 +- .../antd-mini/es/Form/FormItem/index.json | 4 +- .../antd-mini/es/Form/FormItem/props.d.ts | 27 +- .../antd-mini/es/Form/FormItem/props.js | 26 +- .../antd-mini/es/Form/FormPicker/index.axml | 68 +- .../antd-mini/es/Form/FormPicker/index.d.ts | 1 + .../antd-mini/es/Form/FormPicker/index.js | 61 +- .../antd-mini/es/Form/FormPicker/index.json | 4 +- .../antd-mini/es/Form/FormPicker/props.d.ts | 12 +- .../antd-mini/es/Form/FormPicker/props.js | 12 +- .../antd-mini/es/Form/FormRadioGroup/index.axml | 52 +- .../antd-mini/es/Form/FormRadioGroup/index.d.ts | 1 + .../antd-mini/es/Form/FormRadioGroup/index.js | 25 +- .../antd-mini/es/Form/FormRadioGroup/index.json | 2 +- .../antd-mini/es/Form/FormRadioGroup/props.d.ts | 4 +- .../antd-mini/es/Form/FormRadioGroup/props.js | 16 +- .../antd-mini/es/Form/FormRangePicker/index.axml | 69 +- .../antd-mini/es/Form/FormRangePicker/index.d.ts | 1 + .../antd-mini/es/Form/FormRangePicker/index.js | 67 +- .../antd-mini/es/Form/FormRangePicker/index.json | 4 +- .../antd-mini/es/Form/FormRangePicker/props.d.ts | 14 +- .../antd-mini/es/Form/FormRangePicker/props.js | 12 +- .../antd-mini/es/Form/FormRate/index.axml | 34 +- .../antd-mini/es/Form/FormRate/index.d.ts | 1 + .../antd-mini/es/Form/FormRate/index.js | 27 +- .../antd-mini/es/Form/FormRate/props.d.ts | 5 +- .../antd-mini/es/Form/FormRate/props.js | 14 +- .../antd-mini/es/Form/FormSelector/index.axml | 33 +- .../antd-mini/es/Form/FormSelector/index.d.ts | 1 + .../antd-mini/es/Form/FormSelector/index.js | 42 +- .../antd-mini/es/Form/FormSelector/props.d.ts | 5 +- .../antd-mini/es/Form/FormSelector/props.js | 12 +- .../antd-mini/es/Form/FormSlider/index.axml | 32 +- .../antd-mini/es/Form/FormSlider/index.d.ts | 1 + .../antd-mini/es/Form/FormSlider/index.js | 36 +- .../antd-mini/es/Form/FormSlider/props.d.ts | 7 +- .../antd-mini/es/Form/FormSlider/props.js | 14 +- .../antd-mini/es/Form/FormStepper/index.axml | 38 +- .../antd-mini/es/Form/FormStepper/index.d.ts | 1 + .../antd-mini/es/Form/FormStepper/index.js | 51 +- .../antd-mini/es/Form/FormStepper/props.d.ts | 7 +- .../antd-mini/es/Form/FormStepper/props.js | 14 +- .../antd-mini/es/Form/FormSwitch/index.axml | 29 +- .../antd-mini/es/Form/FormSwitch/index.d.ts | 1 + .../antd-mini/es/Form/FormSwitch/index.js | 27 +- .../antd-mini/es/Form/FormSwitch/props.d.ts | 5 +- .../antd-mini/es/Form/FormSwitch/props.js | 14 +- .../antd-mini/es/Form/FormTextarea/index.axml | 34 +- .../antd-mini/es/Form/FormTextarea/index.d.ts | 1 + .../antd-mini/es/Form/FormTextarea/index.js | 83 +- .../antd-mini/es/Form/FormTextarea/index.json | 4 +- .../antd-mini/es/Form/FormTextarea/props.d.ts | 5 +- .../antd-mini/es/Form/FormTextarea/props.js | 14 +- .../node_modules/antd-mini/es/Form/form.d.ts | 186 + .../node_modules/antd-mini/es/Form/form.js | 292 +- .../node_modules/antd-mini/es/Grid/index.acss | 2 +- .../node_modules/antd-mini/es/Grid/index.axml | 141 +- .../node_modules/antd-mini/es/Grid/index.d.ts | 1 + .../node_modules/antd-mini/es/Grid/index.js | 30 +- .../node_modules/antd-mini/es/Grid/index.json | 4 +- .../node_modules/antd-mini/es/Grid/index.sjs | 6 +- .../node_modules/antd-mini/es/Grid/props.d.ts | 130 +- .../node_modules/antd-mini/es/Grid/props.js | 30 +- .../antd-mini/es/GuideTour/index.axml | 162 +- .../antd-mini/es/GuideTour/index.d.ts | 1 + .../node_modules/antd-mini/es/GuideTour/index.js | 123 +- .../antd-mini/es/GuideTour/index.json | 6 +- .../node_modules/antd-mini/es/GuideTour/index.sjs | 10 +- .../antd-mini/es/GuideTour/props.d.ts | 139 +- .../node_modules/antd-mini/es/GuideTour/props.js | 24 +- .../node_modules/antd-mini/es/Icon/index.acss | 2 +- .../node_modules/antd-mini/es/Icon/index.axml | 2 +- .../node_modules/antd-mini/es/Icon/index.d.ts | 1 + .../node_modules/antd-mini/es/Icon/index.js | 16 +- .../node_modules/antd-mini/es/Icon/props.d.ts | 36 +- .../node_modules/antd-mini/es/Icon/props.js | 11 +- .../antd-mini/es/ImageIcon/index.axml | 34 +- .../antd-mini/es/ImageIcon/index.d.ts | 1 + .../node_modules/antd-mini/es/ImageIcon/index.js | 8 +- .../node_modules/antd-mini/es/ImageIcon/index.sjs | 162 +- .../antd-mini/es/ImageIcon/props.d.ts | 5 + .../node_modules/antd-mini/es/ImageIcon/props.js | 3 + .../antd-mini/es/ImageUpload/index.axml | 103 +- .../antd-mini/es/ImageUpload/index.d.ts | 1 + .../antd-mini/es/ImageUpload/index.js | 419 +- .../antd-mini/es/ImageUpload/props.d.ts | 153 +- .../antd-mini/es/ImageUpload/props.js | 22 +- .../node_modules/antd-mini/es/IndexBar/index.acss | 2 +- .../node_modules/antd-mini/es/IndexBar/index.axml | 57 +- .../node_modules/antd-mini/es/IndexBar/index.d.ts | 1 + .../node_modules/antd-mini/es/IndexBar/index.js | 75 +- .../node_modules/antd-mini/es/IndexBar/props.d.ts | 68 +- .../node_modules/antd-mini/es/IndexBar/props.js | 26 +- .../antd-mini/es/Input/InputBlur/index.axml | 33 +- .../antd-mini/es/Input/InputBlur/index.d.ts | 1 + .../antd-mini/es/Input/InputBlur/index.js | 95 +- .../antd-mini/es/Input/InputBlur/props.d.ts | 57 +- .../antd-mini/es/Input/InputBlur/props.js | 31 +- .../antd-mini/es/Input/Textarea/index.acss | 2 +- .../antd-mini/es/Input/Textarea/index.axml | 50 +- .../antd-mini/es/Input/Textarea/index.d.ts | 1 + .../antd-mini/es/Input/Textarea/index.js | 92 +- .../antd-mini/es/Input/Textarea/props.d.ts | 48 +- .../antd-mini/es/Input/Textarea/props.js | 28 +- .../node_modules/antd-mini/es/Input/index.acss | 2 +- .../node_modules/antd-mini/es/Input/index.axml | 61 +- .../node_modules/antd-mini/es/Input/index.d.ts | 1 + .../node_modules/antd-mini/es/Input/index.js | 92 +- .../node_modules/antd-mini/es/Input/props.d.ts | 73 +- .../node_modules/antd-mini/es/Input/props.js | 36 +- .../antd-mini/es/List/ListItem/index.acss | 2 +- .../antd-mini/es/List/ListItem/index.axml | 48 +- .../antd-mini/es/List/ListItem/index.d.ts | 1 + .../antd-mini/es/List/ListItem/index.js | 48 +- .../antd-mini/es/List/ListItem/props.d.ts | 90 +- .../antd-mini/es/List/ListItem/props.js | 14 +- .../node_modules/antd-mini/es/List/index.axml | 50 +- .../node_modules/antd-mini/es/List/index.d.ts | 1 + .../node_modules/antd-mini/es/List/index.js | 10 +- .../node_modules/antd-mini/es/List/props.d.ts | 32 +- .../node_modules/antd-mini/es/List/props.js | 11 +- .../node_modules/antd-mini/es/Loading/index.axml | 55 +- .../node_modules/antd-mini/es/Loading/index.d.ts | 1 + .../node_modules/antd-mini/es/Loading/index.js | 9 +- .../node_modules/antd-mini/es/Loading/index.sjs | 16 +- .../node_modules/antd-mini/es/Loading/props.d.ts | 29 +- .../node_modules/antd-mini/es/Loading/props.js | 15 +- .../node_modules/antd-mini/es/Mask/index.axml | 6 +- .../node_modules/antd-mini/es/Mask/index.d.ts | 1 + .../node_modules/antd-mini/es/Mask/index.js | 24 +- .../node_modules/antd-mini/es/Mask/props.d.ts | 9 +- .../node_modules/antd-mini/es/Mask/props.js | 13 +- .../node_modules/antd-mini/es/Modal/index.acss | 2 +- .../node_modules/antd-mini/es/Modal/index.axml | 127 +- .../node_modules/antd-mini/es/Modal/index.d.ts | 1 + .../node_modules/antd-mini/es/Modal/index.js | 57 +- .../node_modules/antd-mini/es/Modal/index.json | 7 +- .../node_modules/antd-mini/es/Modal/index.sjs | 20 +- .../node_modules/antd-mini/es/Modal/props.d.ts | 190 +- .../node_modules/antd-mini/es/Modal/props.js | 43 +- .../antd-mini/es/NoticeBar/index.axml | 47 +- .../antd-mini/es/NoticeBar/index.d.ts | 1 + .../node_modules/antd-mini/es/NoticeBar/index.js | 246 +- .../antd-mini/es/NoticeBar/props.d.ts | 104 +- .../node_modules/antd-mini/es/NoticeBar/props.js | 20 +- .../antd-mini/es/NumberKeyboard/index.acss | 2 +- .../antd-mini/es/NumberKeyboard/index.axml | 149 +- .../antd-mini/es/NumberKeyboard/index.d.ts | 1 + .../antd-mini/es/NumberKeyboard/index.js | 124 +- .../antd-mini/es/NumberKeyboard/index.json | 2 +- .../antd-mini/es/NumberKeyboard/props.d.ts | 123 +- .../antd-mini/es/NumberKeyboard/props.js | 45 +- .../antd-mini/es/PageContainer/index.acss | 1 + .../antd-mini/es/PageContainer/index.axml | 55 + .../antd-mini/es/PageContainer/index.d.ts | 1 + .../antd-mini/es/PageContainer/index.js | 31 + .../antd-mini/es/PageContainer/index.json | 8 + .../antd-mini/es/PageContainer/index.sjs | 0 .../antd-mini/es/PageContainer/props.d.ts | 77 + .../antd-mini/es/PageContainer/props.js | 29 + .../antd-mini/es/Pagination/index.axml | 35 +- .../antd-mini/es/Pagination/index.d.ts | 1 + .../node_modules/antd-mini/es/Pagination/index.js | 99 +- .../antd-mini/es/Pagination/index.sjs | 18 +- .../antd-mini/es/Pagination/props.d.ts | 25 +- .../node_modules/antd-mini/es/Pagination/props.js | 12 +- .../antd-mini/es/Picker/CascaderPicker/index.axml | 69 +- .../antd-mini/es/Picker/CascaderPicker/index.d.ts | 1 + .../antd-mini/es/Picker/CascaderPicker/index.js | 370 +- .../antd-mini/es/Picker/CascaderPicker/index.json | 2 +- .../antd-mini/es/Picker/CascaderPicker/props.d.ts | 177 +- .../antd-mini/es/Picker/CascaderPicker/props.js | 29 +- .../antd-mini/es/Picker/CascaderPicker/utils.d.ts | 3 + .../antd-mini/es/Picker/CascaderPicker/utils.js | 39 + .../node_modules/antd-mini/es/Picker/index.acss | 2 +- .../node_modules/antd-mini/es/Picker/index.axml | 132 +- .../node_modules/antd-mini/es/Picker/index.d.ts | 1 + .../node_modules/antd-mini/es/Picker/index.js | 418 +- .../node_modules/antd-mini/es/Picker/index.json | 2 +- .../node_modules/antd-mini/es/Picker/index.sjs | 11 +- .../node_modules/antd-mini/es/Picker/props.d.ts | 188 +- .../node_modules/antd-mini/es/Picker/props.js | 33 +- .../node_modules/antd-mini/es/Picker/utils.d.ts | 12 + .../node_modules/antd-mini/es/Picker/utils.js | 22 +- .../node_modules/antd-mini/es/Popover/index.acss | 2 +- .../node_modules/antd-mini/es/Popover/index.axml | 49 +- .../node_modules/antd-mini/es/Popover/index.d.ts | 1 + .../node_modules/antd-mini/es/Popover/index.js | 188 +- .../node_modules/antd-mini/es/Popover/props.d.ts | 131 +- .../node_modules/antd-mini/es/Popover/props.js | 27 +- .../node_modules/antd-mini/es/Popover/utils.d.ts | 22 + .../node_modules/antd-mini/es/Popover/utils.js | 179 + .../node_modules/antd-mini/es/Popup/index.acss | 2 +- .../node_modules/antd-mini/es/Popup/index.axml | 29 +- .../node_modules/antd-mini/es/Popup/index.d.ts | 1 + .../node_modules/antd-mini/es/Popup/index.js | 101 +- .../node_modules/antd-mini/es/Popup/index.sjs | 17 +- .../node_modules/antd-mini/es/Popup/props.d.ts | 112 +- .../node_modules/antd-mini/es/Popup/props.js | 33 +- .../node_modules/antd-mini/es/Progress/index.axml | 52 +- .../node_modules/antd-mini/es/Progress/index.d.ts | 1 + .../node_modules/antd-mini/es/Progress/index.js | 281 +- .../node_modules/antd-mini/es/Progress/index.json | 2 +- .../node_modules/antd-mini/es/Progress/props.d.ts | 79 +- .../node_modules/antd-mini/es/Progress/props.js | 23 +- .../antd-mini/es/Radio/RadioGroup/index.axml | 81 +- .../antd-mini/es/Radio/RadioGroup/index.d.ts | 1 + .../antd-mini/es/Radio/RadioGroup/index.js | 34 +- .../antd-mini/es/Radio/RadioGroup/props.d.ts | 26 +- .../antd-mini/es/Radio/RadioGroup/props.js | 18 +- .../node_modules/antd-mini/es/Radio/index.axml | 33 +- .../node_modules/antd-mini/es/Radio/index.d.ts | 1 + .../node_modules/antd-mini/es/Radio/index.js | 37 +- .../node_modules/antd-mini/es/Radio/index.json | 3 +- .../node_modules/antd-mini/es/Radio/index.sjs | 9 +- .../node_modules/antd-mini/es/Radio/props.d.ts | 19 +- .../node_modules/antd-mini/es/Radio/props.js | 15 +- .../antd-mini/es/RareWordsKeyboard/constants.d.ts | 5 + .../antd-mini/es/RareWordsKeyboard/constants.js | 40 + .../antd-mini/es/RareWordsKeyboard/index.acss | 1 + .../antd-mini/es/RareWordsKeyboard/index.axml | 153 + .../antd-mini/es/RareWordsKeyboard/index.d.ts | 1 + .../antd-mini/es/RareWordsKeyboard/index.js | 136 + .../antd-mini/es/RareWordsKeyboard/index.json | 9 + .../antd-mini/es/RareWordsKeyboard/props.d.ts | 76 + .../antd-mini/es/RareWordsKeyboard/props.js | 12 + .../antd-mini/es/RareWordsKeyboard/utils.d.ts | 51 + .../antd-mini/es/RareWordsKeyboard/utils.js | 259 + .../antd-mini/es/RareWordsKeyboard/zdatas.d.ts | 27 + .../antd-mini/es/RareWordsKeyboard/zdatas.js | 5 + .../node_modules/antd-mini/es/Rate/index.axml | 51 +- .../node_modules/antd-mini/es/Rate/index.d.ts | 1 + .../node_modules/antd-mini/es/Rate/index.js | 267 +- .../node_modules/antd-mini/es/Rate/index.json | 6 +- .../node_modules/antd-mini/es/Rate/props.d.ts | 93 +- .../node_modules/antd-mini/es/Rate/props.js | 21 +- .../node_modules/antd-mini/es/Result/index.acss | 2 +- .../node_modules/antd-mini/es/Result/index.axml | 43 +- .../node_modules/antd-mini/es/Result/index.d.ts | 1 + .../node_modules/antd-mini/es/Result/index.js | 11 +- .../node_modules/antd-mini/es/Result/index.sjs | 14 +- .../node_modules/antd-mini/es/Result/props.d.ts | 39 +- .../node_modules/antd-mini/es/Result/props.js | 11 +- .../node_modules/antd-mini/es/Selector/index.axml | 59 +- .../node_modules/antd-mini/es/Selector/index.d.ts | 1 + .../node_modules/antd-mini/es/Selector/index.js | 134 +- .../node_modules/antd-mini/es/Selector/index.sjs | 6 +- .../node_modules/antd-mini/es/Selector/props.d.ts | 130 +- .../node_modules/antd-mini/es/Selector/props.js | 20 +- .../antd-mini/es/Skeleton/Avatar/index.axml | 16 +- .../antd-mini/es/Skeleton/Avatar/index.d.ts | 1 + .../antd-mini/es/Skeleton/Avatar/index.js | 12 +- .../antd-mini/es/Skeleton/Avatar/index.sjs | 11 +- .../antd-mini/es/Skeleton/Avatar/props.d.ts | 6 + .../antd-mini/es/Skeleton/Avatar/props.js | 3 + .../antd-mini/es/Skeleton/Button/index.axml | 16 +- .../antd-mini/es/Skeleton/Button/index.d.ts | 1 + .../antd-mini/es/Skeleton/Button/index.js | 11 +- .../antd-mini/es/Skeleton/Button/index.sjs | 11 +- .../antd-mini/es/Skeleton/Button/props.d.ts | 5 + .../antd-mini/es/Skeleton/Button/props.js | 3 + .../antd-mini/es/Skeleton/Input/index.axml | 10 +- .../antd-mini/es/Skeleton/Input/index.d.ts | 1 + .../antd-mini/es/Skeleton/Input/index.js | 11 +- .../antd-mini/es/Skeleton/Input/props.d.ts | 4 + .../antd-mini/es/Skeleton/Input/props.js | 3 + .../antd-mini/es/Skeleton/Paragraph/index.axml | 16 +- .../antd-mini/es/Skeleton/Paragraph/index.d.ts | 1 + .../antd-mini/es/Skeleton/Paragraph/index.js | 12 +- .../antd-mini/es/Skeleton/Paragraph/props.d.ts | 5 + .../antd-mini/es/Skeleton/Paragraph/props.js | 3 + .../antd-mini/es/Skeleton/Title/index.axml | 10 +- .../antd-mini/es/Skeleton/Title/index.d.ts | 1 + .../antd-mini/es/Skeleton/Title/index.js | 11 +- .../antd-mini/es/Skeleton/Title/props.d.ts | 4 + .../antd-mini/es/Skeleton/Title/props.js | 3 + .../node_modules/antd-mini/es/Skeleton/index.axml | 37 +- .../node_modules/antd-mini/es/Skeleton/index.d.ts | 1 + .../node_modules/antd-mini/es/Skeleton/index.js | 10 +- .../node_modules/antd-mini/es/Skeleton/props.d.ts | 77 +- .../node_modules/antd-mini/es/Skeleton/props.js | 23 +- .../node_modules/antd-mini/es/Slider/index.acss | 2 +- .../node_modules/antd-mini/es/Slider/index.axml | 120 +- .../node_modules/antd-mini/es/Slider/index.d.ts | 1 + .../node_modules/antd-mini/es/Slider/index.js | 448 +- .../node_modules/antd-mini/es/Slider/index.sjs | 9 +- .../node_modules/antd-mini/es/Slider/props.d.ts | 144 +- .../node_modules/antd-mini/es/Slider/props.js | 26 +- .../node_modules/antd-mini/es/Stepper/index.acss | 2 +- .../node_modules/antd-mini/es/Stepper/index.axml | 48 +- .../node_modules/antd-mini/es/Stepper/index.d.ts | 1 + .../node_modules/antd-mini/es/Stepper/index.js | 183 +- .../node_modules/antd-mini/es/Stepper/index.json | 5 +- .../node_modules/antd-mini/es/Stepper/props.d.ts | 134 +- .../node_modules/antd-mini/es/Stepper/props.js | 23 +- .../node_modules/antd-mini/es/Stepper/utils.d.ts | 8 + .../node_modules/antd-mini/es/Stepper/utils.js | 110 +- .../node_modules/antd-mini/es/Steps/index.acss | 2 +- .../node_modules/antd-mini/es/Steps/index.axml | 75 +- .../node_modules/antd-mini/es/Steps/index.d.ts | 1 + .../node_modules/antd-mini/es/Steps/index.js | 9 +- .../node_modules/antd-mini/es/Steps/index.sjs | 7 +- .../node_modules/antd-mini/es/Steps/props.d.ts | 35 +- .../node_modules/antd-mini/es/Steps/props.js | 21 +- .../antd-mini/es/SwipeAction/index.acss | 2 +- .../antd-mini/es/SwipeAction/index.axml | 133 +- .../antd-mini/es/SwipeAction/index.d.ts | 1 + .../antd-mini/es/SwipeAction/index.js | 334 +- .../antd-mini/es/SwipeAction/index.sjs | 162 +- .../antd-mini/es/SwipeAction/props.d.ts | 121 +- .../antd-mini/es/SwipeAction/props.js | 29 +- .../antd-mini/es/SwipeAction/wechat.d.ts | 2 + .../antd-mini/es/SwipeAction/wechat.js | 46 + .../node_modules/antd-mini/es/Switch/index.axml | 25 +- .../node_modules/antd-mini/es/Switch/index.d.ts | 1 + .../node_modules/antd-mini/es/Switch/index.js | 37 +- .../node_modules/antd-mini/es/Switch/index.json | 2 +- .../node_modules/antd-mini/es/Switch/props.d.ts | 81 +- .../node_modules/antd-mini/es/Switch/props.js | 18 +- .../node_modules/antd-mini/es/TabBar/index.axml | 98 +- .../node_modules/antd-mini/es/TabBar/index.d.ts | 1 + .../node_modules/antd-mini/es/TabBar/index.js | 48 +- .../node_modules/antd-mini/es/TabBar/index.json | 2 +- .../node_modules/antd-mini/es/TabBar/props.d.ts | 97 +- .../node_modules/antd-mini/es/TabBar/props.js | 16 +- .../node_modules/antd-mini/es/Tabs/index.acss | 2 +- .../node_modules/antd-mini/es/Tabs/index.axml | 208 +- .../node_modules/antd-mini/es/Tabs/index.d.ts | 1 + .../node_modules/antd-mini/es/Tabs/index.js | 290 +- .../node_modules/antd-mini/es/Tabs/index.json | 5 +- .../node_modules/antd-mini/es/Tabs/props.d.ts | 84 +- .../node_modules/antd-mini/es/Tabs/props.js | 21 +- .../node_modules/antd-mini/es/Tag/index.axml | 16 +- .../node_modules/antd-mini/es/Tag/index.d.ts | 1 + .../node_modules/antd-mini/es/Tag/index.js | 9 +- .../node_modules/antd-mini/es/Tag/index.json | 2 +- .../node_modules/antd-mini/es/Tag/props.d.ts | 33 +- .../node_modules/antd-mini/es/Tag/props.js | 13 +- .../node_modules/antd-mini/es/Toast/index.axml | 81 +- .../node_modules/antd-mini/es/Toast/index.d.ts | 1 + .../node_modules/antd-mini/es/Toast/index.js | 79 +- .../node_modules/antd-mini/es/Toast/props.d.ts | 91 +- .../node_modules/antd-mini/es/Toast/props.js | 24 +- .../antd-mini/es/Typography/index.acss | 1 + .../antd-mini/es/Typography/index.axml | 57 + .../antd-mini/es/Typography/index.d.ts | 1 + .../node_modules/antd-mini/es/Typography/index.js | 27 + .../antd-mini/es/Typography/index.json | 6 + .../antd-mini/es/Typography/index.sjs | 28 + .../antd-mini/es/Typography/props.d.ts | 17 + .../node_modules/antd-mini/es/Typography/props.js | 14 + .../node_modules/antd-mini/es/_util/arrow.sjs | 12 +- .../antd-mini/es/_util/assert-component2.d.ts | 1 + .../antd-mini/es/_util/assert-component2.js | 13 + .../node_modules/antd-mini/es/_util/base.d.ts | 38 + .../node_modules/antd-mini/es/_util/base.js | 1 + .../antd-mini/es/_util/compareVersion.d.ts | 1 + .../antd-mini/es/_util/compareVersion.js | 8 +- .../node_modules/antd-mini/es/_util/console.d.ts | 66 + .../node_modules/antd-mini/es/_util/console.js | 13 +- .../antd-mini/es/_util/dayjs/iso-weekday.d.ts | 5 + .../antd-mini/es/_util/dayjs/iso-weekday.js | 6 + .../node_modules/antd-mini/es/_util/event.sjs | 8 +- .../node_modules/antd-mini/es/_util/fmtEvent.d.ts | 1 + .../node_modules/antd-mini/es/_util/fmtEvent.js | 5 +- .../node_modules/antd-mini/es/_util/get.d.ts | 2 + .../node_modules/antd-mini/es/_util/get.js | 10 + .../antd-mini/es/_util/jsapi/base.d.ts | 6 + .../node_modules/antd-mini/es/_util/jsapi/base.js | 9 + .../antd-mini/es/_util/jsapi/choose-image.d.ts | 16 + .../antd-mini/es/_util/jsapi/choose-image.js | 20 + .../es/_util/jsapi/create-canvas-context.d.ts | 1 + .../es/_util/jsapi/create-canvas-context.js | 9 + .../jsapi/get-instance-bounding-client-rect.d.ts | 1 + .../jsapi/get-instance-bounding-client-rect.js | 16 + .../antd-mini/es/_util/jsapi/get-system-info.d.ts | 6 + .../antd-mini/es/_util/jsapi/get-system-info.js | 15 + .../antd-mini/es/_util/jsapi/load-font-face.d.ts | 5 + .../antd-mini/es/_util/jsapi/load-font-face.js | 17 + .../node_modules/antd-mini/es/_util/platform.d.ts | 5 + .../node_modules/antd-mini/es/_util/platform.js | 29 + .../antd-mini/es/_util/promisify.d.ts | 50 + .../node_modules/antd-mini/es/_util/promisify.js | 21 +- .../node_modules/antd-mini/es/_util/set.d.ts | 2 + .../node_modules/antd-mini/es/_util/set.js | 21 + .../node_modules/antd-mini/es/_util/simply.d.ts | 16 + .../node_modules/antd-mini/es/_util/simply.js | 85 + .../antd-mini/es/mixins/computed.d.ts | 4 + .../node_modules/antd-mini/es/mixins/computed.js | 29 +- .../node_modules/antd-mini/es/mixins/value.d.ts | 22 + .../node_modules/antd-mini/es/mixins/value.js | 56 +- .../antd-mini/less/ActionSheet/index.axml | 74 +- .../antd-mini/less/ActionSheet/index.d.ts | 1 + .../antd-mini/less/ActionSheet/index.js | 36 +- .../antd-mini/less/ActionSheet/index.json | 4 +- .../antd-mini/less/ActionSheet/index.sjs | 8 +- .../antd-mini/less/ActionSheet/props.d.ts | 78 +- .../antd-mini/less/ActionSheet/props.js | 18 +- .../antd-mini/less/ActionSheet/variable.less | 2 +- .../node_modules/antd-mini/less/Avatar/index.axml | 18 +- .../node_modules/antd-mini/less/Avatar/index.d.ts | 1 + .../node_modules/antd-mini/less/Avatar/index.js | 10 +- .../node_modules/antd-mini/less/Avatar/index.less | 2 +- .../node_modules/antd-mini/less/Avatar/index.sjs | 13 +- .../node_modules/antd-mini/less/Avatar/props.d.ts | 29 +- .../node_modules/antd-mini/less/Avatar/props.js | 13 +- .../antd-mini/less/Avatar/variable.less | 3 +- .../node_modules/antd-mini/less/Badge/index.axml | 78 +- .../node_modules/antd-mini/less/Badge/index.d.ts | 1 + .../node_modules/antd-mini/less/Badge/index.js | 24 +- .../node_modules/antd-mini/less/Badge/index.less | 3 +- .../node_modules/antd-mini/less/Badge/index.sjs | 41 +- .../node_modules/antd-mini/less/Badge/props.d.ts | 82 +- .../node_modules/antd-mini/less/Badge/props.js | 27 +- .../antd-mini/less/Badge/variable.less | 2 +- .../node_modules/antd-mini/less/Button/index.axml | 52 +- .../node_modules/antd-mini/less/Button/index.d.ts | 1 + .../node_modules/antd-mini/less/Button/index.js | 42 +- .../node_modules/antd-mini/less/Button/index.json | 2 +- .../node_modules/antd-mini/less/Button/index.less | 11 +- .../node_modules/antd-mini/less/Button/index.sjs | 16 +- .../node_modules/antd-mini/less/Button/props.d.ts | 151 +- .../node_modules/antd-mini/less/Button/props.js | 15 +- .../antd-mini/less/Button/variable.less | 2 +- .../antd-mini/less/Calendar/helper.sjs | 84 + .../antd-mini/less/Calendar/index.axml | 167 +- .../antd-mini/less/Calendar/index.d.ts | 1 + .../node_modules/antd-mini/less/Calendar/index.js | 342 +- .../antd-mini/less/Calendar/index.json | 8 +- .../antd-mini/less/Calendar/index.less | 341 +- .../antd-mini/less/Calendar/props.d.ts | 256 +- .../node_modules/antd-mini/less/Calendar/props.js | 44 +- .../antd-mini/less/Calendar/scroll.sjs | 45 + .../antd-mini/less/Calendar/utils.d.ts | 14 + .../node_modules/antd-mini/less/Calendar/utils.js | 157 + .../antd-mini/less/Calendar/variable.less | 23 + .../less/Checkbox/CheckboxGroup/index.axml | 85 +- .../less/Checkbox/CheckboxGroup/index.d.ts | 1 + .../less/Checkbox/CheckboxGroup/index.js | 76 +- .../less/Checkbox/CheckboxGroup/index.json | 2 +- .../less/Checkbox/CheckboxGroup/props.d.ts | 23 +- .../less/Checkbox/CheckboxGroup/props.js | 18 +- .../antd-mini/less/Checkbox/index.axml | 29 +- .../antd-mini/less/Checkbox/index.d.ts | 1 + .../node_modules/antd-mini/less/Checkbox/index.js | 41 +- .../antd-mini/less/Checkbox/index.json | 2 +- .../antd-mini/less/Checkbox/index.less | 1 + .../antd-mini/less/Checkbox/index.sjs | 7 +- .../antd-mini/less/Checkbox/props.d.ts | 13 +- .../node_modules/antd-mini/less/Checkbox/props.js | 15 +- .../antd-mini/less/Checkbox/variable.less | 1 - .../less/Checklist/ChecklistItem/index.axml | 24 +- .../less/Checklist/ChecklistItem/index.d.ts | 1 + .../less/Checklist/ChecklistItem/index.js | 16 +- .../less/Checklist/ChecklistItem/props.d.ts | 19 +- .../less/Checklist/ChecklistItem/props.js | 12 +- .../antd-mini/less/Checklist/index.axml | 75 +- .../antd-mini/less/Checklist/index.d.ts | 1 + .../antd-mini/less/Checklist/index.js | 90 +- .../antd-mini/less/Checklist/index.json | 4 +- .../antd-mini/less/Checklist/index.less | 2 +- .../antd-mini/less/Checklist/index.sjs | 5 +- .../antd-mini/less/Checklist/props.d.ts | 91 +- .../antd-mini/less/Checklist/props.js | 15 +- .../antd-mini/less/Checklist/variable.less | 2 +- .../antd-mini/less/Collapse/index.axml | 111 +- .../antd-mini/less/Collapse/index.d.ts | 1 + .../node_modules/antd-mini/less/Collapse/index.js | 311 +- .../antd-mini/less/Collapse/index.json | 2 +- .../antd-mini/less/Collapse/index.less | 18 +- .../antd-mini/less/Collapse/index.sjs | 12 +- .../antd-mini/less/Collapse/props.d.ts | 66 +- .../node_modules/antd-mini/less/Collapse/props.js | 14 +- .../antd-mini/less/Collapse/variable.less | 2 +- .../antd-mini/less/Container/index.axml | 23 +- .../antd-mini/less/Container/index.d.ts | 1 + .../antd-mini/less/Container/index.js | 12 +- .../antd-mini/less/Container/index.json | 5 +- .../antd-mini/less/Container/index.less | 53 +- .../antd-mini/less/Container/props.d.ts | 40 +- .../antd-mini/less/Container/props.js | 11 +- .../antd-mini/less/Container/variable.less | 2 +- .../less/DatePicker/RangePicker/index.axml | 118 +- .../less/DatePicker/RangePicker/index.d.ts | 1 + .../less/DatePicker/RangePicker/index.js | 587 +- .../less/DatePicker/RangePicker/index.json | 2 +- .../less/DatePicker/RangePicker/index.less | 12 +- .../less/DatePicker/RangePicker/props.d.ts | 239 +- .../less/DatePicker/RangePicker/props.js | 41 +- .../antd-mini/less/DatePicker/index.axml | 34 +- .../antd-mini/less/DatePicker/index.d.ts | 1 + .../antd-mini/less/DatePicker/index.js | 411 +- .../antd-mini/less/DatePicker/index.json | 2 +- .../antd-mini/less/DatePicker/props.d.ts | 213 +- .../antd-mini/less/DatePicker/props.js | 35 +- .../antd-mini/less/DatePicker/util.d.ts | 34 + .../antd-mini/less/DatePicker/util.js | 68 +- .../antd-mini/less/Divider/index.axml | 64 +- .../antd-mini/less/Divider/index.d.ts | 1 + .../node_modules/antd-mini/less/Divider/index.js | 10 +- .../antd-mini/less/Divider/index.less | 4 +- .../node_modules/antd-mini/less/Divider/index.sjs | 10 +- .../antd-mini/less/Divider/props.d.ts | 59 +- .../node_modules/antd-mini/less/Divider/props.js | 25 +- .../antd-mini/less/Divider/variable.less | 2 +- .../node_modules/antd-mini/less/Empty/index.axml | 22 +- .../node_modules/antd-mini/less/Empty/index.d.ts | 1 + .../node_modules/antd-mini/less/Empty/index.js | 9 +- .../node_modules/antd-mini/less/Empty/index.json | 4 +- .../node_modules/antd-mini/less/Empty/index.less | 5 +- .../node_modules/antd-mini/less/Empty/props.d.ts | 27 +- .../node_modules/antd-mini/less/Empty/props.js | 14 +- .../antd-mini/less/Empty/variable.less | 2 +- .../less/Form/FormCascaderPicker/index.axml | 70 +- .../less/Form/FormCascaderPicker/index.d.ts | 1 + .../less/Form/FormCascaderPicker/index.js | 69 +- .../less/Form/FormCascaderPicker/index.json | 4 +- .../less/Form/FormCascaderPicker/props.d.ts | 12 +- .../less/Form/FormCascaderPicker/props.js | 12 +- .../less/Form/FormCheckboxGroup/index.axml | 50 +- .../less/Form/FormCheckboxGroup/index.d.ts | 1 + .../less/Form/FormCheckboxGroup/index.js | 25 +- .../less/Form/FormCheckboxGroup/props.d.ts | 8 +- .../less/Form/FormCheckboxGroup/props.js | 16 +- .../antd-mini/less/Form/FormDatePicker/index.axml | 71 +- .../antd-mini/less/Form/FormDatePicker/index.d.ts | 1 + .../antd-mini/less/Form/FormDatePicker/index.js | 67 +- .../antd-mini/less/Form/FormDatePicker/index.json | 4 +- .../antd-mini/less/Form/FormDatePicker/props.d.ts | 12 +- .../antd-mini/less/Form/FormDatePicker/props.js | 12 +- .../less/Form/FormImageUpload/index.axml | 41 +- .../less/Form/FormImageUpload/index.d.ts | 1 + .../antd-mini/less/Form/FormImageUpload/index.js | 88 +- .../less/Form/FormImageUpload/props.d.ts | 3 - .../antd-mini/less/Form/FormImageUpload/props.js | 14 +- .../antd-mini/less/Form/FormInput/index.axml | 48 +- .../antd-mini/less/Form/FormInput/index.d.ts | 1 + .../antd-mini/less/Form/FormInput/index.js | 77 +- .../antd-mini/less/Form/FormInput/index.json | 4 +- .../antd-mini/less/Form/FormInput/props.d.ts | 9 +- .../antd-mini/less/Form/FormInput/props.js | 14 +- .../antd-mini/less/Form/FormItem/index.axml | 57 +- .../antd-mini/less/Form/FormItem/index.d.ts | 1 + .../antd-mini/less/Form/FormItem/index.js | 19 +- .../antd-mini/less/Form/FormItem/index.json | 4 +- .../antd-mini/less/Form/FormItem/index.less | 14 +- .../antd-mini/less/Form/FormItem/props.d.ts | 27 +- .../antd-mini/less/Form/FormItem/props.js | 26 +- .../antd-mini/less/Form/FormPicker/index.axml | 68 +- .../antd-mini/less/Form/FormPicker/index.d.ts | 1 + .../antd-mini/less/Form/FormPicker/index.js | 61 +- .../antd-mini/less/Form/FormPicker/index.json | 4 +- .../antd-mini/less/Form/FormPicker/props.d.ts | 12 +- .../antd-mini/less/Form/FormPicker/props.js | 12 +- .../antd-mini/less/Form/FormRadioGroup/index.axml | 52 +- .../antd-mini/less/Form/FormRadioGroup/index.d.ts | 1 + .../antd-mini/less/Form/FormRadioGroup/index.js | 25 +- .../antd-mini/less/Form/FormRadioGroup/index.json | 2 +- .../antd-mini/less/Form/FormRadioGroup/props.d.ts | 4 +- .../antd-mini/less/Form/FormRadioGroup/props.js | 16 +- .../less/Form/FormRangePicker/index.axml | 69 +- .../less/Form/FormRangePicker/index.d.ts | 1 + .../antd-mini/less/Form/FormRangePicker/index.js | 67 +- .../less/Form/FormRangePicker/index.json | 4 +- .../less/Form/FormRangePicker/props.d.ts | 14 +- .../antd-mini/less/Form/FormRangePicker/props.js | 12 +- .../antd-mini/less/Form/FormRate/index.axml | 34 +- .../antd-mini/less/Form/FormRate/index.d.ts | 1 + .../antd-mini/less/Form/FormRate/index.js | 27 +- .../antd-mini/less/Form/FormRate/props.d.ts | 5 +- .../antd-mini/less/Form/FormRate/props.js | 14 +- .../antd-mini/less/Form/FormSelector/index.axml | 33 +- .../antd-mini/less/Form/FormSelector/index.d.ts | 1 + .../antd-mini/less/Form/FormSelector/index.js | 42 +- .../antd-mini/less/Form/FormSelector/props.d.ts | 5 +- .../antd-mini/less/Form/FormSelector/props.js | 12 +- .../antd-mini/less/Form/FormSlider/index.axml | 32 +- .../antd-mini/less/Form/FormSlider/index.d.ts | 1 + .../antd-mini/less/Form/FormSlider/index.js | 36 +- .../antd-mini/less/Form/FormSlider/props.d.ts | 7 +- .../antd-mini/less/Form/FormSlider/props.js | 14 +- .../antd-mini/less/Form/FormStepper/index.axml | 38 +- .../antd-mini/less/Form/FormStepper/index.d.ts | 1 + .../antd-mini/less/Form/FormStepper/index.js | 51 +- .../antd-mini/less/Form/FormStepper/props.d.ts | 7 +- .../antd-mini/less/Form/FormStepper/props.js | 14 +- .../antd-mini/less/Form/FormSwitch/index.axml | 29 +- .../antd-mini/less/Form/FormSwitch/index.d.ts | 1 + .../antd-mini/less/Form/FormSwitch/index.js | 27 +- .../antd-mini/less/Form/FormSwitch/props.d.ts | 5 +- .../antd-mini/less/Form/FormSwitch/props.js | 14 +- .../antd-mini/less/Form/FormTextarea/index.axml | 34 +- .../antd-mini/less/Form/FormTextarea/index.d.ts | 1 + .../antd-mini/less/Form/FormTextarea/index.js | 83 +- .../antd-mini/less/Form/FormTextarea/index.json | 4 +- .../antd-mini/less/Form/FormTextarea/props.d.ts | 5 +- .../antd-mini/less/Form/FormTextarea/props.js | 14 +- .../node_modules/antd-mini/less/Form/form.d.ts | 186 + .../node_modules/antd-mini/less/Form/form.js | 292 +- .../node_modules/antd-mini/less/Grid/index.axml | 141 +- .../node_modules/antd-mini/less/Grid/index.d.ts | 1 + .../node_modules/antd-mini/less/Grid/index.js | 30 +- .../node_modules/antd-mini/less/Grid/index.json | 4 +- .../node_modules/antd-mini/less/Grid/index.less | 83 + .../node_modules/antd-mini/less/Grid/index.sjs | 6 +- .../node_modules/antd-mini/less/Grid/props.d.ts | 130 +- .../node_modules/antd-mini/less/Grid/props.js | 30 +- .../antd-mini/less/Grid/variable.less | 1 + .../antd-mini/less/GuideTour/index.axml | 162 +- .../antd-mini/less/GuideTour/index.d.ts | 1 + .../antd-mini/less/GuideTour/index.js | 123 +- .../antd-mini/less/GuideTour/index.json | 6 +- .../antd-mini/less/GuideTour/index.less | 1 + .../antd-mini/less/GuideTour/index.sjs | 10 +- .../antd-mini/less/GuideTour/props.d.ts | 139 +- .../antd-mini/less/GuideTour/props.js | 24 +- .../node_modules/antd-mini/less/Icon/index.axml | 2 +- .../node_modules/antd-mini/less/Icon/index.d.ts | 1 + .../node_modules/antd-mini/less/Icon/index.js | 16 +- .../node_modules/antd-mini/less/Icon/index.less | 320 +- .../node_modules/antd-mini/less/Icon/props.d.ts | 36 +- .../node_modules/antd-mini/less/Icon/props.js | 11 +- .../antd-mini/less/Icon/variable.less | 2 +- .../antd-mini/less/ImageIcon/index.axml | 34 +- .../antd-mini/less/ImageIcon/index.d.ts | 1 + .../antd-mini/less/ImageIcon/index.js | 8 +- .../antd-mini/less/ImageIcon/index.sjs | 162 +- .../antd-mini/less/ImageIcon/props.d.ts | 5 + .../antd-mini/less/ImageIcon/props.js | 3 + .../antd-mini/less/ImageUpload/index.axml | 103 +- .../antd-mini/less/ImageUpload/index.d.ts | 1 + .../antd-mini/less/ImageUpload/index.js | 419 +- .../antd-mini/less/ImageUpload/index.less | 10 +- .../antd-mini/less/ImageUpload/props.d.ts | 153 +- .../antd-mini/less/ImageUpload/props.js | 22 +- .../antd-mini/less/ImageUpload/variable.less | 8 +- .../antd-mini/less/IndexBar/index.axml | 57 +- .../antd-mini/less/IndexBar/index.d.ts | 1 + .../node_modules/antd-mini/less/IndexBar/index.js | 75 +- .../antd-mini/less/IndexBar/index.less | 2 +- .../antd-mini/less/IndexBar/props.d.ts | 68 +- .../node_modules/antd-mini/less/IndexBar/props.js | 26 +- .../antd-mini/less/Input/InputBlur/index.axml | 33 +- .../antd-mini/less/Input/InputBlur/index.d.ts | 1 + .../antd-mini/less/Input/InputBlur/index.js | 95 +- .../antd-mini/less/Input/InputBlur/props.d.ts | 57 +- .../antd-mini/less/Input/InputBlur/props.js | 31 +- .../antd-mini/less/Input/Textarea/index.axml | 50 +- .../antd-mini/less/Input/Textarea/index.d.ts | 1 + .../antd-mini/less/Input/Textarea/index.js | 92 +- .../antd-mini/less/Input/Textarea/index.less | 5 +- .../antd-mini/less/Input/Textarea/props.d.ts | 48 +- .../antd-mini/less/Input/Textarea/props.js | 28 +- .../node_modules/antd-mini/less/Input/index.axml | 61 +- .../node_modules/antd-mini/less/Input/index.d.ts | 1 + .../node_modules/antd-mini/less/Input/index.js | 92 +- .../node_modules/antd-mini/less/Input/index.less | 8 +- .../node_modules/antd-mini/less/Input/props.d.ts | 73 +- .../node_modules/antd-mini/less/Input/props.js | 36 +- .../antd-mini/less/List/ListItem/index.axml | 48 +- .../antd-mini/less/List/ListItem/index.d.ts | 1 + .../antd-mini/less/List/ListItem/index.js | 48 +- .../antd-mini/less/List/ListItem/props.d.ts | 90 +- .../antd-mini/less/List/ListItem/props.js | 14 +- .../node_modules/antd-mini/less/List/index.axml | 50 +- .../node_modules/antd-mini/less/List/index.d.ts | 1 + .../node_modules/antd-mini/less/List/index.js | 10 +- .../node_modules/antd-mini/less/List/index.less | 2 +- .../node_modules/antd-mini/less/List/props.d.ts | 32 +- .../node_modules/antd-mini/less/List/props.js | 11 +- .../antd-mini/less/List/variable.less | 2 +- .../antd-mini/less/Loading/index.axml | 55 +- .../antd-mini/less/Loading/index.d.ts | 1 + .../node_modules/antd-mini/less/Loading/index.js | 9 +- .../antd-mini/less/Loading/index.less | 2 +- .../node_modules/antd-mini/less/Loading/index.sjs | 16 +- .../antd-mini/less/Loading/props.d.ts | 29 +- .../node_modules/antd-mini/less/Loading/props.js | 15 +- .../antd-mini/less/Loading/variable.less | 3 +- .../node_modules/antd-mini/less/Mask/index.axml | 6 +- .../node_modules/antd-mini/less/Mask/index.d.ts | 1 + .../node_modules/antd-mini/less/Mask/index.js | 24 +- .../node_modules/antd-mini/less/Mask/index.less | 2 +- .../node_modules/antd-mini/less/Mask/props.d.ts | 9 +- .../node_modules/antd-mini/less/Mask/props.js | 13 +- .../node_modules/antd-mini/less/Modal/index.axml | 127 +- .../node_modules/antd-mini/less/Modal/index.d.ts | 1 + .../node_modules/antd-mini/less/Modal/index.js | 57 +- .../node_modules/antd-mini/less/Modal/index.json | 7 +- .../node_modules/antd-mini/less/Modal/index.sjs | 20 +- .../node_modules/antd-mini/less/Modal/props.d.ts | 190 +- .../node_modules/antd-mini/less/Modal/props.js | 43 +- .../antd-mini/less/Modal/variable.less | 2 +- .../antd-mini/less/NoticeBar/index.axml | 47 +- .../antd-mini/less/NoticeBar/index.d.ts | 1 + .../antd-mini/less/NoticeBar/index.js | 246 +- .../antd-mini/less/NoticeBar/props.d.ts | 104 +- .../antd-mini/less/NoticeBar/props.js | 20 +- .../antd-mini/less/NoticeBar/variable.less | 2 +- .../antd-mini/less/NumberKeyboard/index.axml | 149 +- .../antd-mini/less/NumberKeyboard/index.d.ts | 1 + .../antd-mini/less/NumberKeyboard/index.js | 124 +- .../antd-mini/less/NumberKeyboard/index.json | 2 +- .../antd-mini/less/NumberKeyboard/index.less | 4 +- .../antd-mini/less/NumberKeyboard/props.d.ts | 123 +- .../antd-mini/less/NumberKeyboard/props.js | 45 +- .../antd-mini/less/PageContainer/index.axml | 55 + .../antd-mini/less/PageContainer/index.d.ts | 1 + .../antd-mini/less/PageContainer/index.js | 31 + .../antd-mini/less/PageContainer/index.json | 8 + .../antd-mini/less/PageContainer/index.less | 42 + .../antd-mini/less/PageContainer/index.sjs | 0 .../antd-mini/less/PageContainer/props.d.ts | 77 + .../antd-mini/less/PageContainer/props.js | 29 + .../antd-mini/less/PageContainer/variable.less | 1 + .../antd-mini/less/Pagination/index.axml | 35 +- .../antd-mini/less/Pagination/index.d.ts | 1 + .../antd-mini/less/Pagination/index.js | 99 +- .../antd-mini/less/Pagination/index.less | 80 +- .../antd-mini/less/Pagination/index.sjs | 18 +- .../antd-mini/less/Pagination/props.d.ts | 25 +- .../antd-mini/less/Pagination/props.js | 12 +- .../less/Picker/CascaderPicker/index.axml | 69 +- .../less/Picker/CascaderPicker/index.d.ts | 1 + .../antd-mini/less/Picker/CascaderPicker/index.js | 370 +- .../less/Picker/CascaderPicker/index.json | 2 +- .../less/Picker/CascaderPicker/props.d.ts | 177 +- .../antd-mini/less/Picker/CascaderPicker/props.js | 29 +- .../less/Picker/CascaderPicker/utils.d.ts | 3 + .../antd-mini/less/Picker/CascaderPicker/utils.js | 39 + .../node_modules/antd-mini/less/Picker/index.axml | 132 +- .../node_modules/antd-mini/less/Picker/index.d.ts | 1 + .../node_modules/antd-mini/less/Picker/index.js | 418 +- .../node_modules/antd-mini/less/Picker/index.json | 2 +- .../node_modules/antd-mini/less/Picker/index.less | 18 +- .../node_modules/antd-mini/less/Picker/index.sjs | 11 +- .../node_modules/antd-mini/less/Picker/props.d.ts | 188 +- .../node_modules/antd-mini/less/Picker/props.js | 33 +- .../node_modules/antd-mini/less/Picker/utils.d.ts | 12 + .../node_modules/antd-mini/less/Picker/utils.js | 22 +- .../antd-mini/less/Picker/variable.less | 3 + .../antd-mini/less/Popover/index.axml | 49 +- .../antd-mini/less/Popover/index.d.ts | 1 + .../node_modules/antd-mini/less/Popover/index.js | 188 +- .../antd-mini/less/Popover/index.less | 224 +- .../antd-mini/less/Popover/props.d.ts | 131 +- .../node_modules/antd-mini/less/Popover/props.js | 27 +- .../antd-mini/less/Popover/utils.d.ts | 22 + .../node_modules/antd-mini/less/Popover/utils.js | 179 + .../antd-mini/less/Popover/variable.less | 2 +- .../node_modules/antd-mini/less/Popup/index.axml | 29 +- .../node_modules/antd-mini/less/Popup/index.d.ts | 1 + .../node_modules/antd-mini/less/Popup/index.js | 101 +- .../node_modules/antd-mini/less/Popup/index.less | 270 +- .../node_modules/antd-mini/less/Popup/index.sjs | 17 +- .../node_modules/antd-mini/less/Popup/props.d.ts | 112 +- .../node_modules/antd-mini/less/Popup/props.js | 33 +- .../antd-mini/less/Popup/variable.less | 2 +- .../antd-mini/less/Progress/index.axml | 52 +- .../antd-mini/less/Progress/index.d.ts | 1 + .../node_modules/antd-mini/less/Progress/index.js | 281 +- .../antd-mini/less/Progress/index.json | 2 +- .../antd-mini/less/Progress/props.d.ts | 79 +- .../node_modules/antd-mini/less/Progress/props.js | 23 +- .../antd-mini/less/Radio/RadioGroup/index.axml | 81 +- .../antd-mini/less/Radio/RadioGroup/index.d.ts | 1 + .../antd-mini/less/Radio/RadioGroup/index.js | 34 +- .../antd-mini/less/Radio/RadioGroup/index.less | 2 +- .../antd-mini/less/Radio/RadioGroup/props.d.ts | 26 +- .../antd-mini/less/Radio/RadioGroup/props.js | 18 +- .../node_modules/antd-mini/less/Radio/index.axml | 33 +- .../node_modules/antd-mini/less/Radio/index.d.ts | 1 + .../node_modules/antd-mini/less/Radio/index.js | 37 +- .../node_modules/antd-mini/less/Radio/index.json | 3 +- .../node_modules/antd-mini/less/Radio/index.less | 6 +- .../node_modules/antd-mini/less/Radio/index.sjs | 9 +- .../node_modules/antd-mini/less/Radio/props.d.ts | 19 +- .../node_modules/antd-mini/less/Radio/props.js | 15 +- .../antd-mini/less/Radio/variable.less | 1 - .../less/RareWordsKeyboard/constants.d.ts | 5 + .../antd-mini/less/RareWordsKeyboard/constants.js | 40 + .../antd-mini/less/RareWordsKeyboard/index.axml | 153 + .../antd-mini/less/RareWordsKeyboard/index.d.ts | 1 + .../antd-mini/less/RareWordsKeyboard/index.js | 136 + .../antd-mini/less/RareWordsKeyboard/index.json | 9 + .../antd-mini/less/RareWordsKeyboard/index.less | 341 + .../antd-mini/less/RareWordsKeyboard/props.d.ts | 76 + .../antd-mini/less/RareWordsKeyboard/props.js | 12 + .../antd-mini/less/RareWordsKeyboard/utils.d.ts | 51 + .../antd-mini/less/RareWordsKeyboard/utils.js | 259 + .../antd-mini/less/RareWordsKeyboard/zdatas.d.ts | 27 + .../antd-mini/less/RareWordsKeyboard/zdatas.js | 5 + .../node_modules/antd-mini/less/Rate/index.axml | 51 +- .../node_modules/antd-mini/less/Rate/index.d.ts | 1 + .../node_modules/antd-mini/less/Rate/index.js | 267 +- .../node_modules/antd-mini/less/Rate/index.json | 6 +- .../node_modules/antd-mini/less/Rate/index.less | 10 +- .../node_modules/antd-mini/less/Rate/props.d.ts | 93 +- .../node_modules/antd-mini/less/Rate/props.js | 21 +- .../antd-mini/less/Rate/variable.less | 2 +- .../node_modules/antd-mini/less/Result/index.axml | 43 +- .../node_modules/antd-mini/less/Result/index.d.ts | 1 + .../node_modules/antd-mini/less/Result/index.js | 11 +- .../node_modules/antd-mini/less/Result/index.less | 10 +- .../node_modules/antd-mini/less/Result/index.sjs | 14 +- .../node_modules/antd-mini/less/Result/props.d.ts | 39 +- .../node_modules/antd-mini/less/Result/props.js | 11 +- .../antd-mini/less/Result/variable.less | 2 +- .../antd-mini/less/Selector/index.axml | 59 +- .../antd-mini/less/Selector/index.d.ts | 1 + .../node_modules/antd-mini/less/Selector/index.js | 134 +- .../antd-mini/less/Selector/index.less | 5 +- .../antd-mini/less/Selector/index.sjs | 6 +- .../antd-mini/less/Selector/props.d.ts | 130 +- .../node_modules/antd-mini/less/Selector/props.js | 20 +- .../antd-mini/less/Selector/variable.less | 2 +- .../antd-mini/less/Skeleton/Avatar/index.axml | 16 +- .../antd-mini/less/Skeleton/Avatar/index.d.ts | 1 + .../antd-mini/less/Skeleton/Avatar/index.js | 12 +- .../antd-mini/less/Skeleton/Avatar/index.less | 1 - .../antd-mini/less/Skeleton/Avatar/index.sjs | 11 +- .../antd-mini/less/Skeleton/Avatar/props.d.ts | 6 + .../antd-mini/less/Skeleton/Avatar/props.js | 3 + .../antd-mini/less/Skeleton/Button/index.axml | 16 +- .../antd-mini/less/Skeleton/Button/index.d.ts | 1 + .../antd-mini/less/Skeleton/Button/index.js | 11 +- .../antd-mini/less/Skeleton/Button/index.sjs | 11 +- .../antd-mini/less/Skeleton/Button/props.d.ts | 5 + .../antd-mini/less/Skeleton/Button/props.js | 3 + .../antd-mini/less/Skeleton/Input/index.axml | 10 +- .../antd-mini/less/Skeleton/Input/index.d.ts | 1 + .../antd-mini/less/Skeleton/Input/index.js | 11 +- .../antd-mini/less/Skeleton/Input/props.d.ts | 4 + .../antd-mini/less/Skeleton/Input/props.js | 3 + .../antd-mini/less/Skeleton/Paragraph/index.axml | 16 +- .../antd-mini/less/Skeleton/Paragraph/index.d.ts | 1 + .../antd-mini/less/Skeleton/Paragraph/index.js | 12 +- .../antd-mini/less/Skeleton/Paragraph/index.less | 2 +- .../antd-mini/less/Skeleton/Paragraph/props.d.ts | 5 + .../antd-mini/less/Skeleton/Paragraph/props.js | 3 + .../antd-mini/less/Skeleton/Title/index.axml | 10 +- .../antd-mini/less/Skeleton/Title/index.d.ts | 1 + .../antd-mini/less/Skeleton/Title/index.js | 11 +- .../antd-mini/less/Skeleton/Title/props.d.ts | 4 + .../antd-mini/less/Skeleton/Title/props.js | 3 + .../antd-mini/less/Skeleton/index.axml | 37 +- .../antd-mini/less/Skeleton/index.d.ts | 1 + .../node_modules/antd-mini/less/Skeleton/index.js | 10 +- .../antd-mini/less/Skeleton/props.d.ts | 77 +- .../node_modules/antd-mini/less/Skeleton/props.js | 23 +- .../node_modules/antd-mini/less/Slider/index.axml | 120 +- .../node_modules/antd-mini/less/Slider/index.d.ts | 1 + .../node_modules/antd-mini/less/Slider/index.js | 448 +- .../node_modules/antd-mini/less/Slider/index.less | 86 +- .../node_modules/antd-mini/less/Slider/index.sjs | 9 +- .../node_modules/antd-mini/less/Slider/props.d.ts | 144 +- .../node_modules/antd-mini/less/Slider/props.js | 26 +- .../antd-mini/less/Slider/variable.less | 2 +- .../antd-mini/less/Stepper/index.axml | 48 +- .../antd-mini/less/Stepper/index.d.ts | 1 + .../node_modules/antd-mini/less/Stepper/index.js | 183 +- .../antd-mini/less/Stepper/index.json | 5 +- .../antd-mini/less/Stepper/index.less | 23 +- .../antd-mini/less/Stepper/props.d.ts | 134 +- .../node_modules/antd-mini/less/Stepper/props.js | 23 +- .../antd-mini/less/Stepper/utils.d.ts | 8 + .../node_modules/antd-mini/less/Stepper/utils.js | 110 +- .../antd-mini/less/Stepper/variable.less | 2 +- .../node_modules/antd-mini/less/Steps/index.axml | 75 +- .../node_modules/antd-mini/less/Steps/index.d.ts | 1 + .../node_modules/antd-mini/less/Steps/index.js | 9 +- .../node_modules/antd-mini/less/Steps/index.less | 40 +- .../node_modules/antd-mini/less/Steps/index.sjs | 7 +- .../node_modules/antd-mini/less/Steps/props.d.ts | 35 +- .../node_modules/antd-mini/less/Steps/props.js | 21 +- .../antd-mini/less/Steps/variable.less | 2 +- .../antd-mini/less/SwipeAction/index.axml | 133 +- .../antd-mini/less/SwipeAction/index.d.ts | 1 + .../antd-mini/less/SwipeAction/index.js | 334 +- .../antd-mini/less/SwipeAction/index.less | 102 +- .../antd-mini/less/SwipeAction/index.sjs | 162 +- .../antd-mini/less/SwipeAction/props.d.ts | 121 +- .../antd-mini/less/SwipeAction/props.js | 29 +- .../antd-mini/less/SwipeAction/wechat.d.ts | 2 + .../antd-mini/less/SwipeAction/wechat.js | 46 + .../node_modules/antd-mini/less/Switch/index.axml | 25 +- .../node_modules/antd-mini/less/Switch/index.d.ts | 1 + .../node_modules/antd-mini/less/Switch/index.js | 37 +- .../node_modules/antd-mini/less/Switch/index.json | 2 +- .../node_modules/antd-mini/less/Switch/index.less | 1 + .../node_modules/antd-mini/less/Switch/props.d.ts | 81 +- .../node_modules/antd-mini/less/Switch/props.js | 18 +- .../antd-mini/less/Switch/variable.less | 2 +- .../node_modules/antd-mini/less/TabBar/index.axml | 98 +- .../node_modules/antd-mini/less/TabBar/index.d.ts | 1 + .../node_modules/antd-mini/less/TabBar/index.js | 48 +- .../node_modules/antd-mini/less/TabBar/index.json | 2 +- .../node_modules/antd-mini/less/TabBar/props.d.ts | 97 +- .../node_modules/antd-mini/less/TabBar/props.js | 16 +- .../antd-mini/less/TabBar/variable.less | 1 - .../node_modules/antd-mini/less/Tabs/index.axml | 208 +- .../node_modules/antd-mini/less/Tabs/index.d.ts | 1 + .../node_modules/antd-mini/less/Tabs/index.js | 290 +- .../node_modules/antd-mini/less/Tabs/index.json | 5 +- .../node_modules/antd-mini/less/Tabs/index.less | 28 +- .../node_modules/antd-mini/less/Tabs/props.d.ts | 84 +- .../node_modules/antd-mini/less/Tabs/props.js | 21 +- .../node_modules/antd-mini/less/Tag/index.axml | 16 +- .../node_modules/antd-mini/less/Tag/index.d.ts | 1 + .../node_modules/antd-mini/less/Tag/index.js | 9 +- .../node_modules/antd-mini/less/Tag/index.json | 2 +- .../node_modules/antd-mini/less/Tag/index.less | 6 +- .../node_modules/antd-mini/less/Tag/props.d.ts | 33 +- .../node_modules/antd-mini/less/Tag/props.js | 13 +- .../node_modules/antd-mini/less/Toast/index.axml | 81 +- .../node_modules/antd-mini/less/Toast/index.d.ts | 1 + .../node_modules/antd-mini/less/Toast/index.js | 79 +- .../node_modules/antd-mini/less/Toast/index.less | 2 +- .../node_modules/antd-mini/less/Toast/props.d.ts | 91 +- .../node_modules/antd-mini/less/Toast/props.js | 24 +- .../antd-mini/less/Toast/variable.less | 2 +- .../antd-mini/less/Typography/index.axml | 57 + .../antd-mini/less/Typography/index.d.ts | 1 + .../antd-mini/less/Typography/index.js | 27 + .../antd-mini/less/Typography/index.json | 6 + .../antd-mini/less/Typography/index.less | 61 + .../antd-mini/less/Typography/index.sjs | 28 + .../antd-mini/less/Typography/props.d.ts | 17 + .../antd-mini/less/Typography/props.js | 14 + .../node_modules/antd-mini/less/_util/arrow.sjs | 12 +- .../antd-mini/less/_util/assert-component2.d.ts | 1 + .../antd-mini/less/_util/assert-component2.js | 13 + .../node_modules/antd-mini/less/_util/base.d.ts | 38 + .../node_modules/antd-mini/less/_util/base.js | 1 + .../antd-mini/less/_util/compareVersion.d.ts | 1 + .../antd-mini/less/_util/compareVersion.js | 8 +- .../antd-mini/less/_util/console.d.ts | 66 + .../node_modules/antd-mini/less/_util/console.js | 13 +- .../antd-mini/less/_util/dayjs/iso-weekday.d.ts | 5 + .../antd-mini/less/_util/dayjs/iso-weekday.js | 6 + .../node_modules/antd-mini/less/_util/event.sjs | 8 +- .../antd-mini/less/_util/fmtEvent.d.ts | 1 + .../node_modules/antd-mini/less/_util/fmtEvent.js | 5 +- .../node_modules/antd-mini/less/_util/get.d.ts | 2 + .../node_modules/antd-mini/less/_util/get.js | 10 + .../antd-mini/less/_util/jsapi/base.d.ts | 6 + .../antd-mini/less/_util/jsapi/base.js | 9 + .../antd-mini/less/_util/jsapi/choose-image.d.ts | 16 + .../antd-mini/less/_util/jsapi/choose-image.js | 20 + .../less/_util/jsapi/create-canvas-context.d.ts | 1 + .../less/_util/jsapi/create-canvas-context.js | 9 + .../jsapi/get-instance-bounding-client-rect.d.ts | 1 + .../jsapi/get-instance-bounding-client-rect.js | 16 + .../less/_util/jsapi/get-system-info.d.ts | 6 + .../antd-mini/less/_util/jsapi/get-system-info.js | 15 + .../less/_util/jsapi/load-font-face.d.ts | 5 + .../antd-mini/less/_util/jsapi/load-font-face.js | 17 + .../antd-mini/less/_util/platform.d.ts | 5 + .../node_modules/antd-mini/less/_util/platform.js | 29 + .../antd-mini/less/_util/promisify.d.ts | 50 + .../antd-mini/less/_util/promisify.js | 21 +- .../node_modules/antd-mini/less/_util/set.d.ts | 2 + .../node_modules/antd-mini/less/_util/set.js | 21 + .../node_modules/antd-mini/less/_util/simply.d.ts | 16 + .../node_modules/antd-mini/less/_util/simply.js | 85 + .../antd-mini/less/mixins/computed.d.ts | 4 + .../antd-mini/less/mixins/computed.js | 29 +- .../node_modules/antd-mini/less/mixins/value.d.ts | 22 + .../node_modules/antd-mini/less/mixins/value.js | 56 +- .../antd-mini/less/style/mixins/hairline.less | 18 +- .../antd-mini/less/style/themes/color.less | 194 +- .../antd-mini/less/style/themes/index.less | 57 +- .../node_modules/antd-mini/package.json | 82 +- .../miniprogram/node_modules/dayjs/.editorconfig | 1 + .../miniprogram/node_modules/dayjs/CHANGELOG.md | 70 + .../miniprogram/node_modules/dayjs/README.md | 56 +- .../miniprogram/node_modules/dayjs/dayjs.min.js | 2 +- .../miniprogram/node_modules/dayjs/esm/index.d.ts | 8 +- .../miniprogram/node_modules/dayjs/esm/index.js | 166 +- .../node_modules/dayjs/esm/locale/ar.js | 3 + .../node_modules/dayjs/esm/locale/bg.js | 2 +- .../node_modules/dayjs/esm/locale/da.js | 1 + .../node_modules/dayjs/esm/locale/fa.js | 8 +- .../node_modules/dayjs/esm/locale/ko.js | 2 +- .../node_modules/dayjs/esm/locale/sl.js | 126 +- .../node_modules/dayjs/esm/locale/uz-latn.js | 2 +- .../node_modules/dayjs/esm/locale/uz.js | 2 +- .../node_modules/dayjs/esm/locale/zh-hk.js | 23 +- .../dayjs/esm/plugin/customParseFormat/index.js | 23 +- .../dayjs/esm/plugin/duration/index.js | 23 +- .../dayjs/esm/plugin/isSameOrAfter/index.d.ts | 2 +- .../dayjs/esm/plugin/isSameOrBefore/index.d.ts | 2 +- .../dayjs/esm/plugin/isoWeek/index.d.ts | 6 +- .../dayjs/esm/plugin/minMax/index.d.ts | 19 +- .../node_modules/dayjs/esm/plugin/minMax/index.js | 5 +- .../dayjs/esm/plugin/negativeYear/index.d.ts | 4 + .../dayjs/esm/plugin/negativeYear/index.js | 36 + .../dayjs/esm/plugin/objectSupport/index.js | 2 +- .../dayjs/esm/plugin/quarterOfYear/index.d.ts | 6 +- .../dayjs/esm/plugin/timezone/index.d.ts | 2 +- .../dayjs/esm/plugin/timezone/index.js | 23 +- .../miniprogram/node_modules/dayjs/index.d.ts | 8 +- .../miniprogram/node_modules/dayjs/locale.json | 2 +- .../miniprogram/node_modules/dayjs/locale/ar.js | 2 +- .../miniprogram/node_modules/dayjs/locale/bg.js | 2 +- .../miniprogram/node_modules/dayjs/locale/da.js | 2 +- .../miniprogram/node_modules/dayjs/locale/fa.js | 2 +- .../miniprogram/node_modules/dayjs/locale/ko.js | 2 +- .../miniprogram/node_modules/dayjs/locale/sl.js | 2 +- .../node_modules/dayjs/locale/uz-latn.js | 2 +- .../miniprogram/node_modules/dayjs/locale/uz.js | 2 +- .../node_modules/dayjs/locale/zh-hk.js | 2 +- .../miniprogram/node_modules/dayjs/package.json | 17 +- .../dayjs/plugin/customParseFormat.js | 2 +- .../node_modules/dayjs/plugin/duration.js | 2 +- .../node_modules/dayjs/plugin/isSameOrAfter.d.ts | 2 +- .../node_modules/dayjs/plugin/isSameOrBefore.d.ts | 2 +- .../node_modules/dayjs/plugin/isoWeek.d.ts | 6 +- .../node_modules/dayjs/plugin/minMax.d.ts | 19 +- .../node_modules/dayjs/plugin/minMax.js | 2 +- .../node_modules/dayjs/plugin/negativeYear.d.ts | 4 + .../node_modules/dayjs/plugin/negativeYear.js | 1 + .../node_modules/dayjs/plugin/objectSupport.js | 2 +- .../node_modules/dayjs/plugin/quarterOfYear.d.ts | 6 +- .../node_modules/dayjs/plugin/timezone.d.ts | 2 +- .../node_modules/dayjs/plugin/timezone.js | 2 +- .../node_modules/tslib/modules/index.js | 8 + .../miniprogram/node_modules/tslib/package.json | 2 +- .../miniprogram/node_modules/tslib/tslib.d.ts | 32 + .../miniprogram/node_modules/tslib/tslib.es6.js | 47 +- .../miniprogram/node_modules/tslib/tslib.js | 55 +- 甲情_甲意/miniprogram/pages/denglu/denglu.js | 5 +- .../miniprogram/pages/gouwuche/gouwuche.acss | 261 +- .../miniprogram/pages/gouwuche/gouwuche.axml | 94 +- .../miniprogram/pages/gouwuche/gouwuche.js | 134 +- .../miniprogram/pages/gouwuche/gouwuche.json | 7 +- .../miniprogram/pages/image/meijishirenzheng.png | Bin 0 -> 5422 bytes 甲情_甲意/miniprogram/pages/index.js | 4 - .../miniprogram/pages/meijiashirenzheng/city.js | 1552 + .../meijiashirenzheng/meijiashirenzheng.acss | 87 + .../meijiashirenzheng/meijiashirenzheng.axml | 65 + .../pages/meijiashirenzheng/meijiashirenzheng.js | 71 + .../meijiashirenzheng/meijiashirenzheng.json | 10 + .../miniprogram/pages/shangjiaruzhu/city.js | 1552 + .../pages/shangjiaruzhu/shangjiaruzhu.acss | 5 + .../pages/shangjiaruzhu/shangjiaruzhu.axml | 14 +- .../pages/shangjiaruzhu/shangjiaruzhu.js | 5 +- .../pages/shangjiaruzhu/shangjiaruzhu.json | 2 + .../miniprogram/pages/shouye/shouye.json | 1 + 甲情_甲意/miniprogram/pages/test/test.acss | 88 + 甲情_甲意/miniprogram/pages/test/test.axml | 39 + 甲情_甲意/miniprogram/pages/test/test.js | 132 + 甲情_甲意/miniprogram/pages/test/test.json | 10 + 甲情_甲意/miniprogram/pages/wode/wode.axml | 6 + 甲情_甲意/miniprogram/pages/wode/wode.js | 21 +- .../pages/wodedingdan/wodedingdan.acss | 126 +- .../pages/wodedingdan/wodedingdan.axml | 289 +- .../miniprogram/pages/wodedingdan/wodedingdan.js | 119 +- .../pages/wodedingdan/wodedingdan.json | 7 +- 1721 files changed, 93209 insertions(+), 19577 deletions(-) create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/alipay/LICENSE create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/alipay/package.json create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/alipay/types/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/LICENSE create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/package.json create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.app.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.component.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.global.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.mixin.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.page.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.shared.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.sjs.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.worker.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/my/LICENSE create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/my/package.json create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/my/types/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/my/types/lib.my.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/@mini-types/my/types/lib.my.extra.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ActionSheet/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Avatar/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Badge/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Button/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/helper.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/scroll.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Calendar/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/CheckboxGroup/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/CheckboxGroup/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/CheckboxGroup/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/CheckboxGroup/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checkbox/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/ChecklistItem/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/ChecklistItem/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/ChecklistItem/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/ChecklistItem/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/ChecklistItem/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Checklist/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Collapse/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Container/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/RangePicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/RangePicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/RangePicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/RangePicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/RangePicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/DatePicker/util.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Divider/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Empty/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCascaderPicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCascaderPicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCascaderPicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCascaderPicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCascaderPicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCheckboxGroup/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCheckboxGroup/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCheckboxGroup/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormCheckboxGroup/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormDatePicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormDatePicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormDatePicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormDatePicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormDatePicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormImageUpload/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormImageUpload/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormImageUpload/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormImageUpload/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormImageUpload/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormInput/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormItem/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormItem/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormItem/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormItem/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormItem/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormPicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormPicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormPicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormPicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormPicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRadioGroup/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRadioGroup/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRadioGroup/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRadioGroup/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRangePicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRangePicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRangePicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRangePicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRangePicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRate/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRate/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRate/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRate/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormRate/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSelector/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSelector/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSelector/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSelector/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSlider/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormStepper/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormSwitch/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormTextarea/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormTextarea/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormTextarea/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormTextarea/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/FormTextarea/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/form.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Form/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Grid/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/GuideTour/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Icon/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageIcon/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageIcon/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageIcon/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageIcon/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageIcon/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/ImageUpload/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/InputBlur/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/InputBlur/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/InputBlur/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/InputBlur/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/Textarea/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/Textarea/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/Textarea/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/Textarea/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/Textarea/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Input/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/ListItem/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/ListItem/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/ListItem/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/ListItem/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/ListItem/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/List/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Loading/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Mask/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Mask/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Mask/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Mask/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Mask/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Modal/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NoticeBar/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/NumberKeyboard/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Pagination/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/CascaderPicker/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Picker/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popover/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Popup/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Progress/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/RadioGroup/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/RadioGroup/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/RadioGroup/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/RadioGroup/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/RadioGroup/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Radio/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/constants.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/RareWordsKeyboard/zdatas.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Rate/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Result/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Selector/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Avatar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Button/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Input/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Input/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Input/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Input/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Input/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Paragraph/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Paragraph/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Paragraph/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Paragraph/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Paragraph/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Title/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Title/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Title/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Title/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/Title/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Skeleton/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Slider/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Stepper/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Steps/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/SwipeAction/wechat.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Switch/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/TabBar/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tabs/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Tag/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/index.md create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/index.wxml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/Toast/variable.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/arrow.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/assert-component2.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/compareVersion.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/console.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/dayjs/iso-weekday.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/event.wxs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/fmtEvent.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/get.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/choose-image.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/create-canvas-context.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/get-instance-bounding-client-rect.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/get-system-info.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/jsapi/load-font-face.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/platform.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/promisify.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/set.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/_util/simply.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/mixins/computed.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/mixins/value.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/style/mixins/hairline.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/style/themes/color.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/compiled/wechat/src/style/themes/index.wxss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/ActionSheet/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Avatar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Badge/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Button/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Calendar/helper.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Calendar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Calendar/scroll.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Calendar/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Calendar/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Checkbox/CheckboxGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Checkbox/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Checklist/ChecklistItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Checklist/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Collapse/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Container/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/DatePicker/RangePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/DatePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/DatePicker/util.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Divider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Empty/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormCascaderPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormCheckboxGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormDatePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormImageUpload/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormInput/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormRadioGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormRangePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormRate/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormSelector/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormSlider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormStepper/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormSwitch/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/FormTextarea/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Form/form.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Grid/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/GuideTour/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageIcon/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageIcon/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageIcon/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageUpload/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/IndexBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Input/InputBlur/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Input/Textarea/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Input/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/List/ListItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/List/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Loading/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Mask/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Modal/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/NoticeBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/NumberKeyboard/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.acss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/index.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/PageContainer/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Pagination/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Picker/CascaderPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Picker/CascaderPicker/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Picker/CascaderPicker/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Picker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Picker/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Popover/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Popover/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Popover/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Popup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Progress/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Radio/RadioGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Radio/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/constants.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/constants.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/index.acss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/zdatas.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/RareWordsKeyboard/zdatas.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Rate/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Result/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Selector/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Avatar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Avatar/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Avatar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Button/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Button/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Button/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Input/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Input/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Input/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Paragraph/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Paragraph/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Paragraph/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Title/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Title/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/Title/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Skeleton/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Slider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Stepper/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Stepper/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Steps/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/SwipeAction/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/SwipeAction/wechat.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/SwipeAction/wechat.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Switch/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/TabBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Tabs/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Tag/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Toast/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.acss create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/index.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/Typography/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/assert-component2.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/assert-component2.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/base.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/compareVersion.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/console.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/dayjs/iso-weekday.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/dayjs/iso-weekday.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/fmtEvent.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/get.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/get.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/base.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/choose-image.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/choose-image.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/create-canvas-context.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/create-canvas-context.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/get-instance-bounding-client-rect.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/get-instance-bounding-client-rect.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/get-system-info.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/get-system-info.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/load-font-face.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/jsapi/load-font-face.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/platform.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/platform.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/promisify.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/set.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/set.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/simply.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/_util/simply.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/mixins/computed.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/es/mixins/value.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/ActionSheet/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Avatar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Badge/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Button/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Calendar/helper.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Calendar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Calendar/scroll.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Calendar/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Calendar/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Checkbox/CheckboxGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Checkbox/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Checklist/ChecklistItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Checklist/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Collapse/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Container/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/DatePicker/RangePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/DatePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/DatePicker/util.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Divider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Empty/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormCascaderPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormCheckboxGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormDatePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormImageUpload/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormInput/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormRadioGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormRangePicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormRate/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormSelector/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormSlider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormStepper/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormSwitch/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/FormTextarea/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Form/form.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Grid/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/GuideTour/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Icon/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/ImageIcon/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/ImageIcon/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/ImageIcon/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/ImageUpload/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/IndexBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Input/InputBlur/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Input/Textarea/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Input/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/List/ListItem/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/List/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Loading/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Mask/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Modal/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/NoticeBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/NumberKeyboard/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.less create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/index.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/variable.less create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Pagination/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Picker/CascaderPicker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Picker/CascaderPicker/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Picker/CascaderPicker/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Picker/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Picker/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Popover/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Popover/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Popover/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Popup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Progress/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Radio/RadioGroup/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Radio/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/constants.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/constants.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/index.less create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/utils.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/zdatas.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/RareWordsKeyboard/zdatas.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Rate/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Result/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Selector/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Avatar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Avatar/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Avatar/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Button/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Button/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Button/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Input/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Input/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Input/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Paragraph/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Paragraph/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Paragraph/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Title/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Title/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/Title/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Skeleton/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Slider/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Stepper/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Stepper/utils.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Steps/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/SwipeAction/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/SwipeAction/wechat.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/SwipeAction/wechat.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Switch/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/TabBar/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Tabs/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Tag/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Toast/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.axml create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.json create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.less create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/index.sjs create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/props.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/Typography/props.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/assert-component2.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/assert-component2.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/base.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/compareVersion.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/console.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/dayjs/iso-weekday.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/dayjs/iso-weekday.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/fmtEvent.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/get.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/get.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/base.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/base.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/choose-image.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/choose-image.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/create-canvas-context.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/create-canvas-context.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/get-instance-bounding-client-rect.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/get-instance-bounding-client-rect.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/get-system-info.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/get-system-info.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/load-font-face.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/jsapi/load-font-face.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/platform.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/platform.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/promisify.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/set.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/set.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/simply.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/_util/simply.js create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/mixins/computed.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/antd-mini/less/mixins/value.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/dayjs/esm/plugin/negativeYear/index.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/dayjs/esm/plugin/negativeYear/index.js create mode 100644 甲情_甲意/miniprogram/node_modules/dayjs/plugin/negativeYear.d.ts create mode 100644 甲情_甲意/miniprogram/node_modules/dayjs/plugin/negativeYear.js create mode 100644 甲情_甲意/miniprogram/pages/image/meijishirenzheng.png create mode 100644 甲情_甲意/miniprogram/pages/meijiashirenzheng/city.js create mode 100644 甲情_甲意/miniprogram/pages/meijiashirenzheng/meijiashirenzheng.acss create mode 100644 甲情_甲意/miniprogram/pages/meijiashirenzheng/meijiashirenzheng.axml create mode 100644 甲情_甲意/miniprogram/pages/meijiashirenzheng/meijiashirenzheng.js create mode 100644 甲情_甲意/miniprogram/pages/meijiashirenzheng/meijiashirenzheng.json create mode 100644 甲情_甲意/miniprogram/pages/shangjiaruzhu/city.js create mode 100644 甲情_甲意/miniprogram/pages/test/test.acss create mode 100644 甲情_甲意/miniprogram/pages/test/test.axml create mode 100644 甲情_甲意/miniprogram/pages/test/test.js create mode 100644 甲情_甲意/miniprogram/pages/test/test.json diff --git a/甲情_甲意/.mini-ide/compileMode.json b/甲情_甲意/.mini-ide/compileMode.json index b540689..3e0c7d4 100644 --- a/甲情_甲意/.mini-ide/compileMode.json +++ b/甲情_甲意/.mini-ide/compileMode.json @@ -9,6 +9,31 @@ "title": "商品界面", "page": "pages/shangpinjiemian/shangpinjiemian", "launchMode": "common" + }, + { + "title": "购物车", + "page": "pages/gouwuche/gouwuche", + "launchMode": "common" + }, + { + "title": "pages/test/test", + "page": "pages/test/test", + "launchMode": "common" + }, + { + "title": "我的订单", + "page": "pages/wodedingdan/wodedingdan", + "launchMode": "common" + }, + { + "title": "甲情甲意", + "page": "pages/shouye/shouye", + "launchMode": "common" + }, + { + "title": "认证美甲师", + "page": "pages/meijiashirenzheng/meijiashirenzheng", + "launchMode": "common" } ] } \ No newline at end of file diff --git a/甲情_甲意/miniprogram/app.acss b/甲情_甲意/miniprogram/app.acss index e3dc875..e805934 100644 --- a/甲情_甲意/miniprogram/app.acss +++ b/甲情_甲意/miniprogram/app.acss @@ -1,4 +1,4 @@ -page { +/* page { background-color: #ffffff; box-sizing: border-box; position: relative; @@ -48,10 +48,7 @@ page { border-left: 1px solid #ddd; } -button { - margin-top:20rpx; - margin-bottom:20rpx; -} + .bc_blue { background-color: #49A9EE; @@ -94,4 +91,9 @@ button { height: 1px; background-color: #ddd; margin-left: 30rpx; -} +} */ +page{ + width: 100vw; /* 或者 750rpx */ + height: auto; + overflow: hidden; /* 防止溢出 */ +} \ No newline at end of file diff --git a/甲情_甲意/miniprogram/app.json b/甲情_甲意/miniprogram/app.json index 63e7443..0521818 100644 --- a/甲情_甲意/miniprogram/app.json +++ b/甲情_甲意/miniprogram/app.json @@ -1,5 +1,5 @@ { - "pages": [ + "pages": [ "pages/shouye/shouye", "pages/kehubiaodan/kehubiaodan", "pages/shangmenyuyue/shangmenyuyue", @@ -19,7 +19,6 @@ "pages/shangjiaqiangdan/shangjiaqiangdan", "pages/shangjiaqiangdanqueren/shangjiaqiangdanqueren", "pages/shangpinpingjia/shangpinpingjia", - "pages/meijiaxiangce/meijiaxiangce", "pages/fuwujindu/fuwujindu", "pages/denglu/denglu", "pages/zhifujiemian/zhifujiemian", @@ -32,8 +31,9 @@ "pages/gouwuche/gouwuche", "pages/gerenxinxi/gerenxinxi", "pages/dianpuzhuye/dianpuzhuye", - "pages/index" - + "pages/index", + "pages/test/test", + "pages/meijiashirenzheng/meijiashirenzheng" ], "window": { "defaultTitle": "甲情甲意", @@ -69,5 +69,6 @@ "activeIcon": "pages/image/我的.png" } ] - } + }, + "useDynamicPlugins": false } \ No newline at end of file diff --git a/甲情_甲意/miniprogram/node_modules/.package-lock.json b/甲情_甲意/miniprogram/node_modules/.package-lock.json index b231d05..b2b0fa1 100644 --- a/甲情_甲意/miniprogram/node_modules/.package-lock.json +++ b/甲情_甲意/miniprogram/node_modules/.package-lock.json @@ -1,56 +1,59 @@ { - "name": "miniprogram", + "name": "alipay-ykf-xj", "version": "1.0.0", - "lockfileVersion": 2, + "lockfileVersion": 3, "requires": true, "packages": { - "node_modules/@babel/runtime": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz", - "integrity": "sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==", + "node_modules/@mini-types/alipay": { + "version": "3.0.14", + "resolved": "https://registry.npmmirror.com/@mini-types/alipay/-/alipay-3.0.14.tgz", + "integrity": "sha512-FakzSsKvybtWlEIVTIRlr89kuQFn+XY86Ho9VUFFaKLplhW6Wx8FUxTDE7IzV7B9rT8DP/Icy637vUHlXPsw1g==", "dependencies": { - "regenerator-runtime": "^0.13.11" - }, - "engines": { - "node": ">=6.9.0" + "@mini-types/global": "3.0.14", + "@mini-types/my": "3.0.14" } }, + "node_modules/@mini-types/global": { + "version": "3.0.14", + "resolved": "https://registry.npmmirror.com/@mini-types/global/-/global-3.0.14.tgz", + "integrity": "sha512-St2ucFRfKRskposOqV/9iNJTKn1MbyqDypQiy/0DaVJjEm2MFi82RJjX9sBz1uWhQIqzu741PgTjGSy7L/Qj9g==" + }, + "node_modules/@mini-types/my": { + "version": "3.0.14", + "resolved": "https://registry.npmmirror.com/@mini-types/my/-/my-3.0.14.tgz", + "integrity": "sha512-aEgmM+rbEvEzTvqltCFRAg/h6KKs14M1y+FrOkz+hn2EyNpOVPesUzTjbRhSiFFsE3WdfBh54lHNYBahAmHq7w==" + }, "node_modules/antd-mini": { - "version": "1.0.0-beta.5", - "resolved": "https://registry.npmjs.org/antd-mini/-/antd-mini-1.0.0-beta.5.tgz", - "integrity": "sha512-xoM5Bqi8MUaY9qirVIFLeZEskcvxYaYeBrW0MvSbDPWx5SF0tVWocj1KHusHn5S+HmRGwhcaFWrOdEsSnjaEMw==", + "version": "2.36.8", + "resolved": "https://registry.npmmirror.com/antd-mini/-/antd-mini-2.36.8.tgz", + "integrity": "sha512-9eiCyeux4cMcRC9BeXzqE7p6Cua9YBMTaiU6nOiiuAzIDSI5NAoO9LIn0Vfo2N2UqhVgloBYyIWOE1M/iZLCCw==", "dependencies": { - "@babel/runtime": "^7.17.2", + "@mini-types/alipay": "^3.0.5", "async-validator": "^4.0.7", "dayjs": "^1.11.3", "fast-deep-equal": "3.1.3", - "tslib": "^2.3.1" + "tslib": "2.5.0" } }, "node_modules/async-validator": { "version": "4.2.5", - "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz", "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" }, "node_modules/dayjs": { - "version": "1.11.7", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz", - "integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" + "version": "1.11.13", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" - }, "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" + "version": "2.5.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } } diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/LICENSE b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/LICENSE new file mode 100644 index 0000000..5680a9b --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/LICENSE @@ -0,0 +1,21 @@ +MIT LICENSE + +Copyright (c) 2018-present Alipay.com, https://www.alipay.com/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/package.json b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/package.json new file mode 100644 index 0000000..fe9c8ed --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/package.json @@ -0,0 +1,30 @@ +{ + "name": "@mini-types/alipay", + "version": "3.0.14", + "description": "TypeScript declarations for Alipay's mini program.", + "scripts": {}, + "miniprogram": "./", + "repository": { + "type": "git", + "url": "git@github.com:ant-mini-program/api-typings.git" + }, + "keywords": [ + "tinyapp", + "miniprogram", + "types" + ], + "license": "MIT", + "types": "./types/index.d.ts", + "files": [ + "types" + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "dependencies": { + "@mini-types/global": "3.0.14", + "@mini-types/my": "3.0.14" + }, + "gitHead": "f923cf356c26bf6c80ca640951683ba777d968f8" +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/types/index.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/types/index.d.ts new file mode 100644 index 0000000..4a480a2 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/alipay/types/index.d.ts @@ -0,0 +1,4 @@ +/// +/// + +export * from '@mini-types/global/types/lib.global'; diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/LICENSE b/甲情_甲意/miniprogram/node_modules/@mini-types/global/LICENSE new file mode 100644 index 0000000..5680a9b --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/LICENSE @@ -0,0 +1,21 @@ +MIT LICENSE + +Copyright (c) 2018-present Alipay.com, https://www.alipay.com/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/package.json b/甲情_甲意/miniprogram/node_modules/@mini-types/global/package.json new file mode 100644 index 0000000..6af7c29 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/package.json @@ -0,0 +1,26 @@ +{ + "name": "@mini-types/global", + "version": "3.0.14", + "description": "TypeScript declarations for Alipay's mini program.", + "scripts": {}, + "miniprogram": "./", + "repository": { + "type": "git", + "url": "git@github.com:ant-mini-program/api-typings.git" + }, + "keywords": [ + "tinyapp", + "miniprogram", + "types" + ], + "license": "MIT", + "types": "./types/index.d.ts", + "files": [ + "types" + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "gitHead": "f923cf356c26bf6c80ca640951683ba777d968f8" +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/index.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/index.d.ts new file mode 100644 index 0000000..c2d5498 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/index.d.ts @@ -0,0 +1,68 @@ +/// +/// +/// +/// +/// +/// + +declare namespace MiniProgram { + type UnknownRecord = Record; + /** + * Get union key of two types + */ + type UnionKeys = keyof T | keyof U; + /** + * Get unique keys of left type. + */ + type UniqueLeftKeys = Exclude, keyof U>; + /** + * Extract left-only types. + */ + type UniqueLeft = { + [P in UniqueLeftKeys]: T[P]; + }; + + // 获取 mixins 数组的每一个元素的类型 + type TExtractValuesOfTuple = T[keyof T & number]; + + // 获取 methods、props、data 类型(主要就是这个三个) + + type TGetMixinMethods = T extends { methods?: infer M } ? M : never; + + type TGetMixinData = T extends { data?: infer D } ? D : never; + + type TGetMixinProps = T extends { props?: infer P } ? P : never; + + // 整合一下类型 + type UnionToIntersection = ( + T extends any ? (x: T) => any : never + ) extends (x: infer R) => any + ? R + : never; + + /** + * Recursively map a type and make all properties optional. + */ + type RecursivePartial = { + [P in keyof T]?: T[P] extends Array + ? Array> + : T[P] extends object + ? RecursivePartial + : T[P]; + }; + + /** + * Recursively map a type and make all properties optional & dynamic. + */ + type RecursivePartialAndDynamic = T extends object + ? { + [P in keyof T]?: T[P] extends Array + ? Array> + : T[P] extends Function + ? T[P] + : T[P] extends object + ? RecursivePartialAndDynamic + : T[P]; + } + : T; +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.app.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.app.d.ts new file mode 100644 index 0000000..7320087 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.app.d.ts @@ -0,0 +1,141 @@ +declare namespace MiniProgram.App { + interface ReferrerInfo { + /** + * 来源小程序 + */ + appId: string; + /** + * 来源插件,当处于插件运行模式时可见 + */ + sourceServiceId: string; + /** + * 来源小程序传过来的数据 + */ + extraData: Record; + } + + interface LaunchOptions< + Query extends Record = Record + > { + /** + * 当前小程序的 query,从启动参数的 query 字段解析而来 + */ + query: Query; + /** + * 启动小程序的 场景值 + * @see https://opendocs.alipay.com/mini/framework/scene + */ + scene: number; + /** + * 当前小程序的页面地址,从启动参数 page 字段解析而来,page 忽略时默认为首页 + */ + path: string; + /** + * 来源信息 + */ + referrerInfo: ReferrerInfo; + } + + interface UnhandledRejectionRes { + /** + * reject 的原因 + */ + reason: string; + /** + * 被 reject 的 Promise 对象 + */ + promise: Promise; + } + + /** + * app.js App(options) 中 options 的内部类型 + * ref: https://opendocs.alipay.com/mini/framework/app-detail + */ + interface Options { + /** + * 生命周期回调:监听小程序初始化 + * 当小程序初始化完成时触发,全局只触发一次 + */ + onLaunch(options: LaunchOptions): void; + /** + * 生命周期回调:监听小程序显示 + * 当小程序启动,或从后台进入前台显示时触发 + */ + onShow(options: LaunchOptions): void; + /** + * 生命周期回调:监听小程序隐藏 + * 当当前页面被隐藏时触发,例如跳转、按下设备 Home 键离开 + */ + onHide(): void; + /** + * 监听小程序错误 + * 当小程序发生 js 错误时触发 + */ + onError(error: string): void; + /** + * 全局分享配置 + */ + onShareAppMessage(): Page.IShareAppMessage; + /** + * 监听 unhandledrejection 事件 + * 当 Promise 被 reject 且没有 reject 处理器时,会触发 onUnhandledRejection 事件 + */ + onUnhandledRejection(res: UnhandledRejectionRes): void; + /** + * 全局数据 + */ + globalData: object; + } + + /** + * Additional properties in App instance, for module augmentation + */ + interface IInstanceAdditionalProperties {} + + /** + * App 的类型 + */ + interface IApp { + (opts: UserAppOptions): any; + } + + type IAppInstance = Omit< + ExtraOptions, + keyof Options + > & + ExtraThis & + IInstanceAdditionalProperties; + + /** + * 用户可配置的 App Options + */ + type UserAppOptions = Partial< + Options + > & + Partial< + UniqueLeft, Options> + > & { + [P in keyof ExtraOptions]: P extends keyof Options + ? unknown + : ExtraOptions[P]; + } & ThisType>; + + interface Constructor { + = {}>( + opts: UserAppOptions< + ExtraThis & IGlobalMiniProgramExtraThis4App, + ExtraOptions + > + ): void; + } + + interface GetApp { + < + ExtraThis = {}, + ExtraOptions extends Record = {} + >(): IAppInstance< + ExtraThis & IGlobalMiniProgramExtraThis4App, + ExtraOptions + >; + } +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.component.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.component.d.ts new file mode 100644 index 0000000..c378599 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.component.d.ts @@ -0,0 +1,312 @@ +declare namespace MiniProgram.Component { + /** + * Additional properties in Component instance, for module augmentation + */ + interface IComponentInstanceAdditionalProperties< + ExtraOptions extends UnknownRecord + > {} + + interface ILifetimes { + /** + * 在组件实例刚刚被创建时执行 + */ + created(): void; + /** + * 在组件实例进入页面节点树时执行 + */ + attached(): void; + /** + * 在组件在视图层布局完成后执行 + */ + ready(): void; + /** + * 在组件实例被移动到节点树另一个位置时执行 + */ + moved(): void; + /** + * 在组件实例被从页面节点树移除时执行 + */ + detached(): void; + } + + interface IRelationOption { + /** + * 与目标组件的相对关系 + */ + type: 'parent' | 'child' | 'ancestor' | 'descendant'; + /** + * 关系生命周期函数,目标组件建立时触发,触发时机在组件 attached 生命周期之后。 + */ + linked?(target: BaseInstance): void; + /** + * 关系生命周期函数,目标组件移动时触发,触发时机在组件 moved 生命周期之后。 + */ + linkChanged?(target: BaseInstance): void; + /** + * 关系生命周期函数,目标组件销毁时触发,触发时机在组件 detached 生命周期之后 + */ + unlinked?(target: BaseInstance): void; + /** + * 根据组件使用的 Mixin 来建立关系 + * 如果这一项被设置,则它表示关联的目标节点所应具有的Mixin实例,所有拥有这一Mixin实例的组件节点都会被关联 + */ + target?: string; + } + + /** + * component\/*\/index.js Component(options) 中 options 的内部类型 + * ref: https://opendocs.alipay.com/mini/framework/component_object + */ + interface IOptions< + Data, + Props, + Methods, + ExtraOptions extends UnknownRecord, + Mixins extends Array> + > { + /** + * 组件内部状态 + */ + data: Data | ((this: void) => Data); + /** + * 为外部传入的数据设置默认值 + */ + props: Props; + /** + * 组件生命周期函数,组件创建时触发 + * @version 1.14.0+ + */ + onInit(): void; + /** + * 组件生命周期函数,组件创建时和更新前触发 + * @version 1.14.0+ + */ + deriveDataFromProps(nextProps: Partial): void; + /** + * 组件生命周期函数,组件创建完毕时触发 + */ + didMount(): void; + /** + * 组件生命周期函数,组件更新完毕时触发 + */ + didUpdate(prevProps: Partial, prevData: Partial): void; + /** + * 组件生命周期函数,组件删除时触发 + */ + didUnmount(): void; + /** + * 组件间代码复用机制 + */ + mixins: Mixins; + /** + * 组件的方法,可以是事件响应函数或任意的自定义方法 + * Object of Functions + */ + methods: Methods; + /** + * 指定组件被ref引用时的返回值 + * @version 1.18.0+ + */ + ref(): void; + /** + * 监听所属页面除onShareAppMessage外的页面的生命周期函数以及页面事件处理函数。 + * @version 2.8.5 + */ + pageEvents: Partial; + /** + * 开启某些功能项 + */ + options: Partial<{ + /** + * 开启虚拟化自定义组件节点,默认值为 true + * @version 2.8.0 + */ + virtualHost: boolean; + /** + * 开启 observers 数据变化观测器 + * @version 2.8.1 + */ + observers: boolean; + /** + * 开启 lifetimes 节点树维度生命周期 + * @version 2.8.5 + */ + lifetimes: boolean; + /** + * 开启 relations 组件间关系 + * @version 2.8.5 + */ + relations: boolean; + /** + * 开启 externalClasses 外部样式类 + * @version 2.8.5 + */ + externalClasses: boolean; + }>; + /** + * 数据变化观测器,观测和响应任何属性和数据字段的变化 + * @version 2.8.1 + */ + observers: Record void>; + /** + * 节点树维度生命周期 + * @version 2.8.5 + */ + lifetimes: Partial; + /** + * 组件间关系 + * @version 2.8.5 + */ + relations: Record; + /** + * 组件接受的外部样式类 + * @version 2.8.5 + */ + externalClasses: string[]; + } + interface IInstanceProperties { + /** + * 组件路径 + */ + readonly is: string; + /** + * 组件 id,可直接在组件 axml 中渲染值 + */ + readonly $id: number; + /** + * 组件所属页面实例 + */ + readonly $page: Record; + /** + * 自定义组件路由对象 + * @description 可获得当前自定义组件的路由对象,路由方法与全局路由方法功能相同,唯一区别在于调用时,相对路径是相对于该自定义组件 + * @version 2.7.22 + */ + readonly router: Shared.IRouter; + /** + * 自定义组件所在页面路由对象 + * @description 可获得当前自定义组件所在页面的路由对象,路由方法与全局路由方法功能相同,唯一区别在于调用时,相对路径是相对于所在页面 + * @version 2.7.22 + */ + readonly pageRouter: Shared.IRouter; + } + + interface IInstanceMethods { + /** + * 将数据从逻辑层发送到视图层 + * @param data + * @param callback + */ + setData( + data: RecursivePartialAndDynamic & Record, + callback?: () => void + ): void; + /** + * $spliceData 同样用于将数据从逻辑层发送到视图层,但是相比于 setData,在处理长列表的时候,其具有更高的性能。 + * @param data + * @param callback + * @version 1.7.2+ 可以使用 my.canIUse('page.$spliceData') 做兼容性处理 + */ + $spliceData( + data: RecursivePartialAndDynamic & Record, + callback?: () => void + ): void; + /** + * 选取当前组件的创建者(即 AXML 中定义了此组件的组件),返回它的组件实例对象(会被 `ref` 影响)。 + * + * @version 2.7.22 + * @returns undefined | null | 页面 | 自定义组件 | 用户 ref 的 Object + */ + selectOwnerComponent(): BaseInstance; + /** + * 选取当前组件在事件冒泡路径上的父组件,返回它的组件实例对象(会被 `ref` 影响)。 + * + * @version 2.7.22 + * @returns undefined | null | 页面 | 自定义组件 | 用户 ref 的 Object + */ + selectComposedParentComponent(): BaseInstance; + /** + * 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。 + * @description 若自定义组件注册时传入了ref以指定组件返回值,则可通过hasMixin('ref')检查到 + * @version 2.8.2 + * @return boolean + * @see https://opendocs.alipay.com/mini/framework/component_object#%E7%BB%84%E4%BB%B6%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95 + */ + hasMixin(mixin: Mixin.IMixinIdentifier): boolean; + /** + * 获取这个关系所对应的所有关联节点,参见 组件间关系 + * @version 2.8.5 + */ + getRelationNodes(relationKey: string): BaseInstance[]; + } + /** + * Public instance + */ + type IInstance< + Data, + Props, + Methods, + ExtraThis, + ExtraOptions extends UnknownRecord, + Mixins extends Array> + > = { + data: Data & + UnionToIntersection>>; + props: Readonly< + Props & UnionToIntersection>> + >; + } & Methods & + UnionToIntersection>> & + ExtraThis & + Omit< + ExtraOptions, + keyof IOptions + > & + IComponentInstanceAdditionalProperties & + IInstanceProperties & + IInstanceMethods & + Shared.IInstanceSharedMethods; + + type BaseInstance = IInstance< + UnknownRecord, + UnknownRecord, + UnknownRecord, + UnknownRecord, + UnknownRecord, + [] + >; + interface Constructor { + < + Data = UnknownRecord, + Props = UnknownRecord, + Methods = UnknownRecord, + ExtraThis = UnknownRecord, + ExtraOptions extends Record = UnknownRecord, + Mixins extends Array< + Mixin.IMixin4Legacy | ReturnType + > = any[] + >( + opts: { + [P in keyof ExtraOptions]: P extends keyof IOptions< + Data, + Props, + Methods, + ExtraOptions, + Mixins + > + ? unknown + : ExtraOptions[P]; + } & Partial> & + ThisType< + IInstance< + Data, + Props, + Methods, + ExtraThis & IGlobalMiniProgramExtraThis4Component, + ExtraOptions, + Mixins + > + > + ): void; + } +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.global.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.global.d.ts new file mode 100644 index 0000000..0668711 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.global.d.ts @@ -0,0 +1,98 @@ +export type IAppOnLaunchOptions> = + MiniProgram.App.LaunchOptions; + +export interface IRequirePluginAsync< + Target extends Record = Record +> { + (pluginName: K): Promise; + (pluginName: string): Promise; +} +export interface IRequirePlugin< + Target extends Record = Record +> { + (pluginName: K): Target[K]; + (pluginName: string): Result; + async: IRequirePluginAsync; +} + +export type IMixin4Legacy< + Data, + Props, + Methods, + ExtraThis = MiniProgram.UnknownRecord, + ExtraOptions extends MiniProgram.UnknownRecord = MiniProgram.UnknownRecord +> = MiniProgram.Mixin.IMixin4Legacy< + Data, + Props, + Methods, + ExtraThis, + ExtraOptions +>; + +export interface Require { + (path: string): T; + (path: string, cb?: (o: T) => void): void; + + async(path: string): Promise; +} + +declare global { + /** + * Extra `this` for Component instance. + */ + interface IGlobalMiniProgramExtraThis4Component {} + + /** + * Extra `this` for Page instance. + */ + interface IGlobalMiniProgramExtraThis4Page {} + + /** + * Extra `this` for App instance. + */ + interface IGlobalMiniProgramExtraThis4App {} + + /** + * 使用插件提供的 JS 接口,函数返回值为 \`插件\` 通过 \`main\` 字段暴露的 JS 接口。 + */ + const requirePlugin: IRequirePlugin; + + const require: Require; + + /** + * App's constructor + * @link https://opendocs.alipay.com/mini/framework/app-detail + */ + const App: MiniProgram.App.Constructor; + + /** + * Get App. + * @link https://opendocs.alipay.com/mini/framework/get-app + */ + const getApp: MiniProgram.App.GetApp; + + /** + * Get Current Pages + * @link https://opendocs.alipay.com/mini/framework/getcurrentpages + */ + const getCurrentPages: MiniProgram.Page.GetCurrentPages; + + /** + * Page's constructor + * @link https://opendocs.alipay.com/mini/framework/page-detail + */ + const Page: MiniProgram.Page.Constructor; + + /** + * Component's constructor + * @link https://opendocs.alipay.com/mini/framework/component_object + */ + const Component: MiniProgram.Component.Constructor; + + /** + * 注册一个 `mixin`,接受一个 `Object` 类型的参数。 + * @version 2.8.2 + * @link https://opendocs.alipay.com/mini/05bchn + */ + const Mixin: MiniProgram.Mixin.Constructor; +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.mixin.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.mixin.d.ts new file mode 100644 index 0000000..f977ddb --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.mixin.d.ts @@ -0,0 +1,104 @@ +declare namespace MiniProgram.Mixin { + /** + * 传统的组件间代码复用,仅Component的mixins参数支持传入,Mixin参数mixins 则只支持传入Mixin()的返回值 + */ + type IMixin4Legacy< + Data extends UnknownRecord, + Props extends UnknownRecord, + Methods extends UnknownRecord, + ExtraThis extends UnknownRecord = UnknownRecord, + ExtraOptions extends UnknownRecord = UnknownRecord + > = Partial< + MiniProgram.Component.IOptions + > & + ThisType< + MiniProgram.Component.IInstance< + Data, + Props, + Methods, + ExtraThis & IGlobalMiniProgramExtraThis4Component, + ExtraOptions, + [] + > + >; + /** + * Mixin() 返回值 + */ + type IMixinIdentifier = string; + + type IMixinDefinitionFilter = < + T extends + | Component.IOptions + | IMixinOptions + | Page.IOptions + >( + /** 使用该 mixin 的 component/mixin 的定义对象 */ + defFields: T, + /** 该 mixin 所使用的 mixin 的 definitionFilter 函数列表 */ + definitionFilterArr?: IMixinDefinitionFilter[] | void + ) => void; + + /** + * Mixin构造器参数 + */ + type IMixinOptions< + Data, + Props, + Methods, + ExtraThis, + ExtraOptions extends UnknownRecord, + Mixins extends Array> + > = { + [P in keyof ExtraOptions]: P extends + | keyof Component.IOptions + | 'definitionFilter' + | 'mixins' + ? unknown + : ExtraOptions[P]; + } & Omit< + Partial< + Component.IOptions + >, + 'ref' | 'options' | 'externalClasses' + > & + Partial<{ + /** + * 定义段过滤器,用于自定义组件扩展 + */ + definitionFilter: IMixinDefinitionFilter; + /** + * 组件间代码复用,用于Mixin()的mixins 只支持传入Mixin()注册生成的返回值。不支持传入 js Object + */ + mixins: Mixins; + }> & + ThisType< + Component.IInstance< + Data, + Props, + Methods, + ExtraThis, + ExtraOptions, + IMixinIdentifier[] + > + >; + + interface Constructor { + < + Data = UnknownRecord, + Props = UnknownRecord, + Methods = UnknownRecord, + ExtraThis = UnknownRecord, + ExtraOptions extends UnknownRecord = UnknownRecord, + Mixins extends IMixinIdentifier[] = [] + >( + options: IMixinOptions< + Data, + Props, + Methods, + ExtraThis & IGlobalMiniProgramExtraThis4Component, + ExtraOptions, + Mixins + > + ): IMixinIdentifier; + } +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.page.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.page.d.ts new file mode 100644 index 0000000..075b4d5 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.page.d.ts @@ -0,0 +1,406 @@ +declare namespace MiniProgram.Page { + interface IOnResizeEvent { + /** + * 窗口尺寸 + */ + size: { + /** + * 窗口宽度 + */ + windowWidth: number; + /** + * 窗口高度 + */ + windowHeight: number; + }; + } + interface IKeyboardHeightEvent { + /** + * 键盘高度 + */ + height: number; + } + interface ITabItemTapEvent { + /** + * 点击来源。 + */ + from: string; + /** + * 被点击 tabItem 的页面路径。 + */ + pagePath: string; + /** + * 被点击 tabItem 的按钮文字。 + */ + text: string; + /** + * 被点击 tabItem 的序号,从 0 开始。 + */ + index: number; + } + interface ISelectedTabItemTapEvent { + /** + * 被点击 tabItem 的页面路径。 + */ + pagePath: string; + /** + * 被点击 tabItem 的按钮文字。 + */ + text: string; + /** + * 被点击 tabItem 的序号,从 0 开始。 + */ + index: number; + } + + interface IPageScrollEvent { + /** + * 页面滚动距离。 + */ + scrollTop: number; + /** + * 页面内容高度。 + */ + scrollHeight: number; + } + + interface IPullDownRefreshEvent { + /** + * 触发原 + * @description + * - manual: 下拉事件通过 my.startPullDownRefresh 触发 + * - code: 下拉事件用通过户下拉触发 + */ + from: 'manual' | 'code'; + } + interface IShareAppMessageEvent { + /** + * 触发来源 + * @description + * - button 页面分享按钮触发 + * - menu 右上角分享按钮触 + * - code 执行 my.showSharePanel 触发 + * @version 1.10.0 + */ + from: 'button' | 'menu' | 'code'; + /** + * 如果 from 值为 button,则 target 为触发这次分享的 button,否则为 undefined。 + * @version 1.10.0 + */ + target: object; + /** + * 页面中包含 web-view 组件时,返回当前 web-view 的 URL。 + * @version 1.6.0 + */ + webViewUrl: string; + } + + interface IShareAppMessage { + title: string; + desc: string; + path: string; + } + /** + * 页面事件处理对象 + */ + interface Events { + /** + * 页面加载时触发 + * @param query 打开当前页面路径中的参数 + * @see https://opendocs.alipay.com/mini/03durs + */ + onLoad(query: unknown): void; + /** + * 页面显示时/切入前台时触发 + */ + onShow(): void; + /** + * 页面初次渲染完成时触发 + */ + onReady(): void; + /** + * 页面隐藏时/切入后台时触发 + */ + onHide(): void; + /** + * 页面卸载时触发 + * @version 2.8.5 + */ + onUnload(): void; + /** + * 点击标题触发 + */ + onTitleClick(): void; + /** + * 点击导航栏额外图标触发 + * @see 设置额外图标: https://opendocs.alipay.com/mini/api/optionmenu + */ + onOptionMenuClick(): void; + /** + * 页面下拉时触发 + * @description 需要先在 app.json 的 window 选项中开启 pullRefresh 。当处理完数据刷新后,my.stopPullDownRefresh 可以停止当前页面的下拉刷新。 + * @param event 页面下拉事件 + * @see https://opendocs.alipay.com/mini/framework/page-detail#onPullDownRefresh(%7Bfrom%3A%20manual%7Ccode%7D) + */ + onPullDownRefresh(event: IPullDownRefreshEvent): void; + /** + * 点击 tabItem(非当前) 时触发 + * @param event 点击 tabItem(非当前)事件 + */ + onTabItemTap: (event: ITabItemTapEvent) => void; + /** + * 页面滚动时触发。 + * @param event 页面滚动事件 + */ + onPageScroll: (event: IPageScrollEvent) => void; + /** + * 页面被拉到底部时触发 + * @description + * - onReachBottom() 上拉触底时才会触发,如果页面已经在页面底部继续上拉是不会再次触发。 + * - 可配合 my.pageScrollTo 向上滚动一点位置或者在底部增加数据等方式让页面不处在底部位置达到可以连续上拉触发 onReachBottom()的效果。 + * - 可在应用配置(app.json)通过 onReachBottomDistance 配置项 自定义 页面上拉触底时触发时距离页面底部的距离,单位为 px。 + */ + onReachBottom(): void; + /** + * 点击非当前 tabItem 前触发 + */ + beforeTabItemTap(): void; + /** + * 键盘高度变化时触发 + * @param event 键盘高度变化事件 + */ + onKeyboardHeight(event: IKeyboardHeightEvent): void; + /** + * 导航栏左侧返回按钮(以及 Android 系统返回键)被点击时触发 + */ + onBack: () => void; + /** + * window尺寸改变时触发 + * @version 1.16.0 + */ + onResize(event: IOnResizeEvent): void; + /** + * 点击当前 tabItem 后触发。 + * @param event 点击当前 tabItem 事件 + * @version 2.7.2 + */ + onSelectedTabItemTap: (event: ISelectedTabItemTapEvent) => void; + } + + /** + * pages\/*\/index.js Page(options) 中 options 的内部类型 + * ref: https://opendocs.alipay.com/mini/framework/app-detail + */ + interface IOptions { + /** + * 初始数据或返回初始化数据的函数 + */ + data: Data | ((this: void) => Data); + /** + * 页面加载时触发 + * @param query 打开当前页面路径中的参数 + * @see https://opendocs.alipay.com/mini/03durs + */ + onLoad(query: unknown): void; + /** + * 页面显示时/切入前台时触发 + */ + onShow(): void; + /** + * 页面初次渲染完成时触发 + */ + onReady(): void; + /** + * 页面隐藏时/切入后台时触发 + */ + onHide(): void; + /** + * 页面卸载时触发 + */ + onUnload(): void; + /** + * 在 Page 中定义 onShareAppMessage 函数,设置该页面的分享信息。 + * @description + * 开发者可通过传入参数自定义小程序分享内容(例如:标题、描述、图片),用户通过点击或者复制分享的内容可以快速打开小程序,进入指定页面。目前支持的分享渠道有:支付宝朋友动态、支付宝好友、钉钉、新浪微博、微信、QQ。 + * - 每个 Page 页面的右上角菜单中默认有 分享 按钮。 + * - 用户点击分享按钮的时候会调用。 + * - 要求返回一个对象(Object)类型,用于自定义该页面的分享信息(如果未定义该回调,会使用默认分享信息,不影响分享功能)。 + * - 若定义该回调,但未返回对象(Object)类型,会导致默认分享不可用。 + * - 分享图片中的二维码的有效期为 60 天,若需要长期有效的二维码,请登录 开放平台控制台 > 我的应用 > 进入小程序应用详情页 > 小程序码 中生成。 + * - 小程序在 1.1.0 版本中开始支持 open-type 为 share 的按钮触发分享。 + * - 从基础库 1.24.13、2.6.7 版本开始支持 async 写法,可通过 my.canIUse('page.onShareAppMessage.async') 检测是否支持。 + * @see https://opendocs.alipay.com/mini/framework/page-detail#onShareAppMessage(options%3A%20Object) + */ + onShareAppMessage( + event: IShareAppMessageEvent + ): IShareAppMessage | Promise; + /** + * 点击标题触发 + */ + onTitleClick(): void; + /** + * 点击导航栏额外图标触发 + * @see 设置额外图标: https://opendocs.alipay.com/mini/api/optionmenu + * @version 1.3.0 + */ + onOptionMenuClick: () => void; + /** + * 页面下拉时触发 + * @description 需要先在 app.json 的 window 选项中开启 pullRefresh 。当处理完数据刷新后,my.stopPullDownRefresh 可以停止当前页面的下拉刷新。 + * @param event 页面下拉事件 + * @see https://opendocs.alipay.com/mini/framework/page-detail#onPullDownRefresh(%7Bfrom%3A%20manual%7Ccode%7D) + */ + onPullDownRefresh(event: IPullDownRefreshEvent): void; + /** + * 点击 tabItem(非当前) 时触发 + * @param event 点击 tabItem(非当前)事件 + * @version 1.11.0 + */ + onTabItemTap: (event: ITabItemTapEvent) => void; + /** + * 页面滚动时触发。 + * @param event 页面滚动事件 + */ + onPageScroll: (event: IPageScrollEvent) => void; + /** + * 页面被拉到底部时触发 + * @description + * - onReachBottom() 上拉触底时才会触发,如果页面已经在页面底部继续上拉是不会再次触发。 + * - 可配合 my.pageScrollTo 向上滚动一点位置或者在底部增加数据等方式让页面不处在底部位置达到可以连续上拉触发 onReachBottom()的效果。 + * - 可在应用配置(app.json)通过 onReachBottomDistance 配置项 自定义 页面上拉触底时触发时距离页面底部的距离,单位为 px。 + */ + onReachBottom(): void; + /** + * 事件处理函数对象 + * @version 1.13.7 + */ + events: Partial; + /** + * 开启某些功能项 + */ + options: { + /** + * 开启 observers 数据变化观测器 + */ + observers: boolean; + }; + /** + * 数据变化观测器,观测和响应任何数据字段的变化。 + * @version 2.8.1 + */ + observers: Record void>; + /** + * 组件间代码复用机制,只支持传入 Mixin() 实例。 + * @version 2.8.5 + */ + mixins: Mixin.IMixinIdentifier[]; + } + + /** + * Additional properties in Page instance, for module augmentation + */ + interface IInstanceAdditionalProperties {} + + interface IInstanceProperties { + /** + * Page 路径,对应 app.json 中配置的路径值,类型为 String。这是一个只读属性。 + * @readonly + */ + readonly route: string; + /** + * 页面路由对象 + * @description 可获得当前页面的路由对象,路由方法与全局路由方法功能相同,唯一区别在于调用时,相对路径是相对于该页面 + * @version 2.7.22 + */ + readonly router: Shared.IRouter; + /** + * 页面路由对象 + * @description 同 router, 可获得当前页面的路由对象,路由方法与全局路由方法功能相同,唯一区别在于调用时,相对路径是相对于该页面 + * @version 2.7.22 + */ + readonly pageRouter: Shared.IRouter; + } + + type IInstanceSharedMethods = Shared.IInstanceSharedMethods; + + interface IInstanceMethods { + /** + * 将数据从逻辑层发送到视图层 + * @param data + * @param callback + */ + setData( + data: RecursivePartialAndDynamic, + callback?: () => void + ): void; + /** + * $spliceData 同样用于将数据从逻辑层发送到视图层,但是相比于 setData,在处理长列表的时候,其具有更高的性能。 + * @param data + * @param callback + * @version 1.7.2+ 可以使用 my.canIUse('page.$spliceData') 做兼容性处理 + */ + $spliceData( + data: RecursivePartialAndDynamic, + callback?: () => void + ): void; + /** + * 批量更新数据。 + * @param callback + * @version 1.14.0+ 可以使用 my.canIUse('page.$batchedUpdates') 做兼容性处理 + */ + $batchedUpdates(callback: () => void): void; + /** + * 获取 通信通道 EventChannel + * @description + * - 如果一个页面由另一个页面通过 my.navigateTo 打开,这两个页面间将建立一条通信通道: + * - 被打开的页面可以通过 this.getOpenerEventChannel() 方法来获得一个 EventChannel 对象。 + * - my.navigateTo 的 success 回调中也包含一个 EventChannel 对象。 + * - 这两个 EventChannel 对象间可以使用 emit 和 on 方法相互发送、监听事件。 + * @version 2.7.7 + * @see https://opendocs.alipay.com/mini/api/eventchannel + */ + getOpenerEventChannel(): Shared.EventChannel; + /** + * 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。 + * @version 2.8.5 + * @return boolean + * @see https://opendocs.alipay.com/mini/framework/page-detail#hasMixin + */ + hasMixin(mixin: Mixin.IMixinIdentifier): boolean; + } + + /** + * `this` type of life cycle hooks in App. + */ + type IInstance = { + data: Data & UnknownRecord; + } & ExtraThis & + Omit> & + IInstanceProperties & + IInstanceSharedMethods & + IInstanceMethods & + IInstanceAdditionalProperties; + + interface Constructor { + < + Data = {}, + ExtraThis = {}, + ExtraOptions extends Record = {} + >( + options: Partial< + UniqueLeft< + UniqueLeft, + IOptions + > + > & { + [P in keyof ExtraOptions]: P extends keyof IOptions + ? unknown + : ExtraOptions[P]; + } & Partial> & + ThisType> + ): void; + } + interface GetCurrentPages { + (): Array>; + } +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.shared.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.shared.d.ts new file mode 100644 index 0000000..dde58f9 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.shared.d.ts @@ -0,0 +1,309 @@ +declare namespace MiniProgram.Shared { + interface SetUpdatePerformanceListenerOption { + /** + * 是否返回变更的 data 字段信息 + */ + withDataPaths?: WithDataPath; + } + + interface UpdatePerformanceListener { + (res: ISetUpdatePerformanceListenerResult): void; + } + + interface ISingleSetDataPerformanceInfo { + /** setData ID */ + id: number; + /** 加入到队列的时间 */ + pendingStartTimestamp: number; + /** 本次更新的 data,所包含的 key 值 */ + dataPaths?: WithDataPath extends true ? string[] : undefined; + } + + interface ISetUpdatePerformanceListenerResult { + /** 其他组件更新,而导致的更新 */ + isMergedUpdate: boolean; + /** 更新批次 ID */ + updateProcessId: number; + /** 父更新批次 ID */ + parentUpdateProcessId?: number; + /** + * 本批次合并之后的 data,所包含的 key 值 + */ + dataPaths?: WithDataPath extends true ? string[] : undefined; + /** 组件第一条数据,加入到队列的时间 */ + pendingStartTimestamp?: number; + /** render 侧接收到,data 数据的时间 */ + updateStartTimestamp?: number; + /** render 侧完成 UI 更新的时间 */ + updateEndTimestamp?: number; + /** + * 本批次所有 setData 的数据信息 + */ + dataList: ISingleSetDataPerformanceInfo[]; + } + + interface IMediaQueryObserver { + /** + * 开始监听页面 media query 变化情况 + * @param descriptor media query 描述符 + * @param callback 监听 media query 状态变化的回调函数 + * @see https://opendocs.alipay.com/mini/05awpq + */ + observe: ( + descriptor: IMediaQueryObserveDescriptor, + callback: IMediaQueryObserveCallback + ) => void; + /** + * 停止监听。回调函数将不再触发 + * @see https://opendocs.alipay.com/mini/05bb9o + */ + disconnect: () => void; + } + + type IMediaQueryObserveCallback = ( + payload: IMediaQueryObserveCallbackResponse + ) => void; + + interface IMediaQueryObserveCallbackResponse { + /** + * 页面的当前状态是否满足所指定的 media query + */ + matches: boolean; + } + interface IMediaQueryObserveDescriptor { + /** + * 页面最小宽度( px 为单位) + */ + minWidth?: number; + /** + * 页面最大宽度( px 为单位) + */ + maxWidth?: number; + /** + * 页面宽度( px 为单位) + */ + width?: number; + /** + * 页面最小高度( px 为单位) + */ + minHeight?: number; + /** + * 页面最大高度( px 为单位) + */ + maxHeight?: number; + /** + * 页面高度( px 为单位) + */ + height?: number; + /** + * 屏幕方向( landscape 或 portrait ) + * - landscape viewport 处于横向,即宽度大于高度。 + * - portrait viewport 处于纵向,即高度大于等于宽度。 + */ + orientation?: 'landscape' | 'portrait'; + } + + interface IRouter { + navigateTo: (object: { + /** + * 需要跳转的目标页面路径 + * @description 路径后可以带参数, 目标路径必须为应用内非 tabbar 的,路径与参数之间使用 ?分隔,参数键与参数值用=相连,不同参数必须用&分隔 + */ + url: string; + /** + * 页面间通信接口,用于监听被打开页面发送到当前页面的数据 + */ + events?: IMyNavigateToEvents; + /** + * 接口调用成功的回调函数 + */ + success?(data: { + /** + * 和被打开页面进行通信 + */ + eventChannel: EventChannel; + }): void; + /** + * 接口调用失败的回调函数 + */ + fail?(err: { error?: number; errorMessage?: string }): void; + /** + * 接口调用结束的回调函数(调用成功、失败都会执行) + */ + complete?( + arg: + | { + /** + * 和被打开页面进行通信 + */ + eventChannel: EventChannel; + } + | { + error?: number; + errorMessage?: string; + } + ): void; + }) => Promise<{ + /** + * 和被打开页面进行通信 + */ + eventChannel: EventChannel; + }>; + redirectTo: (object: { + /** + * 需要跳转的目标页面路径 + * 路径后可以带参数, 目标路径必须为应用内非 tabbar 的,路径与参数之间使用 ?分隔,参数键与参数值用=相连,不同参数必须用&分隔 + */ + url: string; + /** + * 接口调用成功的回调函数 + */ + success?(data: {}): void; + /** + * 接口调用失败的回调函数 + */ + fail?(err: { error?: number; errorMessage?: string }): void; + /** + * 接口调用结束的回调函数(调用成功、失败都会执行) + */ + complete?(arg: { error?: number; errorMessage?: string }): void; + }) => Promise; + navigateBack: (object?: { + /** + * 返回的页面数 + * @description 如果 delta 大于现有打开的页面数,则返回到首页 + * @default 1 + */ + delta?: number | string; + /** + * 接口调用成功的回调函数 + */ + success?(data: {}): void; + /** + * 接口调用失败的回调函数 + */ + fail?(err: { error?: number; errorMessage?: string }): void; + /** + * 接口调用结束的回调函数(调用成功、失败都会执行) + */ + complete?(arg: { error?: number; errorMessage?: string }): void; + }) => Promise; + switchTab: (object: { + /** + * 跳转的特定 tab 的路径 + * @description 目标路径必须为应用内 tabbar 的,且路径后不能带参数 + */ + url: string; + /** + * 接口调用成功的回调函数 + */ + success?(data: {}): void; + /** + * 接口调用失败的回调函数 + */ + fail?(err: { error?: number; errorMessage?: string }): void; + /** + * 接口调用结束的回调函数(调用成功、失败都会执行) + */ + complete?(arg: { error?: number; errorMessage?: string }): void; + }) => Promise; + reLaunch: (object: { + /** + * 需要跳转的目标页面路径 + * @description + * 目标路径如果是 Tab 路径后不可以带参数 + * 目标路径如果是非 Tab 页,可以携带参数,路径与参数之间使用 `?` 分隔,参数键与参数值用 `=` 相连,不同参数必须用 `&` 分隔 + */ + url: string; + /** + * 接口调用成功的回调函数 + */ + success?(data: {}): void; + /** + * 接口调用失败的回调函数 + */ + fail?(err: { error?: number; errorMessage?: string }): void; + /** + * 接口调用结束的回调函数(调用成功、失败都会执行) + */ + complete?(arg: { error?: number; errorMessage?: string }): void; + }) => Promise; + } + interface IMyNavigateToEvents { + /** + * 特定事件名监听回调 + */ + [eventName: string]: (...args: unknown[]) => void; + } + interface EventChannel { + /** + * 在页面间通信中触发一个事件 + * @see https://opendocs.alipay.com/mini/api/eventchannel.emit + */ + emit(eventName: string, args?: unknown): void; + /** + * 在页面间通信中停止监听一个事件 + * @see https://opendocs.alipay.com/mini/api/eventchannel.off + */ + off(eventName: string, callback: (...args: unknown[]) => void): void; + /** + * 在页面间通信中持续监听一个事件 + * @see https://opendocs.alipay.com/mini/api/eventchannel.on + */ + on(eventName: string, callback: (...args: unknown[]) => void): void; + /** + * 在页面间通信中监听一个事件仅一次 + * @description 事件触发后失效 + * @see https://opendocs.alipay.com/mini/api/eventchannel.once + */ + once(eventName: string, callback: (...args: unknown[]) => void): void; + } + + interface IInstanceSharedMethods { + /** + * 创建 SelectorQuery 对象实例。 + * @version 2.7.4 + */ + createSelectorQuery(): any; + /** + * 创建 IntersectionObserver 对象实例。 + * @version 2.7.4 + */ + createIntersectionObserver(): any; + /** + * 创建 MediaQueryObserver 对象实例,用于监听页面 media query 状态的变化。 + * @version 2.8.2 + * @see https://opendocs.alipay.com/mini/framework/component_object#createMediaQueryObserver + */ + createMediaQueryObserver(): IMediaQueryObserver; + /** + * 获取自定义 tabBar 实例,可以通过判断 `this.getTabBar` 是否为一个函数做兼容性处理 + * @version 2.7.20 + * @see https://opendocs.alipay.com/mini/framework/page-detail#Page.getTabBar + */ + getTabBar(): T | undefined; + /** + * 查询子组件 + * @description 根据传入的 selector 匹配器查询,返回匹配到的第一个组件实例(会被 ref 影响) + * @version 2.8.0 + * @see https://opendocs.alipay.com/mini/framework/component_object#%24selectComponent%2F%24selectAllComponents + */ + $selectComponent(selector: string): Component.BaseInstance | void; + /** + * 查询子组件 + * @description 根据传入的 selector 匹配器查询,返回匹配到的所有组件实例(会被 ref 影响) + * @version 2.8.0 + * @see https://opendocs.alipay.com/mini/framework/component_object#%24selectComponent%2F%24selectAllComponents + */ + $selectAllComponents(selector: string): Component.BaseInstance[]; + /** + * 监听 setData 引发界面更新的开销,参见 获取更新性能统计信息 + * @version 2.8.5 + * @see https://opendocs.alipay.com/mini/069xfk + */ + setUpdatePerformanceListener( + option: SetUpdatePerformanceListenerOption, + callback?: UpdatePerformanceListener + ): void; + } +} diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.sjs.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.sjs.d.ts new file mode 100644 index 0000000..ed3a403 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.sjs.d.ts @@ -0,0 +1,4792 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + +/** + * Original from https://github.com/microsoft/TypeScript/blob/main/lib/lib.es5.d.ts + * - removed unsupported declare var. + * - removed unsupported declare function. + * - only keep `Object.keys`. + * - add `getDate`, `getRegExp`. + * - remove unsupported `Intl.x`. + * - add `console.x`. + */ + +/// + +///////////////////////////// +/// ECMAScript APIs +///////////////////////////// + +declare var NaN: number; +declare var Infinity: number; + +/** + * Converts a string to an integer. + * @param string A string to convert into a number. + * @param radix A value between 2 and 36 that specifies the base of the number in `string`. + * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal. + * All other strings are considered decimal. + */ +declare function parseInt(string: string, radix?: number): number; + +/** + * Converts a string to a floating-point number. + * @param string A string that contains a floating-point number. + */ +declare function parseFloat(string: string): number; + +/** + * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number). + * @param number A numeric value. + */ +declare function isNaN(number: number): boolean; + +/** + * Determines whether a supplied number is finite. + * @param number Any numeric value. + */ +declare function isFinite(number: number): boolean; + +/** + * Gets the unencoded version of an encoded Uniform Resource Identifier (URI). + * @param encodedURI A value representing an encoded URI. + */ +declare function decodeURI(encodedURI: string): string; + +/** + * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI). + * @param encodedURIComponent A value representing an encoded URI component. + */ +declare function decodeURIComponent(encodedURIComponent: string): string; + +/** + * Encodes a text string as a valid Uniform Resource Identifier (URI) + * @param uri A value representing an unencoded URI. + */ +declare function encodeURI(uri: string): string; + +/** + * Encodes a text string as a valid component of a Uniform Resource Identifier (URI). + * @param uriComponent A value representing an unencoded URI component. + */ +declare function encodeURIComponent( + uriComponent: string | number | boolean +): string; + +interface Symbol { + /** Returns a string representation of an object. */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): symbol; +} + +declare type PropertyKey = string | number | symbol; + +interface PropertyDescriptor { + configurable?: boolean; + enumerable?: boolean; + value?: any; + writable?: boolean; + get?(): any; + set?(v: any): void; +} + +interface PropertyDescriptorMap { + [key: PropertyKey]: PropertyDescriptor; +} + +interface Object { + /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */ + constructor: Function; + + /** Returns a string representation of an object. */ + toString(): string; + + /** Returns a date converted to a string using the current locale. */ + toLocaleString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Object; + + /** + * Determines whether an object has a property with the specified name. + * @param v A property name. + */ + hasOwnProperty(v: PropertyKey): boolean; + + /** + * Determines whether an object exists in another object's prototype chain. + * @param v Another object whose prototype chain is to be checked. + */ + isPrototypeOf(v: Object): boolean; + + /** + * Determines whether a specified property is enumerable. + * @param v A property name. + */ + propertyIsEnumerable(v: PropertyKey): boolean; +} + +// Only Support `Object.keys()` +interface ObjectConstructor { + /** + * Returns the names of the enumerable string properties and methods of an object. + * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. + */ + keys(o: object): string[]; +} + +/** + * Provides functionality common to all JavaScript objects. + */ +declare var Object: ObjectConstructor; + +/** + * Creates a new function. + */ +interface Function { + /** + * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function. + * @param thisArg The object to be used as the this object. + * @param argArray A set of arguments to be passed to the function. + */ + apply(this: Function, thisArg: any, argArray?: any): any; + + /** + * Calls a method of an object, substituting another object for the current object. + * @param thisArg The object to be used as the current object. + * @param argArray A list of arguments to be passed to the method. + */ + call(this: Function, thisArg: any, ...argArray: any[]): any; + + /** + * For a given function, creates a bound function that has the same body as the original function. + * The this object of the bound function is associated with the specified object, and has the specified initial parameters. + * @param thisArg An object to which the this keyword can refer inside the new function. + * @param argArray A list of arguments to be passed to the new function. + */ + bind(this: Function, thisArg: any, ...argArray: any[]): any; + + /** Returns a string representation of a function. */ + toString(): string; + + prototype: any; + readonly length: number; + + // Non-standard extensions + arguments: any; + caller: Function; +} + +/** + * Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter. + */ +type ThisParameterType = T extends (this: infer U, ...args: never) => any + ? U + : unknown; + +/** + * Removes the 'this' parameter from a function type. + */ +type OmitThisParameter = unknown extends ThisParameterType + ? T + : T extends (...args: infer A) => infer R + ? (...args: A) => R + : T; + +interface CallableFunction extends Function { + /** + * Calls the function with the specified object as the this value and the elements of specified array as the arguments. + * @param thisArg The object to be used as the this object. + * @param args An array of argument values to be passed to the function. + */ + apply(this: (this: T) => R, thisArg: T): R; + apply( + this: (this: T, ...args: A) => R, + thisArg: T, + args: A + ): R; + + /** + * Calls the function with the specified object as the this value and the specified rest arguments as the arguments. + * @param thisArg The object to be used as the this object. + * @param args Argument values to be passed to the function. + */ + call( + this: (this: T, ...args: A) => R, + thisArg: T, + ...args: A + ): R; + + /** + * For a given function, creates a bound function that has the same body as the original function. + * The this object of the bound function is associated with the specified object, and has the specified initial parameters. + * @param thisArg The object to be used as the this object. + * @param args Arguments to bind to the parameters of the function. + */ + bind(this: T, thisArg: ThisParameterType): OmitThisParameter; + bind( + this: (this: T, arg0: A0, ...args: A) => R, + thisArg: T, + arg0: A0 + ): (...args: A) => R; + bind( + this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, + thisArg: T, + arg0: A0, + arg1: A1 + ): (...args: A) => R; + bind( + this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, + thisArg: T, + arg0: A0, + arg1: A1, + arg2: A2 + ): (...args: A) => R; + bind( + this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, + thisArg: T, + arg0: A0, + arg1: A1, + arg2: A2, + arg3: A3 + ): (...args: A) => R; + bind( + this: (this: T, ...args: AX[]) => R, + thisArg: T, + ...args: AX[] + ): (...args: AX[]) => R; +} + +interface NewableFunction extends Function { + /** + * Calls the function with the specified object as the this value and the elements of specified array as the arguments. + * @param thisArg The object to be used as the this object. + * @param args An array of argument values to be passed to the function. + */ + apply(this: new () => T, thisArg: T): void; + apply( + this: new (...args: A) => T, + thisArg: T, + args: A + ): void; + + /** + * Calls the function with the specified object as the this value and the specified rest arguments as the arguments. + * @param thisArg The object to be used as the this object. + * @param args Argument values to be passed to the function. + */ + call( + this: new (...args: A) => T, + thisArg: T, + ...args: A + ): void; + + /** + * For a given function, creates a bound function that has the same body as the original function. + * The this object of the bound function is associated with the specified object, and has the specified initial parameters. + * @param thisArg The object to be used as the this object. + * @param args Arguments to bind to the parameters of the function. + */ + bind(this: T, thisArg: any): T; + bind( + this: new (arg0: A0, ...args: A) => R, + thisArg: any, + arg0: A0 + ): new (...args: A) => R; + bind( + this: new (arg0: A0, arg1: A1, ...args: A) => R, + thisArg: any, + arg0: A0, + arg1: A1 + ): new (...args: A) => R; + bind( + this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, + thisArg: any, + arg0: A0, + arg1: A1, + arg2: A2 + ): new (...args: A) => R; + bind( + this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, + thisArg: any, + arg0: A0, + arg1: A1, + arg2: A2, + arg3: A3 + ): new (...args: A) => R; + bind( + this: new (...args: AX[]) => R, + thisArg: any, + ...args: AX[] + ): new (...args: AX[]) => R; +} + +interface IArguments { + [index: number]: any; + length: number; + callee: Function; +} + +interface String { + /** Returns a string representation of a string. */ + toString(): string; + + /** + * Returns the character at the specified index. + * @param pos The zero-based index of the desired character. + */ + charAt(pos: number): string; + + /** + * Returns the Unicode value of the character at the specified location. + * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned. + */ + charCodeAt(index: number): number; + + /** + * Returns a string that contains the concatenation of two or more strings. + * @param strings The strings to append to the end of the string. + */ + concat(...strings: string[]): string; + + /** + * Returns the position of the first occurrence of a substring. + * @param searchString The substring to search for in the string + * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string. + */ + indexOf(searchString: string, position?: number): number; + + /** + * Returns the last occurrence of a substring in the string. + * @param searchString The substring to search for. + * @param position The index at which to begin searching. If omitted, the search begins at the end of the string. + */ + lastIndexOf(searchString: string, position?: number): number; + + /** + * Determines whether two strings are equivalent in the current locale. + * @param that String to compare to target string + */ + localeCompare(that: string): number; + + /** + * Matches a string with a regular expression, and returns an array containing the results of that search. + * @param regexp A variable name or string literal containing the regular expression pattern and flags. + */ + match(regexp: string | RegExp): RegExpMatchArray | null; + + /** + * Replaces text in a string, using a regular expression or search string. + * @param searchValue A string to search for. + * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string. + */ + replace(searchValue: string | RegExp, replaceValue: string): string; + + /** + * Replaces text in a string, using a regular expression or search string. + * @param searchValue A string to search for. + * @param replacer A function that returns the replacement text. + */ + replace( + searchValue: string | RegExp, + replacer: (substring: string, ...args: any[]) => string + ): string; + + /** + * Finds the first substring match in a regular expression search. + * @param regexp The regular expression pattern and applicable flags. + */ + search(regexp: string | RegExp): number; + + /** + * Returns a section of a string. + * @param start The index to the beginning of the specified portion of stringObj. + * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end. + * If this value is not specified, the substring continues to the end of stringObj. + */ + slice(start?: number, end?: number): string; + + /** + * Split a string into substrings using the specified separator and return them as an array. + * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned. + * @param limit A value used to limit the number of elements returned in the array. + */ + split(separator: string | RegExp, limit?: number): string[]; + + /** + * Returns the substring at the specified location within a String object. + * @param start The zero-based index number indicating the beginning of the substring. + * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end. + * If end is omitted, the characters from start through the end of the original string are returned. + */ + substring(start: number, end?: number): string; + + /** Converts all the alphabetic characters in a string to lowercase. */ + toLowerCase(): string; + + /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */ + toLocaleLowerCase(locales?: string | string[]): string; + + /** Converts all the alphabetic characters in a string to uppercase. */ + toUpperCase(): string; + + /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */ + toLocaleUpperCase(locales?: string | string[]): string; + + /** Removes the leading and trailing white space and line terminator characters from a string. */ + trim(): string; + + /** Returns the length of a String object. */ + readonly length: number; + + // IE extensions + /** + * Gets a substring beginning at the specified location and having the specified length. + * @deprecated A legacy feature for browser compatibility + * @param from The starting position of the desired substring. The index of the first character in the string is zero. + * @param length The number of characters to include in the returned substring. + */ + substr(from: number, length?: number): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): string; + + readonly [index: number]: string; +} + +interface StringConstructor { + new (value?: any): String; + (value?: any): string; + readonly prototype: String; + fromCharCode(...codes: number[]): string; +} + +interface Boolean { + /** Returns the primitive value of the specified object. */ + valueOf(): boolean; +} + +interface Number { + /** + * Returns a string representation of an object. + * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers. + */ + toString(radix?: number): string; + + /** + * Returns a string representing a number in fixed-point notation. + * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive. + */ + toFixed(fractionDigits?: number): string; + + /** + * Returns a string containing a number represented in exponential notation. + * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive. + */ + toExponential(fractionDigits?: number): string; + + /** + * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits. + * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive. + */ + toPrecision(precision?: number): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): number; +} + +interface NumberConstructor { + new (value?: any): Number; + (value?: any): number; + readonly prototype: Number; + + /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */ + readonly MAX_VALUE: number; + + /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */ + readonly MIN_VALUE: number; + + /** + * A value that is not a number. + * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function. + */ + readonly NaN: number; + + /** + * A value that is less than the largest negative number that can be represented in JavaScript. + * JavaScript displays NEGATIVE_INFINITY values as -infinity. + */ + readonly NEGATIVE_INFINITY: number; + + /** + * A value greater than the largest number that can be represented in JavaScript. + * JavaScript displays POSITIVE_INFINITY values as infinity. + */ + readonly POSITIVE_INFINITY: number; +} + +/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */ +declare var Number: NumberConstructor; + +interface TemplateStringsArray extends ReadonlyArray { + readonly raw: readonly string[]; +} + +/** + * The type of `import.meta`. + * + * If you need to declare that a given property exists on `import.meta`, + * this type may be augmented via interface merging. + */ +interface ImportMeta {} + +/** + * The type for the optional second argument to `import()`. + * + * If your host environment supports additional options, this type may be + * augmented via interface merging. + */ +interface ImportCallOptions { + assert?: ImportAssertions; +} + +/** + * The type for the `assert` property of the optional second argument to `import()`. + */ +interface ImportAssertions { + [key: string]: string; +} + +interface Math { + /** The mathematical constant e. This is Euler's number, the base of natural logarithms. */ + readonly E: number; + /** The natural logarithm of 10. */ + readonly LN10: number; + /** The natural logarithm of 2. */ + readonly LN2: number; + /** The base-2 logarithm of e. */ + readonly LOG2E: number; + /** The base-10 logarithm of e. */ + readonly LOG10E: number; + /** Pi. This is the ratio of the circumference of a circle to its diameter. */ + readonly PI: number; + /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */ + readonly SQRT1_2: number; + /** The square root of 2. */ + readonly SQRT2: number; + /** + * Returns the absolute value of a number (the value without regard to whether it is positive or negative). + * For example, the absolute value of -5 is the same as the absolute value of 5. + * @param x A numeric expression for which the absolute value is needed. + */ + abs(x: number): number; + /** + * Returns the arc cosine (or inverse cosine) of a number. + * @param x A numeric expression. + */ + acos(x: number): number; + /** + * Returns the arcsine of a number. + * @param x A numeric expression. + */ + asin(x: number): number; + /** + * Returns the arctangent of a number. + * @param x A numeric expression for which the arctangent is needed. + */ + atan(x: number): number; + /** + * Returns the angle (in radians) from the X axis to a point. + * @param y A numeric expression representing the cartesian y-coordinate. + * @param x A numeric expression representing the cartesian x-coordinate. + */ + atan2(y: number, x: number): number; + /** + * Returns the smallest integer greater than or equal to its numeric argument. + * @param x A numeric expression. + */ + ceil(x: number): number; + /** + * Returns the cosine of a number. + * @param x A numeric expression that contains an angle measured in radians. + */ + cos(x: number): number; + /** + * Returns e (the base of natural logarithms) raised to a power. + * @param x A numeric expression representing the power of e. + */ + exp(x: number): number; + /** + * Returns the greatest integer less than or equal to its numeric argument. + * @param x A numeric expression. + */ + floor(x: number): number; + /** + * Returns the natural logarithm (base e) of a number. + * @param x A numeric expression. + */ + log(x: number): number; + /** + * Returns the larger of a set of supplied numeric expressions. + * @param values Numeric expressions to be evaluated. + */ + max(...values: number[]): number; + /** + * Returns the smaller of a set of supplied numeric expressions. + * @param values Numeric expressions to be evaluated. + */ + min(...values: number[]): number; + /** + * Returns the value of a base expression taken to a specified power. + * @param x The base value of the expression. + * @param y The exponent value of the expression. + */ + pow(x: number, y: number): number; + /** Returns a pseudorandom number between 0 and 1. */ + random(): number; + /** + * Returns a supplied numeric expression rounded to the nearest integer. + * @param x The value to be rounded to the nearest integer. + */ + round(x: number): number; + /** + * Returns the sine of a number. + * @param x A numeric expression that contains an angle measured in radians. + */ + sin(x: number): number; + /** + * Returns the square root of a number. + * @param x A numeric expression. + */ + sqrt(x: number): number; + /** + * Returns the tangent of a number. + * @param x A numeric expression that contains an angle measured in radians. + */ + tan(x: number): number; +} +/** An intrinsic object that provides basic mathematics functionality and constants. */ +declare var Math: Math; + +/** Enables basic storage and retrieval of dates and times. */ +interface Date { + /** Returns a string representation of a date. The format of the string depends on the locale. */ + toString(): string; + /** Returns a date as a string value. */ + toDateString(): string; + /** Returns a time as a string value. */ + toTimeString(): string; + /** Returns a value as a string value appropriate to the host environment's current locale. */ + toLocaleString(): string; + /** Returns a date as a string value appropriate to the host environment's current locale. */ + toLocaleDateString(): string; + /** Returns a time as a string value appropriate to the host environment's current locale. */ + toLocaleTimeString(): string; + /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */ + valueOf(): number; + /** Gets the time value in milliseconds. */ + getTime(): number; + /** Gets the year, using local time. */ + getFullYear(): number; + /** Gets the year using Universal Coordinated Time (UTC). */ + getUTCFullYear(): number; + /** Gets the month, using local time. */ + getMonth(): number; + /** Gets the month of a Date object using Universal Coordinated Time (UTC). */ + getUTCMonth(): number; + /** Gets the day-of-the-month, using local time. */ + getDate(): number; + /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */ + getUTCDate(): number; + /** Gets the day of the week, using local time. */ + getDay(): number; + /** Gets the day of the week using Universal Coordinated Time (UTC). */ + getUTCDay(): number; + /** Gets the hours in a date, using local time. */ + getHours(): number; + /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */ + getUTCHours(): number; + /** Gets the minutes of a Date object, using local time. */ + getMinutes(): number; + /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */ + getUTCMinutes(): number; + /** Gets the seconds of a Date object, using local time. */ + getSeconds(): number; + /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */ + getUTCSeconds(): number; + /** Gets the milliseconds of a Date, using local time. */ + getMilliseconds(): number; + /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */ + getUTCMilliseconds(): number; + /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */ + getTimezoneOffset(): number; + /** + * Sets the date and time value in the Date object. + * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT. + */ + setTime(time: number): number; + /** + * Sets the milliseconds value in the Date object using local time. + * @param ms A numeric value equal to the millisecond value. + */ + setMilliseconds(ms: number): number; + /** + * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC). + * @param ms A numeric value equal to the millisecond value. + */ + setUTCMilliseconds(ms: number): number; + + /** + * Sets the seconds value in the Date object using local time. + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setSeconds(sec: number, ms?: number): number; + /** + * Sets the seconds value in the Date object using Universal Coordinated Time (UTC). + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setUTCSeconds(sec: number, ms?: number): number; + /** + * Sets the minutes value in the Date object using local time. + * @param min A numeric value equal to the minutes value. + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setMinutes(min: number, sec?: number, ms?: number): number; + /** + * Sets the minutes value in the Date object using Universal Coordinated Time (UTC). + * @param min A numeric value equal to the minutes value. + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setUTCMinutes(min: number, sec?: number, ms?: number): number; + /** + * Sets the hour value in the Date object using local time. + * @param hours A numeric value equal to the hours value. + * @param min A numeric value equal to the minutes value. + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setHours(hours: number, min?: number, sec?: number, ms?: number): number; + /** + * Sets the hours value in the Date object using Universal Coordinated Time (UTC). + * @param hours A numeric value equal to the hours value. + * @param min A numeric value equal to the minutes value. + * @param sec A numeric value equal to the seconds value. + * @param ms A numeric value equal to the milliseconds value. + */ + setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number; + /** + * Sets the numeric day-of-the-month value of the Date object using local time. + * @param date A numeric value equal to the day of the month. + */ + setDate(date: number): number; + /** + * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC). + * @param date A numeric value equal to the day of the month. + */ + setUTCDate(date: number): number; + /** + * Sets the month value in the Date object using local time. + * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. + * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used. + */ + setMonth(month: number, date?: number): number; + /** + * Sets the month value in the Date object using Universal Coordinated Time (UTC). + * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. + * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used. + */ + setUTCMonth(month: number, date?: number): number; + /** + * Sets the year of the Date object using local time. + * @param year A numeric value for the year. + * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified. + * @param date A numeric value equal for the day of the month. + */ + setFullYear(year: number, month?: number, date?: number): number; + /** + * Sets the year value in the Date object using Universal Coordinated Time (UTC). + * @param year A numeric value equal to the year. + * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied. + * @param date A numeric value equal to the day of the month. + */ + setUTCFullYear(year: number, month?: number, date?: number): number; + /** Returns a date converted to a string using Universal Coordinated Time (UTC). */ + toUTCString(): string; + /** Returns a date as a string value in ISO format. */ + toISOString(): string; + /** Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization. */ + toJSON(key?: any): string; +} + +interface DateConstructor { + (): string; + readonly prototype: Date; + /** + * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970. + * @param s A date string + */ + parse(s: string): number; + /** + * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date. + * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year. + * @param month The month as a number between 0 and 11 (January to December). + * @param date The date as a number between 1 and 31. + * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour. + * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes. + * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds. + * @param ms A number from 0 to 999 that specifies the milliseconds. + */ + UTC( + year: number, + month: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + ms?: number + ): number; + now(): number; +} + +interface ISjsGetDate { + (): Date; + (value: number | string): Date; + ( + year: number, + month: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + ms?: number + ): Date; +} + +declare var getDate: ISjsGetDate; +declare var Date: DateConstructor; + +interface RegExpMatchArray extends Array { + /** + * The index of the search at which the result was found. + */ + index?: number; + /** + * A copy of the search string. + */ + input?: string; +} + +interface RegExpExecArray extends Array { + /** + * The index of the search at which the result was found. + */ + index: number; + /** + * A copy of the search string. + */ + input: string; +} + +interface RegExp { + /** + * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search. + * @param string The String object or string literal on which to perform the search. + */ + exec(string: string): RegExpExecArray | null; + + /** + * Returns a Boolean value that indicates whether or not a pattern exists in a searched string. + * @param string String on which to perform the search. + */ + test(string: string): boolean; + + /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */ + readonly source: string; + + /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */ + readonly global: boolean; + + /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */ + readonly ignoreCase: boolean; + + /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */ + readonly multiline: boolean; + + lastIndex: number; + + // Non-standard extensions + /** @deprecated A legacy feature for browser compatibility */ + compile(pattern: string, flags?: string): this; +} + +interface RegExpConstructor { + (pattern: RegExp | string): RegExp; + (pattern: string, flags?: string): RegExp; + readonly prototype: RegExp; + + // Non-standard extensions + /** @deprecated A legacy feature for browser compatibility */ + $1: string; + /** @deprecated A legacy feature for browser compatibility */ + $2: string; + /** @deprecated A legacy feature for browser compatibility */ + $3: string; + /** @deprecated A legacy feature for browser compatibility */ + $4: string; + /** @deprecated A legacy feature for browser compatibility */ + $5: string; + /** @deprecated A legacy feature for browser compatibility */ + $6: string; + /** @deprecated A legacy feature for browser compatibility */ + $7: string; + /** @deprecated A legacy feature for browser compatibility */ + $8: string; + /** @deprecated A legacy feature for browser compatibility */ + $9: string; + /** @deprecated A legacy feature for browser compatibility */ + input: string; + /** @deprecated A legacy feature for browser compatibility */ + $_: string; + /** @deprecated A legacy feature for browser compatibility */ + lastMatch: string; + /** @deprecated A legacy feature for browser compatibility */ + '$&': string; + /** @deprecated A legacy feature for browser compatibility */ + lastParen: string; + /** @deprecated A legacy feature for browser compatibility */ + '$+': string; + /** @deprecated A legacy feature for browser compatibility */ + leftContext: string; + /** @deprecated A legacy feature for browser compatibility */ + '$`': string; + /** @deprecated A legacy feature for browser compatibility */ + rightContext: string; + /** @deprecated A legacy feature for browser compatibility */ + "$'": string; +} + +interface ISjsGetRegExp { + (pattern: RegExp | string): RegExp; + (pattern: string, flags?: string): RegExp; +} + +declare var getRegExp: ISjsGetRegExp; +declare var RegExp: RegExpConstructor; + +interface Error { + name: string; + message: string; + stack?: string; +} + +interface ErrorConstructor { + new (message?: string): Error; + (message?: string): Error; + readonly prototype: Error; +} + +interface JSON { + /** + * Converts a JavaScript Object Notation (JSON) string into an object. + * @param text A valid JSON string. + * @param reviver A function that transforms the results. This function is called for each member of the object. + * If a member contains nested objects, the nested objects are transformed before the parent object is. + */ + parse( + text: string, + reviver?: (this: any, key: string, value: any) => any + ): any; + /** + * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. + * @param value A JavaScript value, usually an object or array, to be converted. + * @param replacer A function that transforms the results. + * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. + */ + stringify( + value: any, + replacer?: (this: any, key: string, value: any) => any, + space?: string | number + ): string; + /** + * Converts a JavaScript value to a JavaScript Object Notation (JSON) string. + * @param value A JavaScript value, usually an object or array, to be converted. + * @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified. + * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read. + */ + stringify( + value: any, + replacer?: (number | string)[] | null, + space?: string | number + ): string; +} + +/** + * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format. + */ +declare var JSON: JSON; + +///////////////////////////// +/// ECMAScript Array API (specially handled by compiler) +///////////////////////////// + +interface ReadonlyArray { + /** + * Gets the length of the array. This is a number one higher than the highest element defined in an array. + */ + readonly length: number; + /** + * Returns a string representation of an array. + */ + toString(): string; + /** + * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods. + */ + toLocaleString(): string; + /** + * Combines two or more arrays. + * @param items Additional items to add to the end of array1. + */ + concat(...items: ConcatArray[]): T[]; + /** + * Combines two or more arrays. + * @param items Additional items to add to the end of array1. + */ + concat(...items: (T | ConcatArray)[]): T[]; + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): T[]; + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0. + */ + indexOf(searchElement: T, fromIndex?: number): number; + /** + * Returns the index of the last occurrence of a specified value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array. + */ + lastIndexOf(searchElement: T, fromIndex?: number): number; + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: T, index: number, array: readonly T[]) => value is S, + thisArg?: any + ): this is readonly S[]; + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: T, index: number, array: readonly T[]) => unknown, + thisArg?: any + ): boolean; + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: T, index: number, array: readonly T[]) => unknown, + thisArg?: any + ): boolean; + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: T, index: number, array: readonly T[]) => void, + thisArg?: any + ): void; + /** + * Calls a defined callback function on each element of an array, and returns an array that contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: T, index: number, array: readonly T[]) => U, + thisArg?: any + ): U[]; + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: T, index: number, array: readonly T[]) => value is S, + thisArg?: any + ): S[]; + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: T, index: number, array: readonly T[]) => unknown, + thisArg?: any + ): T[]; + /** + * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => T + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => T, + initialValue: T + ): T; + /** + * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => U, + initialValue: U + ): U; + /** + * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => T + ): T; + reduceRight( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => T, + initialValue: T + ): T; + /** + * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + array: readonly T[] + ) => U, + initialValue: U + ): U; + + readonly [n: number]: T; +} + +interface ConcatArray { + readonly length: number; + readonly [n: number]: T; + join(separator?: string): string; + slice(start?: number, end?: number): T[]; +} + +interface Array { + /** + * Gets or sets the length of the array. This is a number one higher than the highest index in the array. + */ + length: number; + /** + * Returns a string representation of an array. + */ + toString(): string; + /** + * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods. + */ + toLocaleString(): string; + /** + * Removes the last element from an array and returns it. + * If the array is empty, undefined is returned and the array is not modified. + */ + pop(): T | undefined; + /** + * Appends new elements to the end of an array, and returns the new length of the array. + * @param items New elements to add to the array. + */ + push(...items: T[]): number; + /** + * Combines two or more arrays. + * This method returns a new array without modifying any existing arrays. + * @param items Additional arrays and/or items to add to the end of the array. + */ + concat(...items: ConcatArray[]): T[]; + /** + * Combines two or more arrays. + * This method returns a new array without modifying any existing arrays. + * @param items Additional arrays and/or items to add to the end of the array. + */ + concat(...items: (T | ConcatArray)[]): T[]; + /** + * Adds all the elements of an array into a string, separated by the specified separator string. + * @param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + /** + * Reverses the elements in an array in place. + * This method mutates the array and returns a reference to the same array. + */ + reverse(): T[]; + /** + * Removes the first element from an array and returns it. + * If the array is empty, undefined is returned and the array is not modified. + */ + shift(): T | undefined; + /** + * Returns a copy of a section of an array. + * For both start and end, a negative index can be used to indicate an offset from the end of the array. + * For example, -2 refers to the second to last element of the array. + * @param start The beginning index of the specified portion of the array. + * If start is undefined, then the slice begins at index 0. + * @param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'. + * If end is undefined, then the slice extends to the end of the array. + */ + slice(start?: number, end?: number): T[]; + /** + * Sorts an array in place. + * This method mutates the array and returns a reference to the same array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive + * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: T, b: T) => number): this; + /** + * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. + * @param start The zero-based location in the array from which to start removing elements. + * @param deleteCount The number of elements to remove. + * @returns An array containing the elements that were deleted. + */ + splice(start: number, deleteCount?: number): T[]; + /** + * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. + * @param start The zero-based location in the array from which to start removing elements. + * @param deleteCount The number of elements to remove. + * @param items Elements to insert into the array in place of the deleted elements. + * @returns An array containing the elements that were deleted. + */ + splice(start: number, deleteCount: number, ...items: T[]): T[]; + /** + * Inserts new elements at the start of an array, and returns the new length of the array. + * @param items Elements to insert at the start of the array. + */ + unshift(...items: T[]): number; + /** + * Returns the index of the first occurrence of a value in an array, or -1 if it is not present. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0. + */ + indexOf(searchElement: T, fromIndex?: number): number; + /** + * Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array. + */ + lastIndexOf(searchElement: T, fromIndex?: number): number; + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: T, index: number, array: T[]) => value is S, + thisArg?: any + ): this is S[]; + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: T, index: number, array: T[]) => unknown, + thisArg?: any + ): boolean; + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: T, index: number, array: T[]) => unknown, + thisArg?: any + ): boolean; + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: T, index: number, array: T[]) => void, + thisArg?: any + ): void; + /** + * Calls a defined callback function on each element of an array, and returns an array that contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: T, index: number, array: T[]) => U, + thisArg?: any + ): U[]; + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: T, index: number, array: T[]) => value is S, + thisArg?: any + ): S[]; + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: T, index: number, array: T[]) => unknown, + thisArg?: any + ): T[]; + /** + * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: T[] + ) => T + ): T; + reduce( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: T[] + ) => T, + initialValue: T + ): T; + /** + * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + array: T[] + ) => U, + initialValue: U + ): U; + /** + * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: T[] + ) => T + ): T; + reduceRight( + callbackfn: ( + previousValue: T, + currentValue: T, + currentIndex: number, + array: T[] + ) => T, + initialValue: T + ): T; + /** + * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: T, + currentIndex: number, + array: T[] + ) => U, + initialValue: U + ): U; + + [n: number]: T; +} + +interface TypedPropertyDescriptor { + enumerable?: boolean; + configurable?: boolean; + writable?: boolean; + value?: T; + get?: () => T; + set?: (value: T) => void; +} + +declare type ClassDecorator = ( + target: TFunction +) => TFunction | void; +declare type PropertyDecorator = ( + target: Object, + propertyKey: string | symbol +) => void; +declare type MethodDecorator = ( + target: Object, + propertyKey: string | symbol, + descriptor: TypedPropertyDescriptor +) => TypedPropertyDescriptor | void; +declare type ParameterDecorator = ( + target: Object, + propertyKey: string | symbol, + parameterIndex: number +) => void; + +declare type PromiseConstructorLike = new ( + executor: ( + resolve: (value: T | PromiseLike) => void, + reject: (reason?: any) => void + ) => void +) => PromiseLike; + +interface PromiseLike { + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then( + onfulfilled?: + | ((value: T) => TResult1 | PromiseLike) + | undefined + | null, + onrejected?: + | ((reason: any) => TResult2 | PromiseLike) + | undefined + | null + ): PromiseLike; +} + +/** + * Represents the completion of an asynchronous operation + */ +interface Promise { + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then( + onfulfilled?: + | ((value: T) => TResult1 | PromiseLike) + | undefined + | null, + onrejected?: + | ((reason: any) => TResult2 | PromiseLike) + | undefined + | null + ): Promise; + + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch( + onrejected?: + | ((reason: any) => TResult | PromiseLike) + | undefined + | null + ): Promise; +} + +/** + * Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to `never`. This emulates the behavior of `await`. + */ +type Awaited = T extends null | undefined + ? T // special case for `null | undefined` when not in `--strictNullChecks` mode + : T extends object & { then(onfulfilled: infer F): any } // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped + ? F extends (value: infer V, ...args: any) => any // if the argument to `then` is callable, extracts the first argument + ? Awaited // recursively unwrap the value + : never // the argument to `then` was not callable + : T; // non-object or non-thenable + +interface ArrayLike { + readonly length: number; + readonly [n: number]: T; +} + +/** + * Make all properties in T optional + */ +type Partial = { + [P in keyof T]?: T[P]; +}; + +/** + * Make all properties in T required + */ +type Required = { + [P in keyof T]-?: T[P]; +}; + +/** + * Make all properties in T readonly + */ +type Readonly = { + readonly [P in keyof T]: T[P]; +}; + +/** + * From T, pick a set of properties whose keys are in the union K + */ +type Pick = { + [P in K]: T[P]; +}; + +/** + * Construct a type with a set of properties K of type T + */ +type Record = { + [P in K]: T; +}; + +/** + * Exclude from T those types that are assignable to U + */ +type Exclude = T extends U ? never : T; + +/** + * Extract from T those types that are assignable to U + */ +type Extract = T extends U ? T : never; + +/** + * Construct a type with the properties of T except for those in type K. + */ +type Omit = Pick>; + +/** + * Exclude null and undefined from T + */ +type NonNullable = T & {}; + +/** + * Obtain the parameters of a function type in a tuple + */ +type Parameters any> = T extends ( + ...args: infer P +) => any + ? P + : never; + +/** + * Obtain the parameters of a constructor function type in a tuple + */ +type ConstructorParameters any> = + T extends abstract new (...args: infer P) => any ? P : never; + +/** + * Obtain the return type of a function type + */ +type ReturnType any> = T extends ( + ...args: any +) => infer R + ? R + : any; + +/** + * Obtain the return type of a constructor function type + */ +type InstanceType any> = + T extends abstract new (...args: any) => infer R ? R : any; + +/** + * Convert string literal type to uppercase + */ +type Uppercase = intrinsic; + +/** + * Convert string literal type to lowercase + */ +type Lowercase = intrinsic; + +/** + * Convert first character of string literal type to uppercase + */ +type Capitalize = intrinsic; + +/** + * Convert first character of string literal type to lowercase + */ +type Uncapitalize = intrinsic; + +/** + * Marker for contextual 'this' type + */ +interface ThisType {} + +/** + * Represents a raw buffer of binary data, which is used to store data for the + * different typed arrays. ArrayBuffers cannot be read from or written to directly, + * but can be passed to a typed array or DataView Object to interpret the raw + * buffer as needed. + */ +interface ArrayBuffer { + /** + * Read-only. The length of the ArrayBuffer (in bytes). + */ + readonly byteLength: number; + + /** + * Returns a section of an ArrayBuffer. + */ + slice(begin: number, end?: number): ArrayBuffer; +} + +/** + * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays. + */ +interface ArrayBufferTypes { + ArrayBuffer: ArrayBuffer; +} +type ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes]; + +interface ArrayBufferView { + /** + * The ArrayBuffer instance referenced by the array. + */ + buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + byteLength: number; + + /** + * The offset in bytes of the array. + */ + byteOffset: number; +} + +/** + * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested + * number of bytes could not be allocated an exception is raised. + */ +interface Int8Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Int8Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Int8Array) => any, + thisArg?: any + ): Int8Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Int8Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Int8Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Int8Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Int8Array) => number, + thisArg?: any + ): Int8Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int8Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Int8Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Int8Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Int8Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Int8Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Int8Array; + + [index: number]: number; +} + +/** + * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the + * requested number of bytes could not be allocated an exception is raised. + */ +interface Uint8Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Uint8Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Uint8Array) => any, + thisArg?: any + ): Uint8Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Uint8Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Uint8Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Uint8Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Uint8Array) => number, + thisArg?: any + ): Uint8Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint8Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Uint8Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Uint8Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Uint8Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Uint8Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Uint8Array; + + [index: number]: number; +} + +/** + * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0. + * If the requested number of bytes could not be allocated an exception is raised. + */ +interface Uint8ClampedArray { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: ( + value: number, + index: number, + array: Uint8ClampedArray + ) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Uint8ClampedArray) => any, + thisArg?: any + ): Uint8ClampedArray; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: ( + value: number, + index: number, + obj: Uint8ClampedArray + ) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: ( + value: number, + index: number, + obj: Uint8ClampedArray + ) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: ( + value: number, + index: number, + array: Uint8ClampedArray + ) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: ( + value: number, + index: number, + array: Uint8ClampedArray + ) => number, + thisArg?: any + ): Uint8ClampedArray; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint8ClampedArray + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Uint8ClampedArray; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Uint8ClampedArray; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: ( + value: number, + index: number, + array: Uint8ClampedArray + ) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Uint8ClampedArray; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Uint8ClampedArray; + + [index: number]: number; +} + +/** + * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the + * requested number of bytes could not be allocated an exception is raised. + */ +interface Int16Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Int16Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Int16Array) => any, + thisArg?: any + ): Int16Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Int16Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Int16Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Int16Array) => void, + thisArg?: any + ): void; + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Int16Array) => number, + thisArg?: any + ): Int16Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int16Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Int16Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Int16Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Int16Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Int16Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Int16Array; + + [index: number]: number; +} + +/** + * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the + * requested number of bytes could not be allocated an exception is raised. + */ +interface Uint16Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Uint16Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Uint16Array) => any, + thisArg?: any + ): Uint16Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Uint16Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Uint16Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Uint16Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Uint16Array) => number, + thisArg?: any + ): Uint16Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint16Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Uint16Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Uint16Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Uint16Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Uint16Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Uint16Array; + + [index: number]: number; +} + +/** + * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the + * requested number of bytes could not be allocated an exception is raised. + */ +interface Int32Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Int32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Int32Array) => any, + thisArg?: any + ): Int32Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Int32Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Int32Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Int32Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Int32Array) => number, + thisArg?: any + ): Int32Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Int32Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Int32Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Int32Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Int32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Int32Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Int32Array; + + [index: number]: number; +} + +/** + * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the + * requested number of bytes could not be allocated an exception is raised. + */ +interface Uint32Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Uint32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Uint32Array) => any, + thisArg?: any + ): Uint32Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Uint32Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Uint32Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Uint32Array) => void, + thisArg?: any + ): void; + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Uint32Array) => number, + thisArg?: any + ): Uint32Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Uint32Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Uint32Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Uint32Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Uint32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Uint32Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Uint32Array; + + [index: number]: number; +} + +/** + * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number + * of bytes could not be allocated an exception is raised. + */ +interface Float32Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Float32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Float32Array) => any, + thisArg?: any + ): Float32Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Float32Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Float32Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Float32Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Float32Array) => number, + thisArg?: any + ): Float32Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Float32Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Float32Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Float32Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Float32Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Float32Array; + + /** + * Converts a number to a string by using the current locale. + */ + toLocaleString(): string; + + /** + * Returns a string representation of an array. + */ + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Float32Array; + + [index: number]: number; +} + +/** + * A typed array of 64-bit float values. The contents are initialized to 0. If the requested + * number of bytes could not be allocated an exception is raised. + */ +interface Float64Array { + /** + * The size in bytes of each element in the array. + */ + readonly BYTES_PER_ELEMENT: number; + + /** + * The ArrayBuffer instance referenced by the array. + */ + readonly buffer: ArrayBufferLike; + + /** + * The length in bytes of the array. + */ + readonly byteLength: number; + + /** + * The offset in bytes of the array. + */ + readonly byteOffset: number; + + /** + * Returns the this object after copying a section of the array identified by start and end + * to the same array starting at position target + * @param target If target is negative, it is treated as length+target where length is the + * length of the array. + * @param start If start is negative, it is treated as length+start. If end is negative, it + * is treated as length+end. + * @param end If not specified, length of the this object is used as its default value. + */ + copyWithin(target: number, start: number, end?: number): this; + + /** + * Determines whether all the members of an array satisfy the specified test. + * @param predicate A function that accepts up to three arguments. The every method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value false, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + every( + predicate: (value: number, index: number, array: Float64Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array + * @param value value to fill array section with + * @param start index to start filling the array at. If start is negative, it is treated as + * length+start where length is the length of the array. + * @param end index to stop filling the array at. If end is negative, it is treated as + * length+end. + */ + fill(value: number, start?: number, end?: number): this; + + /** + * Returns the elements of an array that meet the condition specified in a callback function. + * @param predicate A function that accepts up to three arguments. The filter method calls + * the predicate function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + filter( + predicate: (value: number, index: number, array: Float64Array) => any, + thisArg?: any + ): Float64Array; + + /** + * Returns the value of the first element in the array where predicate is true, and undefined + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, find + * immediately returns that element value. Otherwise, find returns undefined. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + find( + predicate: (value: number, index: number, obj: Float64Array) => boolean, + thisArg?: any + ): number | undefined; + + /** + * Returns the index of the first element in the array where predicate is true, and -1 + * otherwise. + * @param predicate find calls predicate once for each element of the array, in ascending + * order, until it finds one where predicate returns true. If such an element is found, + * findIndex immediately returns that element index. Otherwise, findIndex returns -1. + * @param thisArg If provided, it will be used as the this value for each invocation of + * predicate. If it is not provided, undefined is used instead. + */ + findIndex( + predicate: (value: number, index: number, obj: Float64Array) => boolean, + thisArg?: any + ): number; + + /** + * Performs the specified action for each element in an array. + * @param callbackfn A function that accepts up to three arguments. forEach calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + forEach( + callbackfn: (value: number, index: number, array: Float64Array) => void, + thisArg?: any + ): void; + + /** + * Returns the index of the first occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + indexOf(searchElement: number, fromIndex?: number): number; + + /** + * Adds all the elements of an array separated by the specified separator string. + * @param separator A string used to separate one element of an array from the next in the + * resulting String. If omitted, the array elements are separated with a comma. + */ + join(separator?: string): string; + + /** + * Returns the index of the last occurrence of a value in an array. + * @param searchElement The value to locate in the array. + * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the + * search starts at index 0. + */ + lastIndexOf(searchElement: number, fromIndex?: number): number; + + /** + * The length of the array. + */ + readonly length: number; + + /** + * Calls a defined callback function on each element of an array, and returns an array that + * contains the results. + * @param callbackfn A function that accepts up to three arguments. The map method calls the + * callbackfn function one time for each element in the array. + * @param thisArg An object to which the this keyword can refer in the callbackfn function. + * If thisArg is omitted, undefined is used as the this value. + */ + map( + callbackfn: (value: number, index: number, array: Float64Array) => number, + thisArg?: any + ): Float64Array; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => number + ): number; + reduce( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array. The return value of + * the callback function is the accumulated result, and is provided as an argument in the next + * call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduce method calls the + * callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduce( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => U, + initialValue: U + ): U; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an + * argument instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => number + ): number; + reduceRight( + callbackfn: ( + previousValue: number, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => number, + initialValue: number + ): number; + + /** + * Calls the specified callback function for all the elements in an array, in descending order. + * The return value of the callback function is the accumulated result, and is provided as an + * argument in the next call to the callback function. + * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls + * the callbackfn function one time for each element in the array. + * @param initialValue If initialValue is specified, it is used as the initial value to start + * the accumulation. The first call to the callbackfn function provides this value as an argument + * instead of an array value. + */ + reduceRight( + callbackfn: ( + previousValue: U, + currentValue: number, + currentIndex: number, + array: Float64Array + ) => U, + initialValue: U + ): U; + + /** + * Reverses the elements in an Array. + */ + reverse(): Float64Array; + + /** + * Sets a value or an array of values. + * @param array A typed or untyped array of values to set. + * @param offset The index in the current array at which the values are to be written. + */ + set(array: ArrayLike, offset?: number): void; + + /** + * Returns a section of an array. + * @param start The beginning of the specified portion of the array. + * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. + */ + slice(start?: number, end?: number): Float64Array; + + /** + * Determines whether the specified callback function returns true for any element of an array. + * @param predicate A function that accepts up to three arguments. The some method calls + * the predicate function for each element in the array until the predicate returns a value + * which is coercible to the Boolean value true, or until the end of the array. + * @param thisArg An object to which the this keyword can refer in the predicate function. + * If thisArg is omitted, undefined is used as the this value. + */ + some( + predicate: (value: number, index: number, array: Float64Array) => unknown, + thisArg?: any + ): boolean; + + /** + * Sorts an array. + * @param compareFn Function used to determine the order of the elements. It is expected to return + * a negative value if first argument is less than second argument, zero if they're equal and a positive + * value otherwise. If omitted, the elements are sorted in ascending order. + * ```ts + * [11,2,22,1].sort((a, b) => a - b) + * ``` + */ + sort(compareFn?: (a: number, b: number) => number): this; + + /** + * at begin, inclusive, up to end, exclusive. + * @param begin The index of the beginning of the array. + * @param end The index of the end of the array. + */ + subarray(begin?: number, end?: number): Float64Array; + + toString(): string; + + /** Returns the primitive value of the specified object. */ + valueOf(): Float64Array; + + [index: number]: number; +} + +///////////////////////////// +/// ECMAScript Internationalization API +///////////////////////////// + +declare namespace Intl { + interface CollatorOptions { + usage?: string | undefined; + localeMatcher?: string | undefined; + numeric?: boolean | undefined; + caseFirst?: string | undefined; + sensitivity?: string | undefined; + ignorePunctuation?: boolean | undefined; + } + + interface ResolvedCollatorOptions { + locale: string; + usage: string; + sensitivity: string; + ignorePunctuation: boolean; + collation: string; + caseFirst: string; + numeric: boolean; + } + + interface Collator { + compare(x: string, y: string): number; + resolvedOptions(): ResolvedCollatorOptions; + } + + interface NumberFormatOptions { + localeMatcher?: string | undefined; + style?: string | undefined; + currency?: string | undefined; + currencySign?: string | undefined; + useGrouping?: boolean | undefined; + minimumIntegerDigits?: number | undefined; + minimumFractionDigits?: number | undefined; + maximumFractionDigits?: number | undefined; + minimumSignificantDigits?: number | undefined; + maximumSignificantDigits?: number | undefined; + } + + interface ResolvedNumberFormatOptions { + locale: string; + numberingSystem: string; + style: string; + currency?: string; + minimumIntegerDigits: number; + minimumFractionDigits: number; + maximumFractionDigits: number; + minimumSignificantDigits?: number; + maximumSignificantDigits?: number; + useGrouping: boolean; + } + + interface NumberFormat { + format(value: number): string; + resolvedOptions(): ResolvedNumberFormatOptions; + } + + interface DateTimeFormatOptions { + localeMatcher?: 'best fit' | 'lookup' | undefined; + weekday?: 'long' | 'short' | 'narrow' | undefined; + era?: 'long' | 'short' | 'narrow' | undefined; + year?: 'numeric' | '2-digit' | undefined; + month?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow' | undefined; + day?: 'numeric' | '2-digit' | undefined; + hour?: 'numeric' | '2-digit' | undefined; + minute?: 'numeric' | '2-digit' | undefined; + second?: 'numeric' | '2-digit' | undefined; + timeZoneName?: + | 'short' + | 'long' + | 'shortOffset' + | 'longOffset' + | 'shortGeneric' + | 'longGeneric' + | undefined; + formatMatcher?: 'best fit' | 'basic' | undefined; + hour12?: boolean | undefined; + timeZone?: string | undefined; + } + + interface ResolvedDateTimeFormatOptions { + locale: string; + calendar: string; + numberingSystem: string; + timeZone: string; + hour12?: boolean; + weekday?: string; + era?: string; + year?: string; + month?: string; + day?: string; + hour?: string; + minute?: string; + second?: string; + timeZoneName?: string; + } + + interface DateTimeFormat { + format(date?: Date | number): string; + resolvedOptions(): ResolvedDateTimeFormatOptions; + } +} + +interface String { + /** + * Determines whether two strings are equivalent in the current or specified locale. + * @param that String to compare to target string + * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details. + * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details. + */ + localeCompare( + that: string, + locales?: string | string[], + options?: Intl.CollatorOptions + ): number; +} + +interface Number { + /** + * Converts a number to a string by using the current or specified locale. + * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. + * @param options An object that contains one or more properties that specify comparison options. + */ + toLocaleString( + locales?: string | string[], + options?: Intl.NumberFormatOptions + ): string; +} + +interface Date { + /** + * Converts a date and time to a string by using the current or specified locale. + * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. + * @param options An object that contains one or more properties that specify comparison options. + */ + toLocaleString( + locales?: string | string[], + options?: Intl.DateTimeFormatOptions + ): string; + /** + * Converts a date to a string by using the current or specified locale. + * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. + * @param options An object that contains one or more properties that specify comparison options. + */ + toLocaleDateString( + locales?: string | string[], + options?: Intl.DateTimeFormatOptions + ): string; + + /** + * Converts a time to a string by using the current or specified locale. + * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. + * @param options An object that contains one or more properties that specify comparison options. + */ + toLocaleTimeString( + locales?: string | string[], + options?: Intl.DateTimeFormatOptions + ): string; +} + +interface Console { + assert(condition?: boolean, ...data: any[]): void; + clear(): void; + count(label?: string): void; + countReset(label?: string): void; + debug(...data: any[]): void; + dir(item?: any, options?: any): void; + dirxml(...data: any[]): void; + error(...data: any[]): void; + group(...data: any[]): void; + groupCollapsed(...data: any[]): void; + groupEnd(): void; + info(...data: any[]): void; + log(...data: any[]): void; + table(tabularData?: any, properties?: string[]): void; + time(label?: string): void; + timeEnd(label?: string): void; + timeLog(label?: string, ...data: any[]): void; + timeStamp(label?: string): void; + trace(...data: any[]): void; + warn(...data: any[]): void; +} + +declare var console: Console; diff --git a/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.worker.d.ts b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.worker.d.ts new file mode 100644 index 0000000..8f162e0 --- /dev/null +++ b/甲情_甲意/miniprogram/node_modules/@mini-types/global/types/lib.worker.d.ts @@ -0,0 +1,8348 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +/** + * This is a subset of the lib.webworker.d.ts file. + * 1. remove XHR, fetch, WebSocket, WebAssembly, XMLHttpRequestUpload + */ + +/// + +///////////////////////////// +/// Worker APIs +///////////////////////////// + +interface AddEventListenerOptions extends EventListenerOptions { + once?: boolean; + passive?: boolean; + signal?: AbortSignal; +} + +interface AesCbcParams extends Algorithm { + iv: BufferSource; +} + +interface AesCtrParams extends Algorithm { + counter: BufferSource; + length: number; +} + +interface AesDerivedKeyParams extends Algorithm { + length: number; +} + +interface AesGcmParams extends Algorithm { + additionalData?: BufferSource; + iv: BufferSource; + tagLength?: number; +} + +interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; +} + +interface AesKeyGenParams extends Algorithm { + length: number; +} + +interface Algorithm { + name: string; +} + +interface AudioConfiguration { + bitrate?: number; + channels?: string; + contentType: string; + samplerate?: number; + spatialRendering?: boolean; +} + +interface BlobPropertyBag { + endings?: EndingType; + type?: string; +} + +interface CacheQueryOptions { + ignoreMethod?: boolean; + ignoreSearch?: boolean; + ignoreVary?: boolean; +} + +interface ClientQueryOptions { + includeUncontrolled?: boolean; + type?: ClientTypes; +} + +interface CloseEventInit extends EventInit { + code?: number; + reason?: string; + wasClean?: boolean; +} + +interface CryptoKeyPair { + privateKey: CryptoKey; + publicKey: CryptoKey; +} + +interface CustomEventInit extends EventInit { + detail?: T; +} + +interface DOMMatrix2DInit { + a?: number; + b?: number; + c?: number; + d?: number; + e?: number; + f?: number; + m11?: number; + m12?: number; + m21?: number; + m22?: number; + m41?: number; + m42?: number; +} + +interface DOMMatrixInit extends DOMMatrix2DInit { + is2D?: boolean; + m13?: number; + m14?: number; + m23?: number; + m24?: number; + m31?: number; + m32?: number; + m33?: number; + m34?: number; + m43?: number; + m44?: number; +} + +interface DOMPointInit { + w?: number; + x?: number; + y?: number; + z?: number; +} + +interface DOMQuadInit { + p1?: DOMPointInit; + p2?: DOMPointInit; + p3?: DOMPointInit; + p4?: DOMPointInit; +} + +interface DOMRectInit { + height?: number; + width?: number; + x?: number; + y?: number; +} + +interface EcKeyGenParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcKeyImportParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; +} + +interface EcdsaParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface ErrorEventInit extends EventInit { + colno?: number; + error?: any; + filename?: string; + lineno?: number; + message?: string; +} + +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface EventListenerOptions { + capture?: boolean; +} + +interface EventSourceInit { + withCredentials?: boolean; +} + +interface ExtendableEventInit extends EventInit {} + +interface ExtendableMessageEventInit extends ExtendableEventInit { + data?: any; + lastEventId?: string; + origin?: string; + ports?: MessagePort[]; + source?: Client | ServiceWorker | MessagePort | null; +} + +interface FetchEventInit extends ExtendableEventInit { + clientId?: string; + handled?: Promise; + preloadResponse?: Promise; + replacesClientId?: string; + request: Request; + resultingClientId?: string; +} + +interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} + +interface FileSystemGetDirectoryOptions { + create?: boolean; +} + +interface FileSystemGetFileOptions { + create?: boolean; +} + +interface FileSystemRemoveOptions { + recursive?: boolean; +} + +interface FontFaceDescriptors { + display?: string; + featureSettings?: string; + stretch?: string; + style?: string; + unicodeRange?: string; + variant?: string; + weight?: string; +} + +interface FontFaceSetLoadEventInit extends EventInit { + fontfaces?: FontFace[]; +} + +interface GetNotificationOptions { + tag?: string; +} + +interface HkdfParams extends Algorithm { + hash: HashAlgorithmIdentifier; + info: BufferSource; + salt: BufferSource; +} + +interface HmacImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface HmacKeyGenParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface IDBDatabaseInfo { + name?: string; + version?: number; +} + +interface IDBIndexParameters { + multiEntry?: boolean; + unique?: boolean; +} + +interface IDBObjectStoreParameters { + autoIncrement?: boolean; + keyPath?: string | string[] | null; +} + +interface IDBTransactionOptions { + durability?: IDBTransactionDurability; +} + +interface IDBVersionChangeEventInit extends EventInit { + newVersion?: number | null; + oldVersion?: number; +} + +interface ImageBitmapOptions { + colorSpaceConversion?: ColorSpaceConversion; + imageOrientation?: ImageOrientation; + premultiplyAlpha?: PremultiplyAlpha; + resizeHeight?: number; + resizeQuality?: ResizeQuality; + resizeWidth?: number; +} + +interface ImageBitmapRenderingContextSettings { + alpha?: boolean; +} + +interface ImageDataSettings { + colorSpace?: PredefinedColorSpace; +} + +interface ImportMeta { + url: string; +} + +interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; +} + +interface KeyAlgorithm { + name: string; +} + +interface LockInfo { + clientId?: string; + mode?: LockMode; + name?: string; +} + +interface LockManagerSnapshot { + held?: LockInfo[]; + pending?: LockInfo[]; +} + +interface LockOptions { + ifAvailable?: boolean; + mode?: LockMode; + signal?: AbortSignal; + steal?: boolean; +} + +interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaDecodingConfiguration; +} + +interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaEncodingConfiguration; +} + +interface MediaCapabilitiesInfo { + powerEfficient: boolean; + smooth: boolean; + supported: boolean; +} + +interface MediaConfiguration { + audio?: AudioConfiguration; + video?: VideoConfiguration; +} + +interface MediaDecodingConfiguration extends MediaConfiguration { + type: MediaDecodingType; +} + +interface MediaEncodingConfiguration extends MediaConfiguration { + type: MediaEncodingType; +} + +interface MessageEventInit extends EventInit { + data?: T; + lastEventId?: string; + origin?: string; + ports?: MessagePort[]; + source?: MessageEventSource | null; +} + +interface MultiCacheQueryOptions extends CacheQueryOptions { + cacheName?: string; +} + +interface NavigationPreloadState { + enabled?: boolean; + headerValue?: string; +} + +interface NotificationAction { + action: string; + icon?: string; + title: string; +} + +interface NotificationEventInit extends ExtendableEventInit { + action?: string; + notification: Notification; +} + +interface NotificationOptions { + actions?: NotificationAction[]; + badge?: string; + body?: string; + data?: any; + dir?: NotificationDirection; + icon?: string; + image?: string; + lang?: string; + renotify?: boolean; + requireInteraction?: boolean; + silent?: boolean; + tag?: string; + timestamp?: EpochTimeStamp; + vibrate?: VibratePattern; +} + +interface Pbkdf2Params extends Algorithm { + hash: HashAlgorithmIdentifier; + iterations: number; + salt: BufferSource; +} + +interface PerformanceMarkOptions { + detail?: any; + startTime?: DOMHighResTimeStamp; +} + +interface PerformanceMeasureOptions { + detail?: any; + duration?: DOMHighResTimeStamp; + end?: string | DOMHighResTimeStamp; + start?: string | DOMHighResTimeStamp; +} + +interface PerformanceObserverInit { + buffered?: boolean; + entryTypes?: string[]; + type?: string; +} + +interface PermissionDescriptor { + name: PermissionName; +} + +interface ProgressEventInit extends EventInit { + lengthComputable?: boolean; + loaded?: number; + total?: number; +} + +interface PromiseRejectionEventInit extends EventInit { + promise: Promise; + reason?: any; +} + +interface PushEventInit extends ExtendableEventInit { + data?: PushMessageDataInit; +} + +interface PushSubscriptionJSON { + endpoint?: string; + expirationTime?: EpochTimeStamp | null; + keys?: Record; +} + +interface PushSubscriptionOptionsInit { + applicationServerKey?: BufferSource | string | null; + userVisibleOnly?: boolean; +} + +interface QueuingStrategy { + highWaterMark?: number; + size?: QueuingStrategySize; +} + +interface QueuingStrategyInit { + /** + * Creates a new ByteLengthQueuingStrategy with the provided high water mark. + * + * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw. + */ + highWaterMark: number; +} + +interface RTCEncodedAudioFrameMetadata { + contributingSources?: number[]; + synchronizationSource?: number; +} + +interface RTCEncodedVideoFrameMetadata { + contributingSources?: number[]; + dependencies?: number[]; + frameId?: number; + height?: number; + spatialIndex?: number; + synchronizationSource?: number; + temporalIndex?: number; + width?: number; +} + +interface ReadableStreamGetReaderOptions { + /** + * Creates a ReadableStreamBYOBReader and locks the stream to the new reader. + * + * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation. + */ + mode?: ReadableStreamReaderMode; +} + +interface ReadableStreamReadDoneResult { + done: true; + value?: T; +} + +interface ReadableStreamReadValueResult { + done: false; + value: T; +} + +interface ReadableWritablePair { + readable: ReadableStream; + /** + * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + */ + writable: WritableStream; +} + +interface RegistrationOptions { + scope?: string; + type?: WorkerType; + updateViaCache?: ServiceWorkerUpdateViaCache; +} + +interface RequestInit { + /** A BodyInit object or null to set request's body. */ + body?: BodyInit | null; + /** A string indicating how the request will interact with the browser's cache to set request's cache. */ + cache?: RequestCache; + /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */ + credentials?: RequestCredentials; + /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */ + headers?: HeadersInit; + /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */ + integrity?: string; + /** A boolean to set request's keepalive. */ + keepalive?: boolean; + /** A string to set request's method. */ + method?: string; + /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */ + mode?: RequestMode; + /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */ + redirect?: RequestRedirect; + /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */ + referrer?: string; + /** A referrer policy to set request's referrerPolicy. */ + referrerPolicy?: ReferrerPolicy; + /** An AbortSignal to set request's signal. */ + signal?: AbortSignal | null; + /** Can only be null. Used to disassociate request from any Window. */ + window?: null; +} + +interface ResponseInit { + headers?: HeadersInit; + status?: number; + statusText?: string; +} + +interface RsaHashedImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: HashAlgorithmIdentifier; +} + +interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: BigInteger; +} + +interface RsaOaepParams extends Algorithm { + label?: BufferSource; +} + +interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; +} + +interface RsaPssParams extends Algorithm { + saltLength: number; +} + +interface SecurityPolicyViolationEventInit extends EventInit { + blockedURI?: string; + columnNumber?: number; + disposition: SecurityPolicyViolationEventDisposition; + documentURI: string; + effectiveDirective: string; + lineNumber?: number; + originalPolicy: string; + referrer?: string; + sample?: string; + sourceFile?: string; + statusCode: number; + violatedDirective: string; +} + +interface StorageEstimate { + quota?: number; + usage?: number; +} + +interface StreamPipeOptions { + preventAbort?: boolean; + preventCancel?: boolean; + /** + * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + * + * Errors and closures of the source and destination streams propagate as follows: + * + * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination. + * + * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source. + * + * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error. + * + * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source. + * + * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set. + */ + preventClose?: boolean; + signal?: AbortSignal; +} + +interface StructuredSerializeOptions { + transfer?: Transferable[]; +} + +interface TextDecodeOptions { + stream?: boolean; +} + +interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; +} + +interface TextEncoderEncodeIntoResult { + read?: number; + written?: number; +} + +interface Transformer { + flush?: TransformerFlushCallback; + readableType?: undefined; + start?: TransformerStartCallback; + transform?: TransformerTransformCallback; + writableType?: undefined; +} + +interface UnderlyingByteSource { + autoAllocateChunkSize?: number; + cancel?: UnderlyingSourceCancelCallback; + pull?: (controller: ReadableByteStreamController) => void | PromiseLike; + start?: (controller: ReadableByteStreamController) => any; + type: 'bytes'; +} + +interface UnderlyingDefaultSource { + cancel?: UnderlyingSourceCancelCallback; + pull?: ( + controller: ReadableStreamDefaultController + ) => void | PromiseLike; + start?: (controller: ReadableStreamDefaultController) => any; + type?: undefined; +} + +interface UnderlyingSink { + abort?: UnderlyingSinkAbortCallback; + close?: UnderlyingSinkCloseCallback; + start?: UnderlyingSinkStartCallback; + type?: undefined; + write?: UnderlyingSinkWriteCallback; +} + +interface UnderlyingSource { + autoAllocateChunkSize?: number; + cancel?: UnderlyingSourceCancelCallback; + pull?: UnderlyingSourcePullCallback; + start?: UnderlyingSourceStartCallback; + type?: ReadableStreamType; +} + +interface VideoColorSpaceInit { + fullRange?: boolean | null; + matrix?: VideoMatrixCoefficients | null; + primaries?: VideoColorPrimaries | null; + transfer?: VideoTransferCharacteristics | null; +} + +interface VideoConfiguration { + bitrate: number; + colorGamut?: ColorGamut; + contentType: string; + framerate: number; + hdrMetadataType?: HdrMetadataType; + height: number; + scalabilityMode?: string; + transferFunction?: TransferFunction; + width: number; +} + +interface WebGLContextAttributes { + alpha?: boolean; + antialias?: boolean; + depth?: boolean; + desynchronized?: boolean; + failIfMajorPerformanceCaveat?: boolean; + powerPreference?: WebGLPowerPreference; + premultipliedAlpha?: boolean; + preserveDrawingBuffer?: boolean; + stencil?: boolean; +} + +interface WebGLContextEventInit extends EventInit { + statusMessage?: string; +} + +interface WorkerOptions { + credentials?: RequestCredentials; + name?: string; + type?: WorkerType; +} + +/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ +interface ANGLE_instanced_arrays { + drawArraysInstancedANGLE( + mode: GLenum, + first: GLint, + count: GLsizei, + primcount: GLsizei + ): void; + drawElementsInstancedANGLE( + mode: GLenum, + count: GLsizei, + type: GLenum, + offset: GLintptr, + primcount: GLsizei + ): void; + vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; + readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; +} + +/** A controller object that allows you to abort one or more DOM requests as and when desired. */ +interface AbortController { + /** Returns the AbortSignal object associated with this object. */ + readonly signal: AbortSignal; + /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ + abort(reason?: any): void; +} + +declare var AbortController: { + prototype: AbortController; + new (): AbortController; +}; + +interface AbortSignalEventMap { + abort: Event; +} + +/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ +interface AbortSignal extends EventTarget { + /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ + readonly aborted: boolean; + onabort: ((this: AbortSignal, ev: Event) => any) | null; + readonly reason: any; + throwIfAborted(): void; + addEventListener( + type: K, + listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var AbortSignal: { + prototype: AbortSignal; + new (): AbortSignal; + abort(reason?: any): AbortSignal; + timeout(milliseconds: number): AbortSignal; +}; + +interface AbstractWorkerEventMap { + error: ErrorEvent; +} + +interface AbstractWorker { + onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; + addEventListener( + type: K, + listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +interface AnimationFrameProvider { + cancelAnimationFrame(handle: number): void; + requestAnimationFrame(callback: FrameRequestCallback): number; +} + +/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ +interface Blob { + readonly size: number; + readonly type: string; + arrayBuffer(): Promise; + slice(start?: number, end?: number, contentType?: string): Blob; + stream(): ReadableStream; + text(): Promise; +} + +declare var Blob: { + prototype: Blob; + new (blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; +}; + +interface Body { + readonly body: ReadableStream | null; + readonly bodyUsed: boolean; + arrayBuffer(): Promise; + blob(): Promise; + formData(): Promise; + json(): Promise; + text(): Promise; +} + +interface BroadcastChannelEventMap { + message: MessageEvent; + messageerror: MessageEvent; +} + +interface BroadcastChannel extends EventTarget { + /** Returns the channel name (as passed to the constructor). */ + readonly name: string; + onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + /** Closes the BroadcastChannel object, opening it up to garbage collection. */ + close(): void; + /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */ + postMessage(message: any): void; + addEventListener( + type: K, + listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var BroadcastChannel: { + prototype: BroadcastChannel; + new (name: string): BroadcastChannel; +}; + +/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ +interface ByteLengthQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new (init: QueuingStrategyInit): ByteLengthQueuingStrategy; +}; + +/** + * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. + * Available only in secure contexts. + */ +interface Cache { + add(request: RequestInfo | URL): Promise; + addAll(requests: RequestInfo[]): Promise; + delete( + request: RequestInfo | URL, + options?: CacheQueryOptions + ): Promise; + keys( + request?: RequestInfo | URL, + options?: CacheQueryOptions + ): Promise>; + match( + request: RequestInfo | URL, + options?: CacheQueryOptions + ): Promise; + matchAll( + request?: RequestInfo | URL, + options?: CacheQueryOptions + ): Promise>; + put(request: RequestInfo | URL, response: Response): Promise; +} + +declare var Cache: { + prototype: Cache; + new (): Cache; +}; + +/** + * The storage for Cache objects. + * Available only in secure contexts. + */ +interface CacheStorage { + delete(cacheName: string): Promise; + has(cacheName: string): Promise; + keys(): Promise; + match( + request: RequestInfo | URL, + options?: MultiCacheQueryOptions + ): Promise; + open(cacheName: string): Promise; +} + +declare var CacheStorage: { + prototype: CacheStorage; + new (): CacheStorage; +}; + +interface CanvasCompositing { + globalAlpha: number; + globalCompositeOperation: GlobalCompositeOperation; +} + +interface CanvasDrawImage { + drawImage(image: CanvasImageSource, dx: number, dy: number): void; + drawImage( + image: CanvasImageSource, + dx: number, + dy: number, + dw: number, + dh: number + ): void; + drawImage( + image: CanvasImageSource, + sx: number, + sy: number, + sw: number, + sh: number, + dx: number, + dy: number, + dw: number, + dh: number + ): void; +} + +interface CanvasDrawPath { + beginPath(): void; + clip(fillRule?: CanvasFillRule): void; + clip(path: Path2D, fillRule?: CanvasFillRule): void; + fill(fillRule?: CanvasFillRule): void; + fill(path: Path2D, fillRule?: CanvasFillRule): void; + isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInPath( + path: Path2D, + x: number, + y: number, + fillRule?: CanvasFillRule + ): boolean; + isPointInStroke(x: number, y: number): boolean; + isPointInStroke(path: Path2D, x: number, y: number): boolean; + stroke(): void; + stroke(path: Path2D): void; +} + +interface CanvasFillStrokeStyles { + fillStyle: string | CanvasGradient | CanvasPattern; + strokeStyle: string | CanvasGradient | CanvasPattern; + createConicGradient(startAngle: number, x: number, y: number): CanvasGradient; + createLinearGradient( + x0: number, + y0: number, + x1: number, + y1: number + ): CanvasGradient; + createPattern( + image: CanvasImageSource, + repetition: string | null + ): CanvasPattern | null; + createRadialGradient( + x0: number, + y0: number, + r0: number, + x1: number, + y1: number, + r1: number + ): CanvasGradient; +} + +interface CanvasFilters { + filter: string; +} + +/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ +interface CanvasGradient { + /** + * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. + * + * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. + */ + addColorStop(offset: number, color: string): void; +} + +declare var CanvasGradient: { + prototype: CanvasGradient; + new (): CanvasGradient; +}; + +interface CanvasImageData { + createImageData( + sw: number, + sh: number, + settings?: ImageDataSettings + ): ImageData; + createImageData(imagedata: ImageData): ImageData; + getImageData( + sx: number, + sy: number, + sw: number, + sh: number, + settings?: ImageDataSettings + ): ImageData; + putImageData(imagedata: ImageData, dx: number, dy: number): void; + putImageData( + imagedata: ImageData, + dx: number, + dy: number, + dirtyX: number, + dirtyY: number, + dirtyWidth: number, + dirtyHeight: number + ): void; +} + +interface CanvasImageSmoothing { + imageSmoothingEnabled: boolean; + imageSmoothingQuality: ImageSmoothingQuality; +} + +interface CanvasPath { + arc( + x: number, + y: number, + radius: number, + startAngle: number, + endAngle: number, + counterclockwise?: boolean + ): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; + bezierCurveTo( + cp1x: number, + cp1y: number, + cp2x: number, + cp2y: number, + x: number, + y: number + ): void; + closePath(): void; + ellipse( + x: number, + y: number, + radiusX: number, + radiusY: number, + rotation: number, + startAngle: number, + endAngle: number, + counterclockwise?: boolean + ): void; + lineTo(x: number, y: number): void; + moveTo(x: number, y: number): void; + quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; + rect(x: number, y: number, w: number, h: number): void; + roundRect( + x: number, + y: number, + w: number, + h: number, + radii?: number | DOMPointInit | (number | DOMPointInit)[] + ): void; +} + +interface CanvasPathDrawingStyles { + lineCap: CanvasLineCap; + lineDashOffset: number; + lineJoin: CanvasLineJoin; + lineWidth: number; + miterLimit: number; + getLineDash(): number[]; + setLineDash(segments: number[]): void; +} + +/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ +interface CanvasPattern { + /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */ + setTransform(transform?: DOMMatrix2DInit): void; +} + +declare var CanvasPattern: { + prototype: CanvasPattern; + new (): CanvasPattern; +}; + +interface CanvasRect { + clearRect(x: number, y: number, w: number, h: number): void; + fillRect(x: number, y: number, w: number, h: number): void; + strokeRect(x: number, y: number, w: number, h: number): void; +} + +interface CanvasShadowStyles { + shadowBlur: number; + shadowColor: string; + shadowOffsetX: number; + shadowOffsetY: number; +} + +interface CanvasState { + restore(): void; + save(): void; +} + +interface CanvasText { + fillText(text: string, x: number, y: number, maxWidth?: number): void; + measureText(text: string): TextMetrics; + strokeText(text: string, x: number, y: number, maxWidth?: number): void; +} + +interface CanvasTextDrawingStyles { + direction: CanvasDirection; + font: string; + fontKerning: CanvasFontKerning; + textAlign: CanvasTextAlign; + textBaseline: CanvasTextBaseline; +} + +interface CanvasTransform { + getTransform(): DOMMatrix; + resetTransform(): void; + rotate(angle: number): void; + scale(x: number, y: number): void; + setTransform( + a: number, + b: number, + c: number, + d: number, + e: number, + f: number + ): void; + setTransform(transform?: DOMMatrix2DInit): void; + transform( + a: number, + b: number, + c: number, + d: number, + e: number, + f: number + ): void; + translate(x: number, y: number): void; +} + +/** The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get(). */ +interface Client { + readonly frameType: FrameType; + readonly id: string; + readonly type: ClientTypes; + readonly url: string; + postMessage(message: any, transfer: Transferable[]): void; + postMessage(message: any, options?: StructuredSerializeOptions): void; +} + +declare var Client: { + prototype: Client; + new (): Client; +}; + +/** Provides access to Client objects. Access it via self.clients within a service worker. */ +interface Clients { + claim(): Promise; + get(id: string): Promise; + matchAll( + options?: T + ): Promise>; + openWindow(url: string | URL): Promise; +} + +declare var Clients: { + prototype: Clients; + new (): Clients; +}; + +/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ +interface CloseEvent extends Event { + /** Returns the WebSocket connection close code provided by the server. */ + readonly code: number; + /** Returns the WebSocket connection close reason provided by the server. */ + readonly reason: string; + /** Returns true if the connection closed cleanly; false otherwise. */ + readonly wasClean: boolean; +} + +declare var CloseEvent: { + prototype: CloseEvent; + new (type: string, eventInitDict?: CloseEventInit): CloseEvent; +}; + +/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ +interface CountQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new (init: QueuingStrategyInit): CountQueuingStrategy; +}; + +/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ +interface Crypto { + /** Available only in secure contexts. */ + readonly subtle: SubtleCrypto; + getRandomValues(array: T): T; + /** Available only in secure contexts. */ + randomUUID(): string; +} + +declare var Crypto: { + prototype: Crypto; + new (): Crypto; +}; + +/** + * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. + * Available only in secure contexts. + */ +interface CryptoKey { + readonly algorithm: KeyAlgorithm; + readonly extractable: boolean; + readonly type: KeyType; + readonly usages: KeyUsage[]; +} + +declare var CryptoKey: { + prototype: CryptoKey; + new (): CryptoKey; +}; + +interface CustomEvent extends Event { + /** Returns any custom data event was created with. Typically used for synthetic events. */ + readonly detail: T; + /** @deprecated */ + initCustomEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + detail?: T + ): void; +} + +declare var CustomEvent: { + prototype: CustomEvent; + new (type: string, eventInitDict?: CustomEventInit): CustomEvent; +}; + +/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ +interface DOMException extends Error { + /** @deprecated */ + readonly code: number; + readonly message: string; + readonly name: string; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +} + +declare var DOMException: { + prototype: DOMException; + new (message?: string, name?: string): DOMException; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +}; + +interface DOMMatrix extends DOMMatrixReadOnly { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + m11: number; + m12: number; + m13: number; + m14: number; + m21: number; + m22: number; + m23: number; + m24: number; + m31: number; + m32: number; + m33: number; + m34: number; + m41: number; + m42: number; + m43: number; + m44: number; + invertSelf(): DOMMatrix; + multiplySelf(other?: DOMMatrixInit): DOMMatrix; + preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; + rotateAxisAngleSelf( + x?: number, + y?: number, + z?: number, + angle?: number + ): DOMMatrix; + rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; + rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + scale3dSelf( + scale?: number, + originX?: number, + originY?: number, + originZ?: number + ): DOMMatrix; + scaleSelf( + scaleX?: number, + scaleY?: number, + scaleZ?: number, + originX?: number, + originY?: number, + originZ?: number + ): DOMMatrix; + skewXSelf(sx?: number): DOMMatrix; + skewYSelf(sy?: number): DOMMatrix; + translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; +} + +declare var DOMMatrix: { + prototype: DOMMatrix; + new (init?: string | number[]): DOMMatrix; + fromFloat32Array(array32: Float32Array): DOMMatrix; + fromFloat64Array(array64: Float64Array): DOMMatrix; + fromMatrix(other?: DOMMatrixInit): DOMMatrix; +}; + +interface DOMMatrixReadOnly { + readonly a: number; + readonly b: number; + readonly c: number; + readonly d: number; + readonly e: number; + readonly f: number; + readonly is2D: boolean; + readonly isIdentity: boolean; + readonly m11: number; + readonly m12: number; + readonly m13: number; + readonly m14: number; + readonly m21: number; + readonly m22: number; + readonly m23: number; + readonly m24: number; + readonly m31: number; + readonly m32: number; + readonly m33: number; + readonly m34: number; + readonly m41: number; + readonly m42: number; + readonly m43: number; + readonly m44: number; + flipX(): DOMMatrix; + flipY(): DOMMatrix; + inverse(): DOMMatrix; + multiply(other?: DOMMatrixInit): DOMMatrix; + rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + rotateAxisAngle( + x?: number, + y?: number, + z?: number, + angle?: number + ): DOMMatrix; + rotateFromVector(x?: number, y?: number): DOMMatrix; + scale( + scaleX?: number, + scaleY?: number, + scaleZ?: number, + originX?: number, + originY?: number, + originZ?: number + ): DOMMatrix; + scale3d( + scale?: number, + originX?: number, + originY?: number, + originZ?: number + ): DOMMatrix; + /** @deprecated */ + scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; + skewX(sx?: number): DOMMatrix; + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; + toFloat64Array(): Float64Array; + toJSON(): any; + transformPoint(point?: DOMPointInit): DOMPoint; + translate(tx?: number, ty?: number, tz?: number): DOMMatrix; +} + +declare var DOMMatrixReadOnly: { + prototype: DOMMatrixReadOnly; + new (init?: string | number[]): DOMMatrixReadOnly; + fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; + fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; + fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; +}; + +interface DOMPoint extends DOMPointReadOnly { + w: number; + x: number; + y: number; + z: number; +} + +declare var DOMPoint: { + prototype: DOMPoint; + new (x?: number, y?: number, z?: number, w?: number): DOMPoint; + fromPoint(other?: DOMPointInit): DOMPoint; +}; + +interface DOMPointReadOnly { + readonly w: number; + readonly x: number; + readonly y: number; + readonly z: number; + matrixTransform(matrix?: DOMMatrixInit): DOMPoint; + toJSON(): any; +} + +declare var DOMPointReadOnly: { + prototype: DOMPointReadOnly; + new (x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; + fromPoint(other?: DOMPointInit): DOMPointReadOnly; +}; + +interface DOMQuad { + readonly p1: DOMPoint; + readonly p2: DOMPoint; + readonly p3: DOMPoint; + readonly p4: DOMPoint; + getBounds(): DOMRect; + toJSON(): any; +} + +declare var DOMQuad: { + prototype: DOMQuad; + new ( + p1?: DOMPointInit, + p2?: DOMPointInit, + p3?: DOMPointInit, + p4?: DOMPointInit + ): DOMQuad; + fromQuad(other?: DOMQuadInit): DOMQuad; + fromRect(other?: DOMRectInit): DOMQuad; +}; + +interface DOMRect extends DOMRectReadOnly { + height: number; + width: number; + x: number; + y: number; +} + +declare var DOMRect: { + prototype: DOMRect; + new (x?: number, y?: number, width?: number, height?: number): DOMRect; + fromRect(other?: DOMRectInit): DOMRect; +}; + +interface DOMRectReadOnly { + readonly bottom: number; + readonly height: number; + readonly left: number; + readonly right: number; + readonly top: number; + readonly width: number; + readonly x: number; + readonly y: number; + toJSON(): any; +} + +declare var DOMRectReadOnly: { + prototype: DOMRectReadOnly; + new ( + x?: number, + y?: number, + width?: number, + height?: number + ): DOMRectReadOnly; + fromRect(other?: DOMRectInit): DOMRectReadOnly; +}; + +/** A type returned by some APIs which contains a list of DOMString (strings). */ +interface DOMStringList { + /** Returns the number of strings in strings. */ + readonly length: number; + /** Returns true if strings contains string, and false otherwise. */ + contains(string: string): boolean; + /** Returns the string with index index from strings. */ + item(index: number): string | null; + [index: number]: string; +} + +declare var DOMStringList: { + prototype: DOMStringList; + new (): DOMStringList; +}; + +interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap { + message: MessageEvent; + messageerror: MessageEvent; +} + +/** (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers. */ +interface DedicatedWorkerGlobalScope + extends WorkerGlobalScope, + AnimationFrameProvider { + /** Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging. */ + readonly name: string; + onmessage: + | ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) + | null; + onmessageerror: + | ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) + | null; + /** Aborts dedicatedWorkerGlobal. */ + close(): void; + /** Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned. */ + postMessage(message: any, transfer: Transferable[]): void; + postMessage(message: any, options?: StructuredSerializeOptions): void; + addEventListener( + type: K, + listener: ( + this: DedicatedWorkerGlobalScope, + ev: DedicatedWorkerGlobalScopeEventMap[K] + ) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: ( + this: DedicatedWorkerGlobalScope, + ev: DedicatedWorkerGlobalScopeEventMap[K] + ) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var DedicatedWorkerGlobalScope: { + prototype: DedicatedWorkerGlobalScope; + new (): DedicatedWorkerGlobalScope; +}; + +interface EXT_blend_minmax { + readonly MAX_EXT: GLenum; + readonly MIN_EXT: GLenum; +} + +interface EXT_color_buffer_float {} + +interface EXT_color_buffer_half_float { + readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum; + readonly RGB16F_EXT: GLenum; + readonly RGBA16F_EXT: GLenum; + readonly UNSIGNED_NORMALIZED_EXT: GLenum; +} + +interface EXT_float_blend {} + +/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ +interface EXT_frag_depth {} + +interface EXT_sRGB { + readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; + readonly SRGB8_ALPHA8_EXT: GLenum; + readonly SRGB_ALPHA_EXT: GLenum; + readonly SRGB_EXT: GLenum; +} + +interface EXT_shader_texture_lod {} + +interface EXT_texture_compression_bptc { + readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: GLenum; + readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: GLenum; + readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: GLenum; + readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: GLenum; +} + +interface EXT_texture_compression_rgtc { + readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum; + readonly COMPRESSED_RED_RGTC1_EXT: GLenum; + readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum; + readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum; +} + +/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ +interface EXT_texture_filter_anisotropic { + readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; + readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; +} + +interface EXT_texture_norm16 { + readonly R16_EXT: GLenum; + readonly R16_SNORM_EXT: GLenum; + readonly RG16_EXT: GLenum; + readonly RG16_SNORM_EXT: GLenum; + readonly RGB16_EXT: GLenum; + readonly RGB16_SNORM_EXT: GLenum; + readonly RGBA16_EXT: GLenum; + readonly RGBA16_SNORM_EXT: GLenum; +} + +/** Events providing information related to errors in scripts or in files. */ +interface ErrorEvent extends Event { + readonly colno: number; + readonly error: any; + readonly filename: string; + readonly lineno: number; + readonly message: string; +} + +declare var ErrorEvent: { + prototype: ErrorEvent; + new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent; +}; + +/** An event which takes place in the DOM. */ +interface Event { + /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */ + readonly bubbles: boolean; + /** @deprecated */ + cancelBubble: boolean; + /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */ + readonly cancelable: boolean; + /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */ + readonly composed: boolean; + /** Returns the object whose event listener's callback is currently being invoked. */ + readonly currentTarget: EventTarget | null; + /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */ + readonly defaultPrevented: boolean; + /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */ + readonly eventPhase: number; + /** Returns true if event was dispatched by the user agent, and false otherwise. */ + readonly isTrusted: boolean; + /** @deprecated */ + returnValue: boolean; + /** @deprecated */ + readonly srcElement: EventTarget | null; + /** Returns the object to which event is dispatched (its target). */ + readonly target: EventTarget | null; + /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */ + readonly timeStamp: DOMHighResTimeStamp; + /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ + readonly type: string; + /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */ + composedPath(): EventTarget[]; + /** @deprecated */ + initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; + /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */ + preventDefault(): void; + /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */ + stopImmediatePropagation(): void; + /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */ + stopPropagation(): void; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; + readonly NONE: number; +} + +declare var Event: { + prototype: Event; + new (type: string, eventInitDict?: EventInit): Event; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; + readonly NONE: number; +}; + +interface EventListener { + (evt: Event): void; +} + +interface EventListenerObject { + handleEvent(object: Event): void; +} + +interface EventSourceEventMap { + error: Event; + message: MessageEvent; + open: Event; +} + +interface EventSource extends EventTarget { + onerror: ((this: EventSource, ev: Event) => any) | null; + onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; + onopen: ((this: EventSource, ev: Event) => any) | null; + /** Returns the state of this EventSource object's connection. It can have the values described below. */ + readonly readyState: number; + /** Returns the URL providing the event stream. */ + readonly url: string; + /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */ + readonly withCredentials: boolean; + /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */ + close(): void; + readonly CLOSED: number; + readonly CONNECTING: number; + readonly OPEN: number; + addEventListener( + type: K, + listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: (this: EventSource, event: MessageEvent) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: (this: EventSource, event: MessageEvent) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var EventSource: { + prototype: EventSource; + new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; + readonly CLOSED: number; + readonly CONNECTING: number; + readonly OPEN: number; +}; + +/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ +interface EventTarget { + /** + * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + * + * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + * + * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + * + * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + * + * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + * + * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + * + * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + */ + addEventListener( + type: string, + callback: EventListenerOrEventListenerObject | null, + options?: AddEventListenerOptions | boolean + ): void; + /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ + dispatchEvent(event: Event): boolean; + /** Removes the event listener in target's event listener list with the same type, callback, and options. */ + removeEventListener( + type: string, + callback: EventListenerOrEventListenerObject | null, + options?: EventListenerOptions | boolean + ): void; +} + +declare var EventTarget: { + prototype: EventTarget; + new (): EventTarget; +}; + +/** Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries. */ +interface ExtendableEvent extends Event { + waitUntil(f: Promise): void; +} + +declare var ExtendableEvent: { + prototype: ExtendableEvent; + new (type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent; +}; + +/** This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events. */ +interface ExtendableMessageEvent extends ExtendableEvent { + readonly data: any; + readonly lastEventId: string; + readonly origin: string; + readonly ports: ReadonlyArray; + readonly source: Client | ServiceWorker | MessagePort | null; +} + +declare var ExtendableMessageEvent: { + prototype: ExtendableMessageEvent; + new ( + type: string, + eventInitDict?: ExtendableMessageEventInit + ): ExtendableMessageEvent; +}; + +/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */ +interface FetchEvent extends ExtendableEvent { + readonly clientId: string; + readonly handled: Promise; + readonly preloadResponse: Promise; + readonly request: Request; + readonly resultingClientId: string; + respondWith(r: Response | PromiseLike): void; +} + +declare var FetchEvent: { + prototype: FetchEvent; + new (type: string, eventInitDict: FetchEventInit): FetchEvent; +}; + +/** Provides information about files and allows JavaScript in a web page to access their content. */ +interface File extends Blob { + readonly lastModified: number; + readonly name: string; + readonly webkitRelativePath: string; +} + +declare var File: { + prototype: File; + new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; +}; + +/** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ +interface FileList { + readonly length: number; + item(index: number): File | null; + [index: number]: File; +} + +declare var FileList: { + prototype: FileList; + new (): FileList; +}; + +interface FileReaderEventMap { + abort: ProgressEvent; + error: ProgressEvent; + load: ProgressEvent; + loadend: ProgressEvent; + loadstart: ProgressEvent; + progress: ProgressEvent; +} + +/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ +interface FileReader extends EventTarget { + readonly error: DOMException | null; + onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; + onload: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadstart: + | ((this: FileReader, ev: ProgressEvent) => any) + | null; + onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; + readonly readyState: number; + readonly result: string | ArrayBuffer | null; + abort(): void; + readAsArrayBuffer(blob: Blob): void; + readAsBinaryString(blob: Blob): void; + readAsDataURL(blob: Blob): void; + readAsText(blob: Blob, encoding?: string): void; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; + addEventListener( + type: K, + listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var FileReader: { + prototype: FileReader; + new (): FileReader; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; +}; + +/** Allows to read File or Blob objects in a synchronous way. */ +interface FileReaderSync { + readAsArrayBuffer(blob: Blob): ArrayBuffer; + /** @deprecated */ + readAsBinaryString(blob: Blob): string; + readAsDataURL(blob: Blob): string; + readAsText(blob: Blob, encoding?: string): string; +} + +declare var FileReaderSync: { + prototype: FileReaderSync; + new (): FileReaderSync; +}; + +/** Available only in secure contexts. */ +interface FileSystemDirectoryHandle extends FileSystemHandle { + readonly kind: 'directory'; + getDirectoryHandle( + name: string, + options?: FileSystemGetDirectoryOptions + ): Promise; + getFileHandle( + name: string, + options?: FileSystemGetFileOptions + ): Promise; + removeEntry(name: string, options?: FileSystemRemoveOptions): Promise; + resolve(possibleDescendant: FileSystemHandle): Promise; +} + +declare var FileSystemDirectoryHandle: { + prototype: FileSystemDirectoryHandle; + new (): FileSystemDirectoryHandle; +}; + +/** Available only in secure contexts. */ +interface FileSystemFileHandle extends FileSystemHandle { + readonly kind: 'file'; + getFile(): Promise; +} + +declare var FileSystemFileHandle: { + prototype: FileSystemFileHandle; + new (): FileSystemFileHandle; +}; + +/** Available only in secure contexts. */ +interface FileSystemHandle { + readonly kind: FileSystemHandleKind; + readonly name: string; + isSameEntry(other: FileSystemHandle): Promise; +} + +declare var FileSystemHandle: { + prototype: FileSystemHandle; + new (): FileSystemHandle; +}; + +interface FontFace { + ascentOverride: string; + descentOverride: string; + display: string; + family: string; + featureSettings: string; + lineGapOverride: string; + readonly loaded: Promise; + readonly status: FontFaceLoadStatus; + stretch: string; + style: string; + unicodeRange: string; + variant: string; + variationSettings: string; + weight: string; + load(): Promise; +} + +declare var FontFace: { + prototype: FontFace; + new ( + family: string, + source: string | BinaryData, + descriptors?: FontFaceDescriptors + ): FontFace; +}; + +interface FontFaceSetEventMap { + loading: Event; + loadingdone: Event; + loadingerror: Event; +} + +interface FontFaceSet extends EventTarget { + onloading: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; + readonly ready: Promise; + readonly status: FontFaceSetLoadStatus; + check(font: string, text?: string): boolean; + load(font: string, text?: string): Promise; + forEach( + callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, + thisArg?: any + ): void; + addEventListener( + type: K, + listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var FontFaceSet: { + prototype: FontFaceSet; + new (initialFaces: FontFace[]): FontFaceSet; +}; + +interface FontFaceSetLoadEvent extends Event { + readonly fontfaces: ReadonlyArray; +} + +declare var FontFaceSetLoadEvent: { + prototype: FontFaceSetLoadEvent; + new ( + type: string, + eventInitDict?: FontFaceSetLoadEventInit + ): FontFaceSetLoadEvent; +}; + +interface FontFaceSource { + readonly fonts: FontFaceSet; +} + +/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ +interface FormData { + append(name: string, value: string | Blob, fileName?: string): void; + delete(name: string): void; + get(name: string): FormDataEntryValue | null; + getAll(name: string): FormDataEntryValue[]; + has(name: string): boolean; + set(name: string, value: string | Blob, fileName?: string): void; + forEach( + callbackfn: ( + value: FormDataEntryValue, + key: string, + parent: FormData + ) => void, + thisArg?: any + ): void; +} + +declare var FormData: { + prototype: FormData; + new (): FormData; +}; + +interface GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; +} + +/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */ +interface Headers { + append(name: string, value: string): void; + delete(name: string): void; + get(name: string): string | null; + has(name: string): boolean; + set(name: string, value: string): void; + forEach( + callbackfn: (value: string, key: string, parent: Headers) => void, + thisArg?: any + ): void; +} + +declare var Headers: { + prototype: Headers; + new (init?: HeadersInit): Headers; +}; + +/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */ +interface IDBCursor { + /** Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor. */ + readonly direction: IDBCursorDirection; + /** Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */ + readonly key: IDBValidKey; + /** Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */ + readonly primaryKey: IDBValidKey; + readonly request: IDBRequest; + /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */ + readonly source: IDBObjectStore | IDBIndex; + /** Advances the cursor through the next count records in range. */ + advance(count: number): void; + /** Advances the cursor to the next record in range. */ + continue(key?: IDBValidKey): void; + /** Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index. */ + continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void; + /** + * Delete the record pointed at by the cursor with a new value. + * + * If successful, request's result will be undefined. + */ + delete(): IDBRequest; + /** + * Updated the record pointed at by the cursor with a new value. + * + * Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed. + * + * If successful, request's result will be the record's key. + */ + update(value: any): IDBRequest; +} + +declare var IDBCursor: { + prototype: IDBCursor; + new (): IDBCursor; +}; + +/** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */ +interface IDBCursorWithValue extends IDBCursor { + /** Returns the cursor's current value. */ + readonly value: any; +} + +declare var IDBCursorWithValue: { + prototype: IDBCursorWithValue; + new (): IDBCursorWithValue; +}; + +interface IDBDatabaseEventMap { + abort: Event; + close: Event; + error: Event; + versionchange: IDBVersionChangeEvent; +} + +/** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */ +interface IDBDatabase extends EventTarget { + /** Returns the name of the database. */ + readonly name: string; + /** Returns a list of the names of object stores in the database. */ + readonly objectStoreNames: DOMStringList; + onabort: ((this: IDBDatabase, ev: Event) => any) | null; + onclose: ((this: IDBDatabase, ev: Event) => any) | null; + onerror: ((this: IDBDatabase, ev: Event) => any) | null; + onversionchange: + | ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) + | null; + /** Returns the version of the database. */ + readonly version: number; + /** Closes the connection once all running transactions have finished. */ + close(): void; + /** + * Creates a new object store with the given name and options and returns a new IDBObjectStore. + * + * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction. + */ + createObjectStore( + name: string, + options?: IDBObjectStoreParameters + ): IDBObjectStore; + /** + * Deletes the object store with the given name. + * + * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction. + */ + deleteObjectStore(name: string): void; + /** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */ + transaction( + storeNames: string | string[], + mode?: IDBTransactionMode, + options?: IDBTransactionOptions + ): IDBTransaction; + addEventListener( + type: K, + listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var IDBDatabase: { + prototype: IDBDatabase; + new (): IDBDatabase; +}; + +/** In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.) */ +interface IDBFactory { + /** + * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal. + * + * Throws a "DataError" DOMException if either input is not a valid key. + */ + cmp(first: any, second: any): number; + databases(): Promise; + /** Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null. */ + deleteDatabase(name: string): IDBOpenDBRequest; + /** Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection. */ + open(name: string, version?: number): IDBOpenDBRequest; +} + +declare var IDBFactory: { + prototype: IDBFactory; + new (): IDBFactory; +}; + +/** IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data. */ +interface IDBIndex { + readonly keyPath: string | string[]; + readonly multiEntry: boolean; + /** Returns the name of the index. */ + name: string; + /** Returns the IDBObjectStore the index belongs to. */ + readonly objectStore: IDBObjectStore; + readonly unique: boolean; + /** + * Retrieves the number of records matching the given key or key range in query. + * + * If successful, request's result will be the count. + */ + count(query?: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Retrieves the value of the first record matching the given key or key range in query. + * + * If successful, request's result will be the value, or undefined if there was no matching record. + */ + get(query: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Retrieves the values of the records matching the given key or key range in query (up to count if given). + * + * If successful, request's result will be an Array of the values. + */ + getAll( + query?: IDBValidKey | IDBKeyRange | null, + count?: number + ): IDBRequest; + /** + * Retrieves the keys of records matching the given key or key range in query (up to count if given). + * + * If successful, request's result will be an Array of the keys. + */ + getAllKeys( + query?: IDBValidKey | IDBKeyRange | null, + count?: number + ): IDBRequest; + /** + * Retrieves the key of the first record matching the given key or key range in query. + * + * If successful, request's result will be the key, or undefined if there was no matching record. + */ + getKey(query: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched. + * + * If successful, request's result will be an IDBCursorWithValue, or null if there were no matching records. + */ + openCursor( + query?: IDBValidKey | IDBKeyRange | null, + direction?: IDBCursorDirection + ): IDBRequest; + /** + * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched. + * + * If successful, request's result will be an IDBCursor, or null if there were no matching records. + */ + openKeyCursor( + query?: IDBValidKey | IDBKeyRange | null, + direction?: IDBCursorDirection + ): IDBRequest; +} + +declare var IDBIndex: { + prototype: IDBIndex; + new (): IDBIndex; +}; + +/** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */ +interface IDBKeyRange { + /** Returns lower bound, or undefined if none. */ + readonly lower: any; + /** Returns true if the lower open flag is set, and false otherwise. */ + readonly lowerOpen: boolean; + /** Returns upper bound, or undefined if none. */ + readonly upper: any; + /** Returns true if the upper open flag is set, and false otherwise. */ + readonly upperOpen: boolean; + /** Returns true if key is included in the range, and false otherwise. */ + includes(key: any): boolean; +} + +declare var IDBKeyRange: { + prototype: IDBKeyRange; + new (): IDBKeyRange; + /** Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range. */ + bound( + lower: any, + upper: any, + lowerOpen?: boolean, + upperOpen?: boolean + ): IDBKeyRange; + /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */ + lowerBound(lower: any, open?: boolean): IDBKeyRange; + /** Returns a new IDBKeyRange spanning only key. */ + only(value: any): IDBKeyRange; + /** Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range. */ + upperBound(upper: any, open?: boolean): IDBKeyRange; +}; + +/** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */ +interface IDBObjectStore { + /** Returns true if the store has a key generator, and false otherwise. */ + readonly autoIncrement: boolean; + /** Returns a list of the names of indexes in the store. */ + readonly indexNames: DOMStringList; + /** Returns the key path of the store, or null if none. */ + readonly keyPath: string | string[]; + /** Returns the name of the store. */ + name: string; + /** Returns the associated transaction. */ + readonly transaction: IDBTransaction; + /** + * Adds or updates a record in store with the given value and key. + * + * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown. + * + * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException. + * + * If successful, request's result will be the record's key. + */ + add(value: any, key?: IDBValidKey): IDBRequest; + /** + * Deletes all records in store. + * + * If successful, request's result will be undefined. + */ + clear(): IDBRequest; + /** + * Retrieves the number of records matching the given key or key range in query. + * + * If successful, request's result will be the count. + */ + count(query?: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException. + * + * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction. + */ + createIndex( + name: string, + keyPath: string | string[], + options?: IDBIndexParameters + ): IDBIndex; + /** + * Deletes records in store with the given key or in the given key range in query. + * + * If successful, request's result will be undefined. + */ + delete(query: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Deletes the index in store with the given name. + * + * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction. + */ + deleteIndex(name: string): void; + /** + * Retrieves the value of the first record matching the given key or key range in query. + * + * If successful, request's result will be the value, or undefined if there was no matching record. + */ + get(query: IDBValidKey | IDBKeyRange): IDBRequest; + /** + * Retrieves the values of the records matching the given key or key range in query (up to count if given). + * + * If successful, request's result will be an Array of the values. + */ + getAll( + query?: IDBValidKey | IDBKeyRange | null, + count?: number + ): IDBRequest; + /** + * Retrieves the keys of records matching the given key or key range in query (up to count if given). + * + * If successful, request's result will be an Array of the keys. + */ + getAllKeys( + query?: IDBValidKey | IDBKeyRange | null, + count?: number + ): IDBRequest; + /** + * Retrieves the key of the first record matching the given key or key range in query. + * + * If successful, request's result will be the key, or undefined if there was no matching record. + */ + getKey(query: IDBValidKey | IDBKeyRange): IDBRequest; + index(name: string): IDBIndex; + /** + * Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched. + * + * If successful, request's result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records. + */ + openCursor( + query?: IDBValidKey | IDBKeyRange | null, + direction?: IDBCursorDirection + ): IDBRequest; + /** + * Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched. + * + * If successful, request's result will be an IDBCursor pointing at the first matching record, or null if there were no matching records. + */ + openKeyCursor( + query?: IDBValidKey | IDBKeyRange | null, + direction?: IDBCursorDirection + ): IDBRequest; + /** + * Adds or updates a record in store with the given value and key. + * + * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown. + * + * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException. + * + * If successful, request's result will be the record's key. + */ + put(value: any, key?: IDBValidKey): IDBRequest; +} + +declare var IDBObjectStore: { + prototype: IDBObjectStore; + new (): IDBObjectStore; +}; + +interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { + blocked: IDBVersionChangeEvent; + upgradeneeded: IDBVersionChangeEvent; +} + +/** Also inherits methods from its parents IDBRequest and EventTarget. */ +interface IDBOpenDBRequest extends IDBRequest { + onblocked: + | ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) + | null; + onupgradeneeded: + | ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) + | null; + addEventListener( + type: K, + listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var IDBOpenDBRequest: { + prototype: IDBOpenDBRequest; + new (): IDBOpenDBRequest; +}; + +interface IDBRequestEventMap { + error: Event; + success: Event; +} + +/** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */ +interface IDBRequest extends EventTarget { + /** When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending. */ + readonly error: DOMException | null; + onerror: ((this: IDBRequest, ev: Event) => any) | null; + onsuccess: ((this: IDBRequest, ev: Event) => any) | null; + /** Returns "pending" until a request is complete, then returns "done". */ + readonly readyState: IDBRequestReadyState; + /** When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending. */ + readonly result: T; + /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */ + readonly source: IDBObjectStore | IDBIndex | IDBCursor; + /** Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise. */ + readonly transaction: IDBTransaction | null; + addEventListener( + type: K, + listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var IDBRequest: { + prototype: IDBRequest; + new (): IDBRequest; +}; + +interface IDBTransactionEventMap { + abort: Event; + complete: Event; + error: Event; +} + +interface IDBTransaction extends EventTarget { + /** Returns the transaction's connection. */ + readonly db: IDBDatabase; + readonly durability: IDBTransactionDurability; + /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */ + readonly error: DOMException | null; + /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */ + readonly mode: IDBTransactionMode; + /** Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. */ + readonly objectStoreNames: DOMStringList; + onabort: ((this: IDBTransaction, ev: Event) => any) | null; + oncomplete: ((this: IDBTransaction, ev: Event) => any) | null; + onerror: ((this: IDBTransaction, ev: Event) => any) | null; + /** Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted. */ + abort(): void; + commit(): void; + /** Returns an IDBObjectStore in the transaction's scope. */ + objectStore(name: string): IDBObjectStore; + addEventListener( + type: K, + listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var IDBTransaction: { + prototype: IDBTransaction; + new (): IDBTransaction; +}; + +/** This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function. */ +interface IDBVersionChangeEvent extends Event { + readonly newVersion: number | null; + readonly oldVersion: number; +} + +declare var IDBVersionChangeEvent: { + prototype: IDBVersionChangeEvent; + new ( + type: string, + eventInitDict?: IDBVersionChangeEventInit + ): IDBVersionChangeEvent; +}; + +interface ImageBitmap { + /** Returns the intrinsic height of the image, in CSS pixels. */ + readonly height: number; + /** Returns the intrinsic width of the image, in CSS pixels. */ + readonly width: number; + /** Releases imageBitmap's underlying bitmap data. */ + close(): void; +} + +declare var ImageBitmap: { + prototype: ImageBitmap; + new (): ImageBitmap; +}; + +interface ImageBitmapRenderingContext { + /** Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. */ + transferFromImageBitmap(bitmap: ImageBitmap | null): void; +} + +declare var ImageBitmapRenderingContext: { + prototype: ImageBitmapRenderingContext; + new (): ImageBitmapRenderingContext; +}; + +/** The underlying pixel data of an area of a element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */ +interface ImageData { + readonly colorSpace: PredefinedColorSpace; + /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */ + readonly data: Uint8ClampedArray; + /** Returns the actual dimensions of the data in the ImageData object, in pixels. */ + readonly height: number; + /** Returns the actual dimensions of the data in the ImageData object, in pixels. */ + readonly width: number; +} + +declare var ImageData: { + prototype: ImageData; + new (sw: number, sh: number, settings?: ImageDataSettings): ImageData; + new ( + data: Uint8ClampedArray, + sw: number, + sh?: number, + settings?: ImageDataSettings + ): ImageData; +}; + +interface KHR_parallel_shader_compile { + readonly COMPLETION_STATUS_KHR: GLenum; +} + +/** Available only in secure contexts. */ +interface Lock { + readonly mode: LockMode; + readonly name: string; +} + +declare var Lock: { + prototype: Lock; + new (): Lock; +}; + +/** Available only in secure contexts. */ +interface LockManager { + query(): Promise; + request(name: string, callback: LockGrantedCallback): Promise; + request( + name: string, + options: LockOptions, + callback: LockGrantedCallback + ): Promise; +} + +declare var LockManager: { + prototype: LockManager; + new (): LockManager; +}; + +interface MediaCapabilities { + decodingInfo( + configuration: MediaDecodingConfiguration + ): Promise; + encodingInfo( + configuration: MediaEncodingConfiguration + ): Promise; +} + +declare var MediaCapabilities: { + prototype: MediaCapabilities; + new (): MediaCapabilities; +}; + +/** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */ +interface MessageChannel { + /** Returns the first MessagePort object. */ + readonly port1: MessagePort; + /** Returns the second MessagePort object. */ + readonly port2: MessagePort; +} + +declare var MessageChannel: { + prototype: MessageChannel; + new (): MessageChannel; +}; + +/** A message received by a target object. */ +interface MessageEvent extends Event { + /** Returns the data of the message. */ + readonly data: T; + /** Returns the last event ID string, for server-sent events. */ + readonly lastEventId: string; + /** Returns the origin of the message, for server-sent events and cross-document messaging. */ + readonly origin: string; + /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */ + readonly ports: ReadonlyArray; + /** Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects. */ + readonly source: MessageEventSource | null; + /** @deprecated */ + initMessageEvent( + type: string, + bubbles?: boolean, + cancelable?: boolean, + data?: any, + origin?: string, + lastEventId?: string, + source?: MessageEventSource | null, + ports?: MessagePort[] + ): void; +} + +declare var MessageEvent: { + prototype: MessageEvent; + new (type: string, eventInitDict?: MessageEventInit): MessageEvent; +}; + +interface MessagePortEventMap { + message: MessageEvent; + messageerror: MessageEvent; +} + +/** This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other. */ +interface MessagePort extends EventTarget { + onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null; + onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null; + /** Disconnects the port, so that it is no longer active. */ + close(): void; + /** + * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side. + * + * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned. + */ + postMessage(message: any, transfer: Transferable[]): void; + postMessage(message: any, options?: StructuredSerializeOptions): void; + /** Begins dispatching messages received on the port. */ + start(): void; + addEventListener( + type: K, + listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var MessagePort: { + prototype: MessagePort; + new (): MessagePort; +}; + +/** Available only in secure contexts. */ +interface NavigationPreloadManager { + disable(): Promise; + enable(): Promise; + getState(): Promise; + setHeaderValue(value: string): Promise; +} + +declare var NavigationPreloadManager: { + prototype: NavigationPreloadManager; + new (): NavigationPreloadManager; +}; + +interface NavigatorConcurrentHardware { + readonly hardwareConcurrency: number; +} + +interface NavigatorID { + /** @deprecated */ + readonly appCodeName: string; + /** @deprecated */ + readonly appName: string; + /** @deprecated */ + readonly appVersion: string; + /** @deprecated */ + readonly platform: string; + /** @deprecated */ + readonly product: string; + readonly userAgent: string; +} + +interface NavigatorLanguage { + readonly language: string; + readonly languages: ReadonlyArray; +} + +/** Available only in secure contexts. */ +interface NavigatorLocks { + readonly locks: LockManager; +} + +interface NavigatorOnLine { + readonly onLine: boolean; +} + +/** Available only in secure contexts. */ +interface NavigatorStorage { + readonly storage: StorageManager; +} + +interface NotificationEventMap { + click: Event; + close: Event; + error: Event; + show: Event; +} + +/** This Notifications API interface is used to configure and display desktop notifications to the user. */ +interface Notification extends EventTarget { + readonly body: string; + readonly data: any; + readonly dir: NotificationDirection; + readonly icon: string; + readonly lang: string; + onclick: ((this: Notification, ev: Event) => any) | null; + onclose: ((this: Notification, ev: Event) => any) | null; + onerror: ((this: Notification, ev: Event) => any) | null; + onshow: ((this: Notification, ev: Event) => any) | null; + readonly tag: string; + readonly title: string; + close(): void; + addEventListener( + type: K, + listener: (this: Notification, ev: NotificationEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: Notification, ev: NotificationEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var Notification: { + prototype: Notification; + new (title: string, options?: NotificationOptions): Notification; + readonly permission: NotificationPermission; +}; + +/** The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. */ +interface NotificationEvent extends ExtendableEvent { + readonly action: string; + readonly notification: Notification; +} + +declare var NotificationEvent: { + prototype: NotificationEvent; + new (type: string, eventInitDict: NotificationEventInit): NotificationEvent; +}; + +interface OES_draw_buffers_indexed { + blendEquationSeparateiOES( + buf: GLuint, + modeRGB: GLenum, + modeAlpha: GLenum + ): void; + blendEquationiOES(buf: GLuint, mode: GLenum): void; + blendFuncSeparateiOES( + buf: GLuint, + srcRGB: GLenum, + dstRGB: GLenum, + srcAlpha: GLenum, + dstAlpha: GLenum + ): void; + blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void; + colorMaskiOES( + buf: GLuint, + r: GLboolean, + g: GLboolean, + b: GLboolean, + a: GLboolean + ): void; + disableiOES(target: GLenum, index: GLuint): void; + enableiOES(target: GLenum, index: GLuint): void; +} + +/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */ +interface OES_element_index_uint {} + +interface OES_fbo_render_mipmap {} + +/** The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth. */ +interface OES_standard_derivatives { + readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: GLenum; +} + +/** The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures. */ +interface OES_texture_float {} + +/** The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures. */ +interface OES_texture_float_linear {} + +/** The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components. */ +interface OES_texture_half_float { + readonly HALF_FLOAT_OES: GLenum; +} + +/** The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures. */ +interface OES_texture_half_float_linear {} + +interface OES_vertex_array_object { + bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; + createVertexArrayOES(): WebGLVertexArrayObjectOES | null; + deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void; + isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean; + readonly VERTEX_ARRAY_BINDING_OES: GLenum; +} + +interface OVR_multiview2 { + framebufferTextureMultiviewOVR( + target: GLenum, + attachment: GLenum, + texture: WebGLTexture | null, + level: GLint, + baseViewIndex: GLint, + numViews: GLsizei + ): void; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: GLenum; + readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: GLenum; + readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: GLenum; + readonly MAX_VIEWS_OVR: GLenum; +} + +interface OffscreenCanvasEventMap { + contextlost: Event; + contextrestored: Event; +} + +interface OffscreenCanvas extends EventTarget { + /** + * These attributes return the dimensions of the OffscreenCanvas object's bitmap. + * + * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it). + */ + height: number; + oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; + oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; + /** + * These attributes return the dimensions of the OffscreenCanvas object's bitmap. + * + * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it). + */ + width: number; + /** + * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API. + * + * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL] + * + * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context). + */ + getContext( + contextId: OffscreenRenderingContextId, + options?: any + ): OffscreenRenderingContext | null; + /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */ + transferToImageBitmap(): ImageBitmap; + addEventListener( + type: K, + listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var OffscreenCanvas: { + prototype: OffscreenCanvas; + new (width: number, height: number): OffscreenCanvas; +}; + +interface OffscreenCanvasRenderingContext2D + extends CanvasCompositing, + CanvasDrawImage, + CanvasDrawPath, + CanvasFillStrokeStyles, + CanvasFilters, + CanvasImageData, + CanvasImageSmoothing, + CanvasPath, + CanvasPathDrawingStyles, + CanvasRect, + CanvasShadowStyles, + CanvasState, + CanvasText, + CanvasTextDrawingStyles, + CanvasTransform { + readonly canvas: OffscreenCanvas; + commit(): void; +} + +// declare var OffscreenCanvasRenderingContext2D: { +// prototype: OffscreenCanvasRenderingContext2D; +// new (): OffscreenCanvasRenderingContext2D; +// }; + +/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */ +interface Path2D extends CanvasPath { + /** Adds to the path the path given by the argument. */ + addPath(path: Path2D, transform?: DOMMatrix2DInit): void; +} + +// declare var Path2D: { +// prototype: Path2D; +// new (path?: Path2D | string): Path2D; +// }; + +interface PerformanceEventMap { + resourcetimingbufferfull: Event; +} + +/** Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */ +interface Performance extends EventTarget { + onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null; + readonly timeOrigin: DOMHighResTimeStamp; + clearMarks(markName?: string): void; + clearMeasures(measureName?: string): void; + clearResourceTimings(): void; + getEntries(): PerformanceEntryList; + getEntriesByName(name: string, type?: string): PerformanceEntryList; + getEntriesByType(type: string): PerformanceEntryList; + mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; + measure( + measureName: string, + startOrMeasureOptions?: string | PerformanceMeasureOptions, + endMark?: string + ): PerformanceMeasure; + now(): DOMHighResTimeStamp; + setResourceTimingBufferSize(maxSize: number): void; + toJSON(): any; + addEventListener( + type: K, + listener: (this: Performance, ev: PerformanceEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: Performance, ev: PerformanceEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +// declare var Performance: { +// prototype: Performance; +// new (): Performance; +// }; + +/** Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image). */ +interface PerformanceEntry { + readonly duration: DOMHighResTimeStamp; + readonly entryType: string; + readonly name: string; + readonly startTime: DOMHighResTimeStamp; + toJSON(): any; +} + +// declare var PerformanceEntry: { +// prototype: PerformanceEntry; +// new (): PerformanceEntry; +// }; + +/** PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. */ +interface PerformanceMark extends PerformanceEntry { + readonly detail: any; +} + +// declare var PerformanceMark: { +// prototype: PerformanceMark; +// new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; +// }; + +/** PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline. */ +interface PerformanceMeasure extends PerformanceEntry { + readonly detail: any; +} + +// declare var PerformanceMeasure: { +// prototype: PerformanceMeasure; +// new (): PerformanceMeasure; +// }; + +interface PerformanceObserver { + disconnect(): void; + observe(options?: PerformanceObserverInit): void; + takeRecords(): PerformanceEntryList; +} + +declare var PerformanceObserver: { + prototype: PerformanceObserver; + new (callback: PerformanceObserverCallback): PerformanceObserver; + readonly supportedEntryTypes: ReadonlyArray; +}; + +interface PerformanceObserverEntryList { + getEntries(): PerformanceEntryList; + getEntriesByName(name: string, type?: string): PerformanceEntryList; + getEntriesByType(type: string): PerformanceEntryList; +} + +declare var PerformanceObserverEntryList: { + prototype: PerformanceObserverEntryList; + new (): PerformanceObserverEntryList; +}; + +/** Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, , image, or script. */ +interface PerformanceResourceTiming extends PerformanceEntry { + readonly connectEnd: DOMHighResTimeStamp; + readonly connectStart: DOMHighResTimeStamp; + readonly decodedBodySize: number; + readonly domainLookupEnd: DOMHighResTimeStamp; + readonly domainLookupStart: DOMHighResTimeStamp; + readonly encodedBodySize: number; + readonly fetchStart: DOMHighResTimeStamp; + readonly initiatorType: string; + readonly nextHopProtocol: string; + readonly redirectEnd: DOMHighResTimeStamp; + readonly redirectStart: DOMHighResTimeStamp; + readonly requestStart: DOMHighResTimeStamp; + readonly responseEnd: DOMHighResTimeStamp; + readonly responseStart: DOMHighResTimeStamp; + readonly secureConnectionStart: DOMHighResTimeStamp; + readonly serverTiming: ReadonlyArray; + readonly transferSize: number; + readonly workerStart: DOMHighResTimeStamp; + toJSON(): any; +} + +declare var PerformanceResourceTiming: { + prototype: PerformanceResourceTiming; + new (): PerformanceResourceTiming; +}; + +interface PerformanceServerTiming { + readonly description: string; + readonly duration: DOMHighResTimeStamp; + readonly name: string; + toJSON(): any; +} + +declare var PerformanceServerTiming: { + prototype: PerformanceServerTiming; + new (): PerformanceServerTiming; +}; + +interface PermissionStatusEventMap { + change: Event; +} + +interface PermissionStatus extends EventTarget { + readonly name: string; + onchange: ((this: PermissionStatus, ev: Event) => any) | null; + readonly state: PermissionState; + addEventListener( + type: K, + listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var PermissionStatus: { + prototype: PermissionStatus; + new (): PermissionStatus; +}; + +interface Permissions { + query(permissionDesc: PermissionDescriptor): Promise; +} + +declare var Permissions: { + prototype: Permissions; + new (): Permissions; +}; + +/** Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,