@dckj-npm/dc-material 0.1.12 → 0.1.13

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.
Files changed (63) hide show
  1. package/build/lowcode/assets-daily.json +67 -0
  2. package/build/lowcode/assets-dev.json +67 -0
  3. package/build/lowcode/assets-prod.json +67 -0
  4. package/build/lowcode/designer.html +302 -0
  5. package/build/lowcode/index.html +304 -0
  6. package/build/lowcode/index.js +1 -0
  7. package/build/lowcode/meta.js +1 -0
  8. package/build/lowcode/preview.css +1 -0
  9. package/build/lowcode/preview.html +33 -0
  10. package/build/lowcode/preview.js +308 -0
  11. package/build/lowcode/render/default/view.css +1 -0
  12. package/build/lowcode/render/default/view.js +295 -0
  13. package/build/lowcode/view.css +1 -0
  14. package/build/lowcode/view.js +295 -0
  15. package/lowcode_es/d-c-slider/meta.d.ts +140 -0
  16. package/lowcode_es/d-c-slider/meta.js +298 -0
  17. package/lowcode_es/d-c-slider/snippets.d.ts +36 -0
  18. package/lowcode_es/d-c-slider/snippets.js +36 -0
  19. package/lowcode_es/grid-nav/meta.d.ts +22 -0
  20. package/lowcode_es/grid-nav/meta.js +152 -0
  21. package/lowcode_es/menu-list/meta.d.ts +22 -0
  22. package/lowcode_es/menu-list/meta.js +128 -0
  23. package/lowcode_es/meta.js +173 -0
  24. package/lowcode_es/navigation/meta.d.ts +22 -0
  25. package/lowcode_es/navigation/meta.js +136 -0
  26. package/lowcode_es/position/meta.d.ts +22 -0
  27. package/lowcode_es/position/meta.js +190 -0
  28. package/lowcode_es/search-bar/meta.d.ts +22 -0
  29. package/lowcode_es/search-bar/meta.js +46 -0
  30. package/lowcode_es/tag-c/meta.d.ts +22 -0
  31. package/lowcode_es/tag-c/meta.js +66 -0
  32. package/lowcode_es/teletext-list/meta.d.ts +22 -0
  33. package/lowcode_es/teletext-list/meta.js +294 -0
  34. package/lowcode_es/title1/meta.d.ts +22 -0
  35. package/lowcode_es/title1/meta.js +51 -0
  36. package/lowcode_es/title2/meta.d.ts +22 -0
  37. package/lowcode_es/title2/meta.js +83 -0
  38. package/lowcode_es/view.js +18 -0
  39. package/lowcode_lib/d-c-slider/meta.d.ts +140 -0
  40. package/lowcode_lib/d-c-slider/meta.js +303 -0
  41. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -0
  42. package/lowcode_lib/d-c-slider/snippets.js +40 -0
  43. package/lowcode_lib/grid-nav/meta.d.ts +22 -0
  44. package/lowcode_lib/grid-nav/meta.js +157 -0
  45. package/lowcode_lib/menu-list/meta.d.ts +22 -0
  46. package/lowcode_lib/menu-list/meta.js +133 -0
  47. package/lowcode_lib/meta.js +177 -0
  48. package/lowcode_lib/navigation/meta.d.ts +22 -0
  49. package/lowcode_lib/navigation/meta.js +141 -0
  50. package/lowcode_lib/position/meta.d.ts +22 -0
  51. package/lowcode_lib/position/meta.js +195 -0
  52. package/lowcode_lib/search-bar/meta.d.ts +22 -0
  53. package/lowcode_lib/search-bar/meta.js +51 -0
  54. package/lowcode_lib/tag-c/meta.d.ts +22 -0
  55. package/lowcode_lib/tag-c/meta.js +71 -0
  56. package/lowcode_lib/teletext-list/meta.d.ts +22 -0
  57. package/lowcode_lib/teletext-list/meta.js +299 -0
  58. package/lowcode_lib/title1/meta.d.ts +22 -0
  59. package/lowcode_lib/title1/meta.js +56 -0
  60. package/lowcode_lib/title2/meta.d.ts +22 -0
  61. package/lowcode_lib/title2/meta.js +88 -0
  62. package/lowcode_lib/view.js +29 -0
  63. package/package.json +110 -110
@@ -0,0 +1,22 @@
1
+ import { IPublicTypeSnippet } from '@alilc/lowcode-types';
2
+ declare const _default: {
3
+ snippets: IPublicTypeSnippet[];
4
+ componentName: string;
5
+ uri?: string;
6
+ title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
7
+ icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
8
+ tags?: string[];
9
+ description?: string;
10
+ docUrl?: string;
11
+ screenshot?: string;
12
+ devMode?: "proCode" | "lowCode";
13
+ npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
14
+ props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
15
+ configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
16
+ experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
17
+ schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
18
+ group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
19
+ category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
20
+ priority?: number;
21
+ };
22
+ export default _default;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var Title1Meta = {
8
+ "group": "低代码组件",
9
+ "componentName": "Title1",
10
+ "title": "个性化标题1",
11
+ "docUrl": "",
12
+ "screenshot": "",
13
+ "devMode": "proCode",
14
+ "npm": {
15
+ "package": "@dckj-npm/dc-material",
16
+ "version": "0.1.8",
17
+ "exportName": "Title1",
18
+ "main": "src/index.tsx",
19
+ "destructuring": true,
20
+ "subName": ""
21
+ },
22
+ "configure": {
23
+ "props": [{
24
+ "title": {
25
+ "label": {
26
+ "type": "i18n",
27
+ "en-US": "title",
28
+ "zh-CN": "标题"
29
+ },
30
+ "tip": "title | 标题"
31
+ },
32
+ "name": "title",
33
+ "description": "标题",
34
+ "setter": {
35
+ "componentName": "StringSetter",
36
+ "isRequired": false,
37
+ "initialValue": "标题名称"
38
+ }
39
+ }],
40
+ "supports": {
41
+ "style": true
42
+ },
43
+ "component": {}
44
+ }
45
+ };
46
+ var snippets = [{
47
+ "title": "个性化标题1",
48
+ "screenshot": "",
49
+ "schema": {
50
+ "componentName": "Title1",
51
+ "props": {}
52
+ }
53
+ }];
54
+ var _default = exports["default"] = (0, _extends2["default"])({}, Title1Meta, {
55
+ snippets: snippets
56
+ });
@@ -0,0 +1,22 @@
1
+ import { IPublicTypeSnippet } from '@alilc/lowcode-types';
2
+ declare const _default: {
3
+ snippets: IPublicTypeSnippet[];
4
+ componentName: string;
5
+ uri?: string;
6
+ title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
7
+ icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
8
+ tags?: string[];
9
+ description?: string;
10
+ docUrl?: string;
11
+ screenshot?: string;
12
+ devMode?: "proCode" | "lowCode";
13
+ npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
14
+ props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
15
+ configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
16
+ experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
17
+ schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
18
+ group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
19
+ category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
20
+ priority?: number;
21
+ };
22
+ export default _default;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var Title2Meta = {
8
+ "group": "低代码组件",
9
+ "componentName": "Title2",
10
+ "title": "个性化标题2",
11
+ "docUrl": "",
12
+ "screenshot": "",
13
+ "devMode": "proCode",
14
+ "npm": {
15
+ "package": "@dckj-npm/dc-material",
16
+ "version": "0.1.8",
17
+ "exportName": "Title2",
18
+ "main": "src/index.tsx",
19
+ "destructuring": true,
20
+ "subName": ""
21
+ },
22
+ "configure": {
23
+ "props": [{
24
+ "title": {
25
+ "label": {
26
+ "type": "i18n",
27
+ "en-US": "title",
28
+ "zh-CN": "标题"
29
+ },
30
+ "tip": "title | 标题"
31
+ },
32
+ "name": "title",
33
+ "description": "标题",
34
+ "setter": {
35
+ "componentName": "StringSetter",
36
+ "isRequired": false,
37
+ "initialValue": "标题名称"
38
+ }
39
+ }, {
40
+ "title": {
41
+ "label": {
42
+ "type": "i18n",
43
+ "en-US": "color",
44
+ "zh-CN": "颜色"
45
+ },
46
+ "tip": "color | 颜色"
47
+ },
48
+ "name": "color",
49
+ "description": "颜色",
50
+ "setter": {
51
+ "componentName": "ColorSetter",
52
+ "isRequired": false,
53
+ "initialValue": "#144477"
54
+ }
55
+ }, {
56
+ "title": {
57
+ "label": {
58
+ "type": "i18n",
59
+ "en-US": "tipColor",
60
+ "zh-CN": "tip颜色"
61
+ },
62
+ "tip": "tipColor | tip颜色"
63
+ },
64
+ "name": "tipColor",
65
+ "description": "tip颜色",
66
+ "setter": {
67
+ "componentName": "ColorSetter",
68
+ "isRequired": false,
69
+ "initialValue": "#388AF7"
70
+ }
71
+ }],
72
+ "supports": {
73
+ "style": true
74
+ },
75
+ "component": {}
76
+ }
77
+ };
78
+ var snippets = [{
79
+ "title": "个性化标题2",
80
+ "screenshot": "",
81
+ "schema": {
82
+ "componentName": "Title2",
83
+ "props": {}
84
+ }
85
+ }];
86
+ var _default = exports["default"] = (0, _extends2["default"])({}, Title2Meta, {
87
+ snippets: snippets
88
+ });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var _exportNames = {};
5
+ exports["default"] = void 0;
6
+ var componentInstances = _interopRequireWildcard(require("D:/project/company/lowcode-material/src/index"));
7
+ Object.keys(componentInstances).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
10
+ if (key in exports && exports[key] === componentInstances[key]) return;
11
+ exports[key] = componentInstances[key];
12
+ });
13
+ require("D:/project/company/lowcode-material/src/index.scss");
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
+ var entryDefault = exports["default"] = componentInstances["default"];
17
+ var coveredComponents = {};
18
+ var library = 'BizComps';
19
+ var execCompile = !!true;
20
+ if (!execCompile) {
21
+ window[library] = Object.assign({
22
+ __esModule: true
23
+ }, componentInstances || {}, coveredComponents || {});
24
+ }
25
+ function getRealComponent(component, componentName) {
26
+ if (component["default"]) return component["default"];
27
+ if (component[componentName]) return component[componentName];
28
+ return component;
29
+ }
package/package.json CHANGED
@@ -1,110 +1,110 @@
1
- {
2
- "name": "@dckj-npm/dc-material",
3
- "version": "0.1.12",
4
- "description": "dc低代码物料",
5
- "main": "lib/index.js",
6
- "module": "es/index.js",
7
- "exports": {
8
- "./*": "./*",
9
- ".": {
10
- "import": "./es/index.js",
11
- "require": "./lib/index.js"
12
- },
13
- "./prototype": {
14
- "require": "./lowcode_lib/meta.js",
15
- "import": "./lowcode_es/meta.js"
16
- },
17
- "./prototypeView": {
18
- "require": "./lowcode_lib/view.js",
19
- "import": "./lowcode_es/view.js"
20
- }
21
- },
22
- "publishConfig": {
23
- "access": "public",
24
- "registry": "https://registry.npmjs.org/"
25
- },
26
- "typings": "types/index.d.ts",
27
- "files": [
28
- "build/",
29
- "dist/",
30
- "lib/",
31
- "es/",
32
- "types/",
33
- "lowcode/",
34
- "lowcode_lib/",
35
- "lowcode_es/"
36
- ],
37
- "scripts": {
38
- "start": "npm run dumi",
39
- "build": "build-scripts build",
40
- "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
41
- "lowcode:build": "build-scripts build --config ./build.lowcode.js",
42
- "f2elint-scan": "f2elint scan",
43
- "f2elint-fix": "f2elint fix",
44
- "dumi": "cross-env APP_ROOT=docs dumi dev",
45
- "dumi:build": "cross-env APP_ROOT=docs dumi build",
46
- "prepablishOnly": "npm run build && npm run lowcode:build && npm run dumi:build"
47
- },
48
- "directories": {
49
- "test": "test"
50
- },
51
- "keywords": [
52
- "Fusion"
53
- ],
54
- "author": "fusion-team",
55
- "license": "MIT",
56
- "husky": {
57
- "hooks": {
58
- "pre-commit": "f2elint commit-file-scan",
59
- "commit-msg": "f2elint commit-msg-scan"
60
- }
61
- },
62
- "lint-staged": {
63
- "**/*.{js,jsx,ts,tsx,vue}": "f2elint exec eslint",
64
- "**/*.{css,scss,less,acss}": "f2elint exec stylelint"
65
- },
66
- "peerDependencies": {
67
- "moment": "latest",
68
- "react": "^16.x",
69
- "react-dom": "^16.x"
70
- },
71
- "devDependencies": {
72
- "@alib/build-scripts": "^0.1.3",
73
- "@alifd/build-plugin-lowcode": "^0.4.0",
74
- "@alifd/theme-2": "^0.4.0",
75
- "@alilc/build-plugin-alt": "^1.3.4",
76
- "@alilc/lowcode-materials": "^1.2.1",
77
- "@types/react": "^16.14.24",
78
- "@types/react-dom": "^16.9.4",
79
- "@umijs/plugin-sass": "^1.1.1",
80
- "build-plugin-component": "^1.12.1",
81
- "build-plugin-fusion": "^0.1.0",
82
- "cross-env": "^7.0.3",
83
- "dumi": "^1.1.49",
84
- "dumi-theme-default": "^1.1.24",
85
- "f2elint": "^1.2.0"
86
- },
87
- "dependencies": {
88
- "@alifd/next": "^1.25.27",
89
- "@babel/runtime": "^7.0.0",
90
- "antd": "^5.20.6",
91
- "moment": "latest",
92
- "prop-types": "^15.5.8",
93
- "react": "^16.x",
94
- "react-dom": "^16.x"
95
- },
96
- "acceptDependencies": {
97
- "webpack": "^4.46.x"
98
- },
99
- "resolutions": {
100
- "webpack": "^4.46.x"
101
- },
102
- "componentConfig": {
103
- "isComponentLibrary": true,
104
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.8/build/lowcode/assets-prod.json"
105
- },
106
- "lcMeta": {
107
- "type": "component"
108
- },
109
- "homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.8/build/index.html"
110
- }
1
+ {
2
+ "name": "@dckj-npm/dc-material",
3
+ "version": "0.1.13",
4
+ "description": "dc低代码物料",
5
+ "main": "lib/index.js",
6
+ "module": "es/index.js",
7
+ "exports": {
8
+ "./*": "./*",
9
+ ".": {
10
+ "import": "./es/index.js",
11
+ "require": "./lib/index.js"
12
+ },
13
+ "./prototype": {
14
+ "require": "./lowcode_lib/meta.js",
15
+ "import": "./lowcode_es/meta.js"
16
+ },
17
+ "./prototypeView": {
18
+ "require": "./lowcode_lib/view.js",
19
+ "import": "./lowcode_es/view.js"
20
+ }
21
+ },
22
+ "publishConfig": {
23
+ "access": "public",
24
+ "registry": "https://registry.npmjs.org/"
25
+ },
26
+ "typings": "types/index.d.ts",
27
+ "files": [
28
+ "build/",
29
+ "dist/",
30
+ "lib/",
31
+ "es/",
32
+ "types/",
33
+ "lowcode/",
34
+ "lowcode_lib/",
35
+ "lowcode_es/"
36
+ ],
37
+ "scripts": {
38
+ "start": "npm run dumi",
39
+ "build": "build-scripts build",
40
+ "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
41
+ "lowcode:build": "build-scripts build --config ./build.lowcode.js",
42
+ "f2elint-scan": "f2elint scan",
43
+ "f2elint-fix": "f2elint fix",
44
+ "dumi": "cross-env APP_ROOT=docs dumi dev",
45
+ "dumi:build": "cross-env APP_ROOT=docs dumi build",
46
+ "prepablishOnly": "npm run build && npm run lowcode:build && npm run dumi:build"
47
+ },
48
+ "directories": {
49
+ "test": "test"
50
+ },
51
+ "keywords": [
52
+ "Fusion"
53
+ ],
54
+ "author": "fusion-team",
55
+ "license": "MIT",
56
+ "husky": {
57
+ "hooks": {
58
+ "pre-commit": "f2elint commit-file-scan",
59
+ "commit-msg": "f2elint commit-msg-scan"
60
+ }
61
+ },
62
+ "lint-staged": {
63
+ "**/*.{js,jsx,ts,tsx,vue}": "f2elint exec eslint",
64
+ "**/*.{css,scss,less,acss}": "f2elint exec stylelint"
65
+ },
66
+ "peerDependencies": {
67
+ "moment": "latest",
68
+ "react": "^16.x",
69
+ "react-dom": "^16.x"
70
+ },
71
+ "devDependencies": {
72
+ "@alib/build-scripts": "^0.1.3",
73
+ "@alifd/build-plugin-lowcode": "^0.4.0",
74
+ "@alifd/theme-2": "^0.4.0",
75
+ "@alilc/build-plugin-alt": "^1.3.4",
76
+ "@alilc/lowcode-materials": "^1.2.1",
77
+ "@types/react": "^16.14.24",
78
+ "@types/react-dom": "^16.9.4",
79
+ "@umijs/plugin-sass": "^1.1.1",
80
+ "build-plugin-component": "^1.12.1",
81
+ "build-plugin-fusion": "^0.1.0",
82
+ "cross-env": "^7.0.3",
83
+ "dumi": "^1.1.49",
84
+ "dumi-theme-default": "^1.1.24",
85
+ "f2elint": "^1.2.0"
86
+ },
87
+ "dependencies": {
88
+ "@alifd/next": "^1.25.27",
89
+ "@babel/runtime": "^7.0.0",
90
+ "antd": "^5.20.6",
91
+ "moment": "latest",
92
+ "prop-types": "^15.5.8",
93
+ "react": "^16.x",
94
+ "react-dom": "^16.x"
95
+ },
96
+ "acceptDependencies": {
97
+ "webpack": "^4.46.x"
98
+ },
99
+ "resolutions": {
100
+ "webpack": "^4.46.x"
101
+ },
102
+ "componentConfig": {
103
+ "isComponentLibrary": true,
104
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.12/build/lowcode/assets-prod.json"
105
+ },
106
+ "lcMeta": {
107
+ "type": "component"
108
+ },
109
+ "homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.8/build/index.html"
110
+ }