@luck-design-biz/luckda 0.0.25-af-1 → 0.0.25-af-2

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.
@@ -36,6 +36,7 @@ import { TreeSelector, RegionFormItem } from '@luck-design-biz/base';
36
36
  import { DatadicDropDown, UserSelectDropDown as UserItem } from '@luck-design-biz/base/sys/dropdown';
37
37
  import buildUploadFormItem from "../upload/FormItem";
38
38
  import ComplexItem from "../components/ComplexItem";
39
+ import { LC_COMPONENT_UNIT_KEY, LC_FORMITEM_UNIT } from "../lowcode/constants";
39
40
  export var getNumberItem = function getNumberItem() {
40
41
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
41
42
  handleValueChange = _ref.handleValueChange,
@@ -4,6 +4,8 @@ export var RUNTIME = {
4
4
  PREVIEW: 'preview'
5
5
  };
6
6
  export var CELL_CLASS_NAME = 'ld-lc-cell';
7
+ export var LC_COMPONENT_UNIT_KEY = 'luckda-unitmark';
8
+ export var LC_FORMITEM_UNIT = 'lc-formitem';
7
9
  export var CELL_KEY = {
8
10
  PAGE_ROOT: 'page_root',
9
11
  PAGE_HEADER: 'page_header',
@@ -18,6 +18,7 @@ var _base = require("@luck-design-biz/base");
18
18
  var _dropdown = require("@luck-design-biz/base/sys/dropdown");
19
19
  var _FormItem = _interopRequireDefault(require("../upload/FormItem"));
20
20
  var _ComplexItem = _interopRequireDefault(require("../components/ComplexItem"));
21
+ var _constants = require("../lowcode/constants");
21
22
  var _excluded = ["onBlur"],
22
23
  _excluded2 = ["handleValueChange", "config"],
23
24
  _excluded3 = ["onBlur"],
@@ -338,7 +339,7 @@ var getComplexItem = exports.getComplexItem = function getComplexItem(_ref15) {
338
339
  }
339
340
  });
340
341
  return /*#__PURE__*/_react.default.createElement(_ComplexItem.default, (0, _extends2.default)({}, props, {
341
- $attrs: (0, _defineProperty2.default)((0, _defineProperty2.default)({}, LC_COMPONENT_UNIT_KEY, LC_FORMITEM_UNIT), 'data-__component', 'FieldSelect'),
342
+ $attrs: (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _constants.LC_COMPONENT_UNIT_KEY, _constants.LC_FORMITEM_UNIT), 'data-__component', 'FieldSelect'),
342
343
  config: config
343
344
  }));
344
345
  };
@@ -3,13 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.RUNTIME = exports.CONTAINER_UNIT = exports.CELL_KEY_LIST = exports.CELL_KEY = exports.CELL_CLASS_NAME = void 0;
6
+ exports.RUNTIME = exports.LC_FORMITEM_UNIT = exports.LC_COMPONENT_UNIT_KEY = exports.CONTAINER_UNIT = exports.CELL_KEY_LIST = exports.CELL_KEY = exports.CELL_CLASS_NAME = void 0;
7
7
  var RUNTIME = exports.RUNTIME = {
8
8
  LIVE: 'live',
9
9
  DESIGN: 'design',
10
10
  PREVIEW: 'preview'
11
11
  };
12
12
  var CELL_CLASS_NAME = exports.CELL_CLASS_NAME = 'ld-lc-cell';
13
+ var LC_COMPONENT_UNIT_KEY = exports.LC_COMPONENT_UNIT_KEY = 'luckda-unitmark';
14
+ var LC_FORMITEM_UNIT = exports.LC_FORMITEM_UNIT = 'lc-formitem';
13
15
  var CELL_KEY = exports.CELL_KEY = {
14
16
  PAGE_ROOT: 'page_root',
15
17
  PAGE_HEADER: 'page_header',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.25-af-1",
3
+ "version": "0.0.25-af-2",
4
4
  "description": "前端配置管理中心业务组件库",
5
5
  "scripts": {
6
6
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",