@tarojs/plugin-platform-jd 3.6.26 → 3.6.27

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.
@@ -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 },\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;AAC1B,KAAA;;;ACrBU,MAAA,UAAU,GAAG;IACxB,aAAa;;;;;"}
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 },\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;AAC1B,KAAA;;;ACrBU,MAAA,UAAU,GAAG;IACxB,aAAa;;;;;"}
@@ -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 },\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;AAC1B,KAAA;CACF;;ACtBM,MAAM,UAAU,GAAG;IACxB,aAAa;CACd;;ACFD,eAAe,CAAC,UAAU,CAAC,CAAA;AAC3B,uBAAuB,CAAC,UAAU,CAAC"}
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 },\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;AAC1B,KAAA;CACF;;ACtBM,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.26",
3
+ "version": "3.6.27",
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,8 @@
23
23
  "url": "https://github.com/NervJS/taro/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@tarojs/shared": "3.6.26",
27
- "@tarojs/service": "3.6.26"
26
+ "@tarojs/service": "3.6.27",
27
+ "@tarojs/shared": "3.6.27"
28
28
  },
29
29
  "devDependencies": {
30
30
  "rollup": "^2.79.0",