@tarojs/plugin-platform-jd 3.6.34 → 3.6.36-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-react.js +47 -0
- package/dist/components-react.js.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime-utils.js +35 -0
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +35 -0
- package/dist/runtime.js.map +1 -1
- package/package.json +4 -3
- package/types/components-react.d.ts +5 -0
- package/types/index.d.ts +1 -0
- package/types/runtime-utils.d.ts +35 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const View = 'view';
|
|
2
|
+
const Icon = 'icon';
|
|
3
|
+
const Progress = 'progress';
|
|
4
|
+
const RichText = 'rich-text';
|
|
5
|
+
const Text = 'text';
|
|
6
|
+
const Button = 'button';
|
|
7
|
+
const Checkbox = 'checkbox';
|
|
8
|
+
const CheckboxGroup = 'checkbox-group';
|
|
9
|
+
const Form = 'form';
|
|
10
|
+
const Input = 'input';
|
|
11
|
+
const Label = 'label';
|
|
12
|
+
const Picker = 'picker';
|
|
13
|
+
const PickerView = 'picker-view';
|
|
14
|
+
const PickerViewColumn = 'picker-view-column';
|
|
15
|
+
const Radio = 'radio';
|
|
16
|
+
const RadioGroup = 'radio-group';
|
|
17
|
+
const Slider = 'slider';
|
|
18
|
+
const Switch = 'switch';
|
|
19
|
+
const CoverImage = 'cover-image';
|
|
20
|
+
const Textarea = 'textarea';
|
|
21
|
+
const CoverView = 'cover-view';
|
|
22
|
+
const MovableArea = 'movable-area';
|
|
23
|
+
const MovableView = 'movable-view';
|
|
24
|
+
const ScrollView = 'scroll-view';
|
|
25
|
+
const Swiper = 'swiper';
|
|
26
|
+
const SwiperItem = 'swiper-item';
|
|
27
|
+
const Navigator = 'navigator';
|
|
28
|
+
const Audio = 'audio';
|
|
29
|
+
const Camera = 'camera';
|
|
30
|
+
const Image = 'image';
|
|
31
|
+
const LivePlayer = 'live-player';
|
|
32
|
+
const Video = 'video';
|
|
33
|
+
const Canvas = 'canvas';
|
|
34
|
+
const Ad = 'ad';
|
|
35
|
+
const WebView = 'web-view';
|
|
36
|
+
const Block = 'block';
|
|
37
|
+
const Map = 'map';
|
|
38
|
+
const Slot = 'slot';
|
|
39
|
+
const NativeSlot = 'native-slot';
|
|
40
|
+
const CustomWrapper = 'custom-wrapper';
|
|
41
|
+
|
|
42
|
+
const Editor = 'editor';
|
|
43
|
+
const PageContainer = 'page-container';
|
|
44
|
+
const RootPortal = 'root-portal';
|
|
45
|
+
|
|
46
|
+
export { Ad, Audio, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, Editor, Form, Icon, Image, Input, Label, LivePlayer, Map, MovableArea, MovableView, NativeSlot, Navigator, PageContainer, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ScrollView, Slider, Slot, Swiper, SwiperItem, Switch, Text, Textarea, Video, View, WebView };
|
|
47
|
+
//# sourceMappingURL=components-react.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-react.js","sources":["../src/components-react.ts"],"sourcesContent":["export * from '@tarojs/components/mini'\nexport const Editor = 'editor'\nexport const PageContainer = 'page-container'\nexport const RootPortal = 'root-portal'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACO,MAAM,MAAM,GAAG,SAAQ;AACvB,MAAM,aAAa,GAAG,iBAAgB;AACtC,MAAM,UAAU,GAAG;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -61,6 +61,41 @@ const components = {
|
|
|
61
61
|
'adjust-position': 'true',
|
|
62
62
|
'disable-default-padding': 'false',
|
|
63
63
|
},
|
|
64
|
+
RootPortal: {
|
|
65
|
+
enable: 'true'
|
|
66
|
+
},
|
|
67
|
+
Editor: {
|
|
68
|
+
'read-only': 'false',
|
|
69
|
+
placeholder: '',
|
|
70
|
+
'show-img-size': 'false',
|
|
71
|
+
'show-img-toolbar': 'false',
|
|
72
|
+
'show-img-resize': 'false',
|
|
73
|
+
focus: 'false',
|
|
74
|
+
bindReady: '',
|
|
75
|
+
bindFocus: '',
|
|
76
|
+
bindBlur: '',
|
|
77
|
+
bindInput: '',
|
|
78
|
+
bindStatusChange: '',
|
|
79
|
+
name: ''
|
|
80
|
+
},
|
|
81
|
+
PageContainer: {
|
|
82
|
+
show: 'false',
|
|
83
|
+
duration: '300',
|
|
84
|
+
'z-index': '100',
|
|
85
|
+
overlay: 'true',
|
|
86
|
+
position: "'bottom'",
|
|
87
|
+
round: 'false',
|
|
88
|
+
'close-on-slide-down': 'false',
|
|
89
|
+
'overlay-style': '',
|
|
90
|
+
'custom-style': '',
|
|
91
|
+
bindBeforeEnter: '',
|
|
92
|
+
bindEnter: '',
|
|
93
|
+
bindAfterEnter: '',
|
|
94
|
+
bindBeforeLeave: '',
|
|
95
|
+
bindLeave: '',
|
|
96
|
+
bindAfterLeave: '',
|
|
97
|
+
bindClickOverlay: ''
|
|
98
|
+
},
|
|
64
99
|
};
|
|
65
100
|
|
|
66
101
|
class Template extends template.UnRecursiveTemplate {
|
|
@@ -108,6 +143,7 @@ class JD extends service.TaroPlatformBase {
|
|
|
108
143
|
this.globalObject = 'jd';
|
|
109
144
|
this.projectConfigJson = 'project.jd.json';
|
|
110
145
|
this.runtimePath = `${PACKAGE_NAME}/dist/runtime`;
|
|
146
|
+
this.taroComponentsPath = `${PACKAGE_NAME}/dist/components-react`;
|
|
111
147
|
this.fileType = {
|
|
112
148
|
templ: '.jxml',
|
|
113
149
|
style: '.jxss',
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/components.ts","../src/template.ts","../src/program.ts","../src/index.ts"],"sourcesContent":["import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n}\n","import { UnRecursiveTemplate } from '@tarojs/shared/dist/template'\n\nexport class Template extends UnRecursiveTemplate {\n supportXS = true\n Adapter = {\n if: 'jd:if',\n else: 'jd:else',\n elseif: 'jd:elif',\n for: 'jd:for',\n forItem: 'jd:for-item',\n forIndex: 'jd:for-index',\n key: 'jd:key',\n type: 'jd'\n }\n\n buildXsTemplate (filePath = './utils') {\n return `<jds src=\"${filePath}.jds\" module=\"xs\" />`\n }\n\n replacePropName (name, value, componentName) {\n if (value === 'eh') {\n const nameLowerCase = name.toLowerCase()\n if (nameLowerCase === 'bindlongtap' && componentName !== 'canvas') return 'bindlongpress'\n return nameLowerCase\n }\n return name\n }\n}\n","import { TaroPlatformBase } from '@tarojs/service'\n\nimport { components } from './components'\nimport { Template } from './template'\n\nconst PACKAGE_NAME = '@tarojs/plugin-platform-jd'\n\nexport default class JD extends TaroPlatformBase {\n platform = 'jd'\n globalObject = 'jd'\n projectConfigJson = 'project.jd.json'\n runtimePath = `${PACKAGE_NAME}/dist/runtime`\n fileType = {\n templ: '.jxml',\n style: '.jxss',\n config: '.json',\n script: '.js',\n xs: '.jds'\n }\n\n template = new Template()\n\n /**\n * 1. setupTransaction - init\n * 2. setup\n * 3. setupTransaction - close\n * 4. buildTransaction - init\n * 5. build\n * 6. buildTransaction - close\n */\n constructor (ctx, config) {\n super(ctx, config)\n\n this.setupTransaction.addWrapper({\n close: this.modifyTemplate\n })\n }\n\n /**\n * 增加组件或修改组件属性\n */\n modifyTemplate () {\n this.template.mergeComponents(this.ctx, components)\n }\n}\n","import { isString } from '@tarojs/shared'\n\nimport JD from './program'\n\nimport type { IPluginContext } from '@tarojs/service'\n\n// 让其它平台插件可以继承此平台\nexport { JD }\n\nexport default (ctx: IPluginContext) => {\n ctx.registerPlatform({\n name: 'jd',\n useConfigName: 'mini',\n async fn ({ config }) {\n const program = new JD(ctx, config)\n await program.start()\n }\n })\n\n ctx.modifyRunnerOpts(({ opts }) => {\n if (!opts?.compiler) return\n\n if (isString(opts.compiler)) {\n opts.compiler = {\n type: opts.compiler\n }\n }\n const { compiler } = opts\n if (compiler.type === 'webpack5') {\n compiler.prebundle ||= {}\n const prebundleOptions = compiler.prebundle\n if (prebundleOptions.enable === false) return\n prebundleOptions.swc ||= {\n jsc: {\n target: 'es5'\n }\n }\n prebundleOptions.exclude ||= []\n prebundleOptions.include ||= []\n }\n })\n}\n"],"names":["singleQuote","UnRecursiveTemplate","TaroPlatformBase","isString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,UAAU,GAAG;;AAExB,IAAA,MAAM,EAAE;AACN,QAAA,iBAAiB,EAAEA,kBAAW,CAAC,SAAS,CAAC;AAC1C,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,EAAE;AACT,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,kBAAkB,EAAE,EAAE;AACvB,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,EAAE;AACX,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,iBAAiB,EAAE,MAAM;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,kBAAkB,EAAE,MAAM;AAC1B,QAAA,iBAAiB,EAAE,MAAM;AACzB,QAAA,yBAAyB,EAAE,OAAO;AACnC,KAAA;CACF;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/components.ts","../src/template.ts","../src/program.ts","../src/index.ts"],"sourcesContent":["import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n RootPortal: {\n enable: 'true'\n },\n Editor: {\n 'read-only': 'false',\n placeholder: '',\n 'show-img-size': 'false',\n 'show-img-toolbar': 'false',\n 'show-img-resize': 'false',\n focus: 'false',\n bindReady: '',\n bindFocus: '',\n bindBlur: '',\n bindInput: '',\n bindStatusChange: '',\n name: ''\n },\n PageContainer: {\n show: 'false',\n duration: '300',\n 'z-index': '100',\n overlay: 'true',\n position: \"'bottom'\",\n round: 'false',\n 'close-on-slide-down': 'false',\n 'overlay-style': '',\n 'custom-style': '',\n bindBeforeEnter: '',\n bindEnter: '',\n bindAfterEnter: '',\n bindBeforeLeave: '',\n bindLeave: '',\n bindAfterLeave: '',\n bindClickOverlay: ''\n },\n}\n","import { UnRecursiveTemplate } from '@tarojs/shared/dist/template'\n\nexport class Template extends UnRecursiveTemplate {\n supportXS = true\n Adapter = {\n if: 'jd:if',\n else: 'jd:else',\n elseif: 'jd:elif',\n for: 'jd:for',\n forItem: 'jd:for-item',\n forIndex: 'jd:for-index',\n key: 'jd:key',\n type: 'jd'\n }\n\n buildXsTemplate (filePath = './utils') {\n return `<jds src=\"${filePath}.jds\" module=\"xs\" />`\n }\n\n replacePropName (name, value, componentName) {\n if (value === 'eh') {\n const nameLowerCase = name.toLowerCase()\n if (nameLowerCase === 'bindlongtap' && componentName !== 'canvas') return 'bindlongpress'\n return nameLowerCase\n }\n return name\n }\n}\n","import { TaroPlatformBase } from '@tarojs/service'\n\nimport { components } from './components'\nimport { Template } from './template'\n\nconst PACKAGE_NAME = '@tarojs/plugin-platform-jd'\n\nexport default class JD extends TaroPlatformBase {\n platform = 'jd'\n globalObject = 'jd'\n projectConfigJson = 'project.jd.json'\n runtimePath = `${PACKAGE_NAME}/dist/runtime`\n taroComponentsPath = `${PACKAGE_NAME}/dist/components-react`\n fileType = {\n templ: '.jxml',\n style: '.jxss',\n config: '.json',\n script: '.js',\n xs: '.jds'\n }\n\n template = new Template()\n\n /**\n * 1. setupTransaction - init\n * 2. setup\n * 3. setupTransaction - close\n * 4. buildTransaction - init\n * 5. build\n * 6. buildTransaction - close\n */\n constructor (ctx, config) {\n super(ctx, config)\n\n this.setupTransaction.addWrapper({\n close: this.modifyTemplate\n })\n }\n\n /**\n * 增加组件或修改组件属性\n */\n modifyTemplate () {\n this.template.mergeComponents(this.ctx, components)\n }\n}\n","import { isString } from '@tarojs/shared'\n\nimport JD from './program'\n\nimport type { IPluginContext } from '@tarojs/service'\n\n// 让其它平台插件可以继承此平台\nexport { JD }\n\nexport default (ctx: IPluginContext) => {\n ctx.registerPlatform({\n name: 'jd',\n useConfigName: 'mini',\n async fn ({ config }) {\n const program = new JD(ctx, config)\n await program.start()\n }\n })\n\n ctx.modifyRunnerOpts(({ opts }) => {\n if (!opts?.compiler) return\n\n if (isString(opts.compiler)) {\n opts.compiler = {\n type: opts.compiler\n }\n }\n const { compiler } = opts\n if (compiler.type === 'webpack5') {\n compiler.prebundle ||= {}\n const prebundleOptions = compiler.prebundle\n if (prebundleOptions.enable === false) return\n prebundleOptions.swc ||= {\n jsc: {\n target: 'es5'\n }\n }\n prebundleOptions.exclude ||= []\n prebundleOptions.include ||= []\n }\n })\n}\n"],"names":["singleQuote","UnRecursiveTemplate","TaroPlatformBase","isString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,UAAU,GAAG;;AAExB,IAAA,MAAM,EAAE;AACN,QAAA,iBAAiB,EAAEA,kBAAW,CAAC,SAAS,CAAC;AAC1C,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,EAAE;AACT,KAAA;AACD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CAAA,GAAA,IAAI,CAAE,QAAQ,CAAA;YAAE,OAAM;AAE3B,QAAA,IAAIC,eAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC3B,IAAI,CAAC,QAAQ,GAAG;gBACd,IAAI,EAAE,IAAI,CAAC,QAAQ;aACpB,CAAA;AACF,SAAA;AACD,QAAA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;AACzB,QAAA,IAAI,QAAQ,CAAC,IAAI,KAAK,UAAU,EAAE;YAChC,QAAQ,CAAC,SAAS,KAAlB,QAAQ,CAAC,SAAS,GAAK,EAAE,CAAA,CAAA;AACzB,YAAA,MAAM,gBAAgB,GAAG,QAAQ,CAAC,SAAS,CAAA;AAC3C,YAAA,IAAI,gBAAgB,CAAC,MAAM,KAAK,KAAK;gBAAE,OAAM;AAC7C,YAAA,gBAAgB,CAAC,GAAG,KAApB,gBAAgB,CAAC,GAAG,GAAK;AACvB,gBAAA,GAAG,EAAE;AACH,oBAAA,MAAM,EAAE,KAAK;AACd,iBAAA;aACF,CAAA,CAAA;YACD,gBAAgB,CAAC,OAAO,KAAxB,gBAAgB,CAAC,OAAO,GAAK,EAAE,CAAA,CAAA;YAC/B,gBAAgB,CAAC,OAAO,KAAxB,gBAAgB,CAAC,OAAO,GAAK,EAAE,CAAA,CAAA;AAChC,SAAA;AACH,KAAC,CAAC,CAAA;AACJ,CAAC;;;;;"}
|
package/dist/runtime-utils.js
CHANGED
|
@@ -35,6 +35,41 @@ const components = {
|
|
|
35
35
|
'adjust-position': 'true',
|
|
36
36
|
'disable-default-padding': 'false',
|
|
37
37
|
},
|
|
38
|
+
RootPortal: {
|
|
39
|
+
enable: 'true'
|
|
40
|
+
},
|
|
41
|
+
Editor: {
|
|
42
|
+
'read-only': 'false',
|
|
43
|
+
placeholder: '',
|
|
44
|
+
'show-img-size': 'false',
|
|
45
|
+
'show-img-toolbar': 'false',
|
|
46
|
+
'show-img-resize': 'false',
|
|
47
|
+
focus: 'false',
|
|
48
|
+
bindReady: '',
|
|
49
|
+
bindFocus: '',
|
|
50
|
+
bindBlur: '',
|
|
51
|
+
bindInput: '',
|
|
52
|
+
bindStatusChange: '',
|
|
53
|
+
name: ''
|
|
54
|
+
},
|
|
55
|
+
PageContainer: {
|
|
56
|
+
show: 'false',
|
|
57
|
+
duration: '300',
|
|
58
|
+
'z-index': '100',
|
|
59
|
+
overlay: 'true',
|
|
60
|
+
position: "'bottom'",
|
|
61
|
+
round: 'false',
|
|
62
|
+
'close-on-slide-down': 'false',
|
|
63
|
+
'overlay-style': '',
|
|
64
|
+
'custom-style': '',
|
|
65
|
+
bindBeforeEnter: '',
|
|
66
|
+
bindEnter: '',
|
|
67
|
+
bindAfterEnter: '',
|
|
68
|
+
bindBeforeLeave: '',
|
|
69
|
+
bindLeave: '',
|
|
70
|
+
bindAfterLeave: '',
|
|
71
|
+
bindClickOverlay: ''
|
|
72
|
+
},
|
|
38
73
|
};
|
|
39
74
|
|
|
40
75
|
const hostConfig = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-utils.js","sources":["../src/apis.ts","../src/components.ts","../src/runtime-utils.ts"],"sourcesContent":["import { processApis } from '@tarojs/shared'\n\ndeclare const jd: any\n\nexport function initNativeApi (taro) {\n processApis(taro, jd)\n\n taro.getTabBar = function (pageCtx) {\n if (typeof pageCtx?.getTabBar === 'function') {\n return pageCtx.getTabBar()?.$taroInstances\n }\n }\n}\n","import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n}\n","import { initNativeApi } from './apis'\n\nexport { initNativeApi }\nexport * from './components'\nexport const hostConfig = {\n initNativeApi\n}\n"],"names":[],"mappings":";;AAIM,SAAU,aAAa,CAAE,IAAI,EAAA;AACjC,IAAA,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;AAErB,IAAA,IAAI,CAAC,SAAS,GAAG,UAAU,OAAO,EAAA;;AAChC,QAAA,IAAI,QAAO,OAAO,KAAA,IAAA,IAAP,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAP,OAAO,CAAE,SAAS,CAAA,KAAK,UAAU,EAAE;AAC5C,YAAA,OAAO,MAAA,OAAO,CAAC,SAAS,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,cAAc,CAAA;AAC3C,SAAA;AACH,KAAC,CAAA;AACH;;ACVa,MAAA,UAAU,GAAG;;AAExB,IAAA,MAAM,EAAE;AACN,QAAA,iBAAiB,EAAE,WAAW,CAAC,SAAS,CAAC;AAC1C,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,EAAE;AACT,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,kBAAkB,EAAE,EAAE;AACvB,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,EAAE;AACX,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,iBAAiB,EAAE,MAAM;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,kBAAkB,EAAE,MAAM;AAC1B,QAAA,iBAAiB,EAAE,MAAM;AACzB,QAAA,yBAAyB,EAAE,OAAO;AACnC,KAAA;;;
|
|
1
|
+
{"version":3,"file":"runtime-utils.js","sources":["../src/apis.ts","../src/components.ts","../src/runtime-utils.ts"],"sourcesContent":["import { processApis } from '@tarojs/shared'\n\ndeclare const jd: any\n\nexport function initNativeApi (taro) {\n processApis(taro, jd)\n\n taro.getTabBar = function (pageCtx) {\n if (typeof pageCtx?.getTabBar === 'function') {\n return pageCtx.getTabBar()?.$taroInstances\n }\n }\n}\n","import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n RootPortal: {\n enable: 'true'\n },\n Editor: {\n 'read-only': 'false',\n placeholder: '',\n 'show-img-size': 'false',\n 'show-img-toolbar': 'false',\n 'show-img-resize': 'false',\n focus: 'false',\n bindReady: '',\n bindFocus: '',\n bindBlur: '',\n bindInput: '',\n bindStatusChange: '',\n name: ''\n },\n PageContainer: {\n show: 'false',\n duration: '300',\n 'z-index': '100',\n overlay: 'true',\n position: \"'bottom'\",\n round: 'false',\n 'close-on-slide-down': 'false',\n 'overlay-style': '',\n 'custom-style': '',\n bindBeforeEnter: '',\n bindEnter: '',\n bindAfterEnter: '',\n bindBeforeLeave: '',\n bindLeave: '',\n bindAfterLeave: '',\n bindClickOverlay: ''\n },\n}\n","import { initNativeApi } from './apis'\n\nexport { initNativeApi }\nexport * from './components'\nexport const hostConfig = {\n initNativeApi\n}\n"],"names":[],"mappings":";;AAIM,SAAU,aAAa,CAAE,IAAI,EAAA;AACjC,IAAA,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;AAErB,IAAA,IAAI,CAAC,SAAS,GAAG,UAAU,OAAO,EAAA;;AAChC,QAAA,IAAI,QAAO,OAAO,KAAA,IAAA,IAAP,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAP,OAAO,CAAE,SAAS,CAAA,KAAK,UAAU,EAAE;AAC5C,YAAA,OAAO,MAAA,OAAO,C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AAA,QAAQ,EAAE,KAAK;AACf,QAAA,SAAS,EAAE,KAAK;AAChB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,qBAAqB,EAAE,OAAO;AAC9B,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;;;ACzDU,MAAA,UAAU,GAAG;IACxB,aAAa;;;;;"}
|
package/dist/runtime.js
CHANGED
|
@@ -35,6 +35,41 @@ const components = {
|
|
|
35
35
|
'adjust-position': 'true',
|
|
36
36
|
'disable-default-padding': 'false',
|
|
37
37
|
},
|
|
38
|
+
RootPortal: {
|
|
39
|
+
enable: 'true'
|
|
40
|
+
},
|
|
41
|
+
Editor: {
|
|
42
|
+
'read-only': 'false',
|
|
43
|
+
placeholder: '',
|
|
44
|
+
'show-img-size': 'false',
|
|
45
|
+
'show-img-toolbar': 'false',
|
|
46
|
+
'show-img-resize': 'false',
|
|
47
|
+
focus: 'false',
|
|
48
|
+
bindReady: '',
|
|
49
|
+
bindFocus: '',
|
|
50
|
+
bindBlur: '',
|
|
51
|
+
bindInput: '',
|
|
52
|
+
bindStatusChange: '',
|
|
53
|
+
name: ''
|
|
54
|
+
},
|
|
55
|
+
PageContainer: {
|
|
56
|
+
show: 'false',
|
|
57
|
+
duration: '300',
|
|
58
|
+
'z-index': '100',
|
|
59
|
+
overlay: 'true',
|
|
60
|
+
position: "'bottom'",
|
|
61
|
+
round: 'false',
|
|
62
|
+
'close-on-slide-down': 'false',
|
|
63
|
+
'overlay-style': '',
|
|
64
|
+
'custom-style': '',
|
|
65
|
+
bindBeforeEnter: '',
|
|
66
|
+
bindEnter: '',
|
|
67
|
+
bindAfterEnter: '',
|
|
68
|
+
bindBeforeLeave: '',
|
|
69
|
+
bindLeave: '',
|
|
70
|
+
bindAfterLeave: '',
|
|
71
|
+
bindClickOverlay: ''
|
|
72
|
+
},
|
|
38
73
|
};
|
|
39
74
|
|
|
40
75
|
const hostConfig = {
|
package/dist/runtime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sources":["../src/apis.ts","../src/components.ts","../src/runtime-utils.ts","../src/runtime.ts"],"sourcesContent":["import { processApis } from '@tarojs/shared'\n\ndeclare const jd: any\n\nexport function initNativeApi (taro) {\n processApis(taro, jd)\n\n taro.getTabBar = function (pageCtx) {\n if (typeof pageCtx?.getTabBar === 'function') {\n return pageCtx.getTabBar()?.$taroInstances\n }\n }\n}\n","import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n}\n","import { initNativeApi } from './apis'\n\nexport { initNativeApi }\nexport * from './components'\nexport const hostConfig = {\n initNativeApi\n}\n","import { mergeInternalComponents, mergeReconciler } from '@tarojs/shared'\n\nimport { components, hostConfig } from './runtime-utils'\n\nmergeReconciler(hostConfig)\nmergeInternalComponents(components)\n"],"names":[],"mappings":";;AAIM,SAAU,aAAa,CAAE,IAAI,EAAA;AACjC,IAAA,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;AAErB,IAAA,IAAI,CAAC,SAAS,GAAG,UAAU,OAAO,EAAA;;AAChC,QAAA,IAAI,QAAO,OAAO,KAAA,IAAA,IAAP,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAP,OAAO,CAAE,SAAS,CAAA,KAAK,UAAU,EAAE;AAC5C,YAAA,OAAO,MAAA,OAAO,CAAC,SAAS,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,cAAc,CAAA;AAC3C,SAAA;AACH,KAAC,CAAA;AACH;;ACVO,MAAM,UAAU,GAAG;;AAExB,IAAA,MAAM,EAAE;AACN,QAAA,iBAAiB,EAAE,WAAW,CAAC,SAAS,CAAC;AAC1C,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE,EAAE;AACT,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,kBAAkB,EAAE,EAAE;AACvB,KAAA;AACD,IAAA,GAAG,EAAE;AACH,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,EAAE;AACX,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,iBAAiB,EAAE,MAAM;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,kBAAkB,EAAE,MAAM;AAC1B,QAAA,iBAAiB,EAAE,MAAM;AACzB,QAAA,yBAAyB,EAAE,OAAO;AACnC,KAAA;CACF;;
|
|
1
|
+
{"version":3,"file":"runtime.js","sources":["../src/apis.ts","../src/components.ts","../src/runtime-utils.ts","../src/runtime.ts"],"sourcesContent":["import { processApis } from '@tarojs/shared'\n\ndeclare const jd: any\n\nexport function initNativeApi (taro) {\n processApis(taro, jd)\n\n taro.getTabBar = function (pageCtx) {\n if (typeof pageCtx?.getTabBar === 'function') {\n return pageCtx.getTabBar()?.$taroInstances\n }\n }\n}\n","import { singleQuote } from '@tarojs/shared'\n\nexport const components = {\n // ======== 调整属性 ========\n Swiper: {\n 'easing-function': singleQuote('default')\n },\n Canvas: {\n type: ''\n },\n Button: {\n bindGetPhoneNumber: ''\n },\n Map: {\n bindRegionChange: ''\n },\n WebView: {\n height: ''\n },\n Input: {\n 'adjust-position': 'true',\n },\n Textarea: {\n 'show-confirm-bar': 'true',\n 'adjust-position': 'true',\n 'disable-default-padding': 'false',\n },\n RootPortal: {\n enable: 'true'\n },\n Editor: {\n 'read-only': 'false',\n placeholder: '',\n 'show-img-size': 'false',\n 'show-img-toolbar': 'false',\n 'show-img-resize': 'false',\n focus: 'false',\n bindReady: '',\n bindFocus: '',\n bindBlur: '',\n bindInput: '',\n bindStatusChange: '',\n name: ''\n },\n PageContainer: {\n show: 'false',\n duration: '300',\n 'z-index': '100',\n overlay: 'true',\n position: \"'bottom'\",\n round: 'false',\n 'close-on-slide-down': 'false',\n 'overlay-style': '',\n 'custom-style': '',\n bindBeforeEnter: '',\n bindEnter: '',\n bindAfterEnter: '',\n bindBeforeLeave: '',\n bindLeave: '',\n bindAfterLeave: '',\n bindClickOverlay: ''\n },\n}\n","import { initNativeApi } from './apis'\n\nexport { initNativeApi }\nexport * from './components'\nexport const hostConfig = {\n initNativeApi\n}\n","import { mergeInternalComponents, mergeReconciler } from '@tarojs/shared'\n\nimport { components, hostConfig } from './runtime-utils'\n\nmergeReconciler(hostConfig)\nmergeInternalComponents(components)\n"],"names":[],"mappings":";;AAIM,SAAU,aAAa,CAAE,IAAI,EAAA;AACjC,IAAA,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;AAErB,IAAA,IAAI,CAAC,SAAS,GAAG,UAAU,OAAO,EAAA;;AAChC,QAAA,IAAI,QAAO,OAAO,KAAA,IAAA,IAAP,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAP,OAAO,CAAE,SAAS,CAAA,KAAK,UAAU,EAAE;AAC5C,YAAA,OAAO,MAAA,OAAO,CAAC,SAAS,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,cAAc,CAAA;AAC3C,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ACpB,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,qBAAqB,EAAE,OAAO;AAC9B,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;CACF;;AC1DM,MAAM,UAAU,GAAG;IACxB,aAAa;CACd;;ACFD,eAAe,CAAC,UAAU,CAAC,CAAA;AAC3B,uBAAuB,CAAC,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/plugin-platform-jd",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.36-alpha.1",
|
|
4
4
|
"description": "京东小程序平台插件",
|
|
5
5
|
"author": "Chen-jj",
|
|
6
6
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-jd#readme",
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
"url": "https://github.com/NervJS/taro/issues"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tarojs/
|
|
27
|
-
"@tarojs/service": "3.6.
|
|
26
|
+
"@tarojs/components": "3.6.36-alpha.1",
|
|
27
|
+
"@tarojs/service": "3.6.36-alpha.1",
|
|
28
|
+
"@tarojs/shared": "3.6.36-alpha.1"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"rollup": "^2.79.0",
|
package/types/index.d.ts
CHANGED
package/types/runtime-utils.d.ts
CHANGED
|
@@ -23,6 +23,41 @@ declare const components: {
|
|
|
23
23
|
"adjust-position": string;
|
|
24
24
|
"disable-default-padding": string;
|
|
25
25
|
};
|
|
26
|
+
RootPortal: {
|
|
27
|
+
enable: string;
|
|
28
|
+
};
|
|
29
|
+
Editor: {
|
|
30
|
+
"read-only": string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
"show-img-size": string;
|
|
33
|
+
"show-img-toolbar": string;
|
|
34
|
+
"show-img-resize": string;
|
|
35
|
+
focus: string;
|
|
36
|
+
bindReady: string;
|
|
37
|
+
bindFocus: string;
|
|
38
|
+
bindBlur: string;
|
|
39
|
+
bindInput: string;
|
|
40
|
+
bindStatusChange: string;
|
|
41
|
+
name: string;
|
|
42
|
+
};
|
|
43
|
+
PageContainer: {
|
|
44
|
+
show: string;
|
|
45
|
+
duration: string;
|
|
46
|
+
"z-index": string;
|
|
47
|
+
overlay: string;
|
|
48
|
+
position: string;
|
|
49
|
+
round: string;
|
|
50
|
+
"close-on-slide-down": string;
|
|
51
|
+
"overlay-style": string;
|
|
52
|
+
"custom-style": string;
|
|
53
|
+
bindBeforeEnter: string;
|
|
54
|
+
bindEnter: string;
|
|
55
|
+
bindAfterEnter: string;
|
|
56
|
+
bindBeforeLeave: string;
|
|
57
|
+
bindLeave: string;
|
|
58
|
+
bindAfterLeave: string;
|
|
59
|
+
bindClickOverlay: string;
|
|
60
|
+
};
|
|
26
61
|
};
|
|
27
62
|
declare const hostConfig: {
|
|
28
63
|
initNativeApi: typeof initNativeApi;
|