@cloudbase/framework-plugin-low-code 0.7.10 → 0.7.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/framework-plugin-low-code",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -10,7 +10,7 @@
10
10
  "@tcwd/weapps-core": "2.2.6",
11
11
  "@tcwd/weapps-sdk": "1.2.9",
12
12
  "@zxing/library": "^0.18.6",
13
- "lodash-es": "^4.17.19",
13
+ "lodash": "^4.17.19",
14
14
  "mobx": "^5.15.4",
15
15
  "mobx-react-lite": "^2.0.7",
16
16
  "path-to-regexp": "^1.7.0",
@@ -12,7 +12,7 @@ import common from './common';
12
12
  import { formatEnum, enumOptions } from '../utils/formatEnum';
13
13
  import { _isMobile } from '../utils';
14
14
  import actionMap from './material-actions';
15
- import { get as lodashGet } from 'lodash-es';
15
+ import { get as lodashGet } from 'lodash';
16
16
 
17
17
  const mainAppKey = '__weappsMainApp';
18
18
  const appGlobal = process.env.isMiniprogram ? getApp() : window;
@@ -3,7 +3,7 @@ import { useContext, useCallback, createContext, useRef } from 'react';
3
3
  import { observer } from 'mobx-react-lite';
4
4
  import { emitEvent } from '../actionHandler/utils';
5
5
  import { translateStyleToRem } from '@tcwd/weapps-core';
6
- import { get, set } from 'lodash-es';
6
+ import { get, set } from 'lodash';
7
7
  import { $page } from '../../app/global-api';
8
8
  import { getDom } from '../utils/widgets';
9
9
  import { checkVisible } from '../../utils/index';
@@ -1,5 +1,5 @@
1
1
  import { resolveDataBinds } from '../utils/common';
2
- import { set as lodashSet } from 'lodash-es';
2
+ import { set as lodashSet } from 'lodash';
3
3
 
4
4
  const DEFAULT_MAX_TIMEOUT = 10 * 1000;
5
5
 
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * 生命周期处理函数
4
4
  */
5
- import { throttle } from 'lodash-es';
5
+ import { throttle } from 'lodash';
6
6
  import { wx } from '@tcwd/weapps-sdk';
7
7
  import * as querystring from 'querystring';
8
8
  // 小程序 端使用lifeCycle
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { set, cloneDeep } from 'lodash-es';
2
+ import { set, cloneDeep } from 'lodash';
3
3
  import { ForContext, getComponentRenderList } from './FieldMiddleware/renderer';
4
4
  import { isScopeSlot } from '../utils/index';
5
5
  import { observer } from 'mobx-react-lite';
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { observable, autorun, untracked } from 'mobx';
3
- import { remove } from 'lodash-es';
3
+ import { remove } from 'lodash';
4
4
  import { checkVisible } from '../../utils/index';
5
5
 
6
6
  export const WidgetsContext = React.createContext({ parent: null });
@@ -11,7 +11,7 @@ import { app as mainApp } from 'app/global-api' // 取主包app
11
11
  import { app, $page } from '../../app/global-api' // 取对应子包app
12
12
  import { createWidgets, retryDataBinds, resolveComponentProps, checkAuth, reportTime } from 'handlers/utils'
13
13
  import { useScrollTop } from 'handlers/hooks'
14
- import { get } from "lodash-es";
14
+ import { get } from "lodash";
15
15
  import './index.less'
16
16
  <% if(pageSource){ %>
17
17
  import { loadMicroApp } from 'qiankun';
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { observer } from "mobx-react-lite";
3
3
  import { observable } from "mobx";
4
- import { get } from 'lodash-es'
4
+ import { get } from 'lodash'
5
5
 
6
6
  import { AppRender } from "handlers/render";
7
7
  import { createComputed } from "../../../../utils";
@@ -1,4 +1,4 @@
1
- import { get as lodashGet, set as lodashSet } from 'lodash-es';
1
+ import { get as lodashGet, set as lodashSet } from 'lodash';
2
2
 
3
3
  const componentsInfoMap = <%= componentsInfoMap %>;
4
4