@dckj-npm/dc-material 0.1.12 → 0.1.14

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 (64) 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/search-bar/meta.ts +1 -0
  16. package/lowcode_es/d-c-slider/meta.d.ts +140 -0
  17. package/lowcode_es/d-c-slider/meta.js +298 -0
  18. package/lowcode_es/d-c-slider/snippets.d.ts +36 -0
  19. package/lowcode_es/d-c-slider/snippets.js +36 -0
  20. package/lowcode_es/grid-nav/meta.d.ts +22 -0
  21. package/lowcode_es/grid-nav/meta.js +152 -0
  22. package/lowcode_es/menu-list/meta.d.ts +22 -0
  23. package/lowcode_es/menu-list/meta.js +128 -0
  24. package/lowcode_es/meta.js +173 -0
  25. package/lowcode_es/navigation/meta.d.ts +22 -0
  26. package/lowcode_es/navigation/meta.js +136 -0
  27. package/lowcode_es/position/meta.d.ts +22 -0
  28. package/lowcode_es/position/meta.js +190 -0
  29. package/lowcode_es/search-bar/meta.d.ts +22 -0
  30. package/lowcode_es/search-bar/meta.js +47 -0
  31. package/lowcode_es/tag-c/meta.d.ts +22 -0
  32. package/lowcode_es/tag-c/meta.js +66 -0
  33. package/lowcode_es/teletext-list/meta.d.ts +22 -0
  34. package/lowcode_es/teletext-list/meta.js +294 -0
  35. package/lowcode_es/title1/meta.d.ts +22 -0
  36. package/lowcode_es/title1/meta.js +51 -0
  37. package/lowcode_es/title2/meta.d.ts +22 -0
  38. package/lowcode_es/title2/meta.js +83 -0
  39. package/lowcode_es/view.js +18 -0
  40. package/lowcode_lib/d-c-slider/meta.d.ts +140 -0
  41. package/lowcode_lib/d-c-slider/meta.js +303 -0
  42. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -0
  43. package/lowcode_lib/d-c-slider/snippets.js +40 -0
  44. package/lowcode_lib/grid-nav/meta.d.ts +22 -0
  45. package/lowcode_lib/grid-nav/meta.js +157 -0
  46. package/lowcode_lib/menu-list/meta.d.ts +22 -0
  47. package/lowcode_lib/menu-list/meta.js +133 -0
  48. package/lowcode_lib/meta.js +177 -0
  49. package/lowcode_lib/navigation/meta.d.ts +22 -0
  50. package/lowcode_lib/navigation/meta.js +141 -0
  51. package/lowcode_lib/position/meta.d.ts +22 -0
  52. package/lowcode_lib/position/meta.js +195 -0
  53. package/lowcode_lib/search-bar/meta.d.ts +22 -0
  54. package/lowcode_lib/search-bar/meta.js +52 -0
  55. package/lowcode_lib/tag-c/meta.d.ts +22 -0
  56. package/lowcode_lib/tag-c/meta.js +71 -0
  57. package/lowcode_lib/teletext-list/meta.d.ts +22 -0
  58. package/lowcode_lib/teletext-list/meta.js +299 -0
  59. package/lowcode_lib/title1/meta.d.ts +22 -0
  60. package/lowcode_lib/title1/meta.js +56 -0
  61. package/lowcode_lib/title2/meta.d.ts +22 -0
  62. package/lowcode_lib/title2/meta.js +88 -0
  63. package/lowcode_lib/view.js +29 -0
  64. 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,195 @@
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 PositionMeta = {
8
+ group: '低代码组件',
9
+ "componentName": "Position",
10
+ "title": "Position",
11
+ "docUrl": "",
12
+ "screenshot": "",
13
+ "devMode": "proCode",
14
+ "npm": {
15
+ "package": "@dckj-npm/dc-material",
16
+ "version": "0.1.7",
17
+ "exportName": "Position",
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": "itemArray",
28
+ "zh-CN": "选择项"
29
+ }
30
+ },
31
+ "name": "itemArray",
32
+ "setter": {
33
+ "componentName": "ArraySetter",
34
+ "props": {
35
+ "itemSetter": {
36
+ "componentName": "ObjectSetter",
37
+ "props": {
38
+ "config": {
39
+ "items": [{
40
+ "title": {
41
+ "label": {
42
+ "type": "i18n",
43
+ "en-US": "lat",
44
+ "zh-CN": "lat"
45
+ }
46
+ },
47
+ "name": "lat",
48
+ "setter": {
49
+ "componentName": "StringSetter",
50
+ "isRequired": true,
51
+ "initialValue": ""
52
+ }
53
+ }, {
54
+ "title": {
55
+ "label": {
56
+ "type": "i18n",
57
+ "en-US": "lng",
58
+ "zh-CN": "lng"
59
+ }
60
+ },
61
+ "name": "lng",
62
+ "setter": {
63
+ "componentName": "StringSetter",
64
+ "isRequired": true,
65
+ "initialValue": ""
66
+ }
67
+ }, {
68
+ "title": {
69
+ "label": {
70
+ "type": "i18n",
71
+ "en-US": "address",
72
+ "zh-CN": "address"
73
+ }
74
+ },
75
+ "name": "address",
76
+ "setter": {
77
+ "componentName": "StringSetter",
78
+ "isRequired": true,
79
+ "initialValue": ""
80
+ }
81
+ }],
82
+ "extraSetter": {
83
+ "componentName": "MixedSetter",
84
+ "isRequired": false,
85
+ "props": {}
86
+ }
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "isRequired": true,
92
+ "initialValue": []
93
+ }
94
+ }, {
95
+ "title": {
96
+ "label": {
97
+ "type": "i18n",
98
+ "en-US": "defaultLocation",
99
+ "zh-CN": "默认地址"
100
+ }
101
+ },
102
+ "name": "defaultLocation",
103
+ "setter": {
104
+ "componentName": "ObjectSetter",
105
+ "props": {
106
+ "config": {
107
+ "items": [{
108
+ "title": {
109
+ "label": {
110
+ "type": "i18n",
111
+ "en-US": "lat",
112
+ "zh-CN": "lat"
113
+ }
114
+ },
115
+ "name": "lat",
116
+ "setter": {
117
+ "componentName": "StringSetter",
118
+ "isRequired": true,
119
+ "initialValue": ""
120
+ }
121
+ }, {
122
+ "title": {
123
+ "label": {
124
+ "type": "i18n",
125
+ "en-US": "lng",
126
+ "zh-CN": "lng"
127
+ }
128
+ },
129
+ "name": "lng",
130
+ "setter": {
131
+ "componentName": "StringSetter",
132
+ "isRequired": true,
133
+ "initialValue": ""
134
+ }
135
+ }, {
136
+ "title": {
137
+ "label": {
138
+ "type": "i18n",
139
+ "en-US": "address",
140
+ "zh-CN": "address"
141
+ }
142
+ },
143
+ "name": "address",
144
+ "setter": {
145
+ "componentName": "StringSetter",
146
+ "isRequired": true,
147
+ "initialValue": ""
148
+ }
149
+ }],
150
+ "extraSetter": {
151
+ "componentName": "MixedSetter",
152
+ "isRequired": false,
153
+ "props": {}
154
+ }
155
+ }
156
+ },
157
+ "isRequired": true
158
+ }
159
+ }],
160
+ "supports": {
161
+ "style": true
162
+ },
163
+ "component": {}
164
+ }
165
+ };
166
+ var snippets = [{
167
+ "title": "定位",
168
+ "screenshot": "",
169
+ "schema": {
170
+ "componentName": "Position",
171
+ "props": {
172
+ defaultLocation: {
173
+ lng: '123',
174
+ lat: '123',
175
+ address: '嘉兴市'
176
+ },
177
+ itemArray: [{
178
+ lng: '123',
179
+ lat: '123',
180
+ address: '嘉兴市'
181
+ }, {
182
+ lng: '123',
183
+ lat: '123',
184
+ address: '杭州市'
185
+ }, {
186
+ lng: '123',
187
+ lat: '123',
188
+ address: '上海市'
189
+ }]
190
+ }
191
+ }
192
+ }];
193
+ var _default = exports["default"] = (0, _extends2["default"])({}, PositionMeta, {
194
+ snippets: snippets
195
+ });
@@ -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,52 @@
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 SearchBarMeta = {
8
+ "group": '低代码组件',
9
+ "componentName": "SearchBar",
10
+ "title": "搜索栏",
11
+ "docUrl": "",
12
+ "screenshot": "",
13
+ "devMode": "proCode",
14
+ "npm": {
15
+ "package": "@dckj-npm/dc-material",
16
+ "version": "0.1.0",
17
+ "exportName": "SearchBar",
18
+ "main": "src\\index.tsx",
19
+ "destructuring": true,
20
+ "subName": ""
21
+ },
22
+ "configure": {
23
+ supports: {
24
+ style: true,
25
+ events: [{
26
+ name: 'onClick',
27
+ // template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
28
+ template: "onClick(${extParams}){\n// 点击按钮的回调函数\nconsole.log('onClick');}"
29
+ }]
30
+ },
31
+ "props": [{
32
+ name: 'defaultValue',
33
+ title: '绑定跳转',
34
+ setter: 'StringSetter',
35
+ supportVariable: true,
36
+ description: '搜索框绑定跳转',
37
+ defaultValue: '请输入'
38
+ }],
39
+ "component": {}
40
+ }
41
+ };
42
+ var snippets = [{
43
+ "title": "搜索栏",
44
+ "screenshot": "",
45
+ "schema": {
46
+ "componentName": "SearchBar",
47
+ "props": {}
48
+ }
49
+ }];
50
+ var _default = exports["default"] = (0, _extends2["default"])({}, SearchBarMeta, {
51
+ snippets: snippets
52
+ });
@@ -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,71 @@
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 TagCMeta = {
8
+ "componentName": "TagC",
9
+ "title": "TagC",
10
+ "docUrl": "",
11
+ "screenshot": "",
12
+ "devMode": "proCode",
13
+ "npm": {
14
+ "package": "@dckj-npm/dc-material",
15
+ "version": "0.1.8",
16
+ "exportName": "TagC",
17
+ "main": "src\\index.tsx",
18
+ "destructuring": true,
19
+ "subName": ""
20
+ },
21
+ "configure": {
22
+ "props": [{
23
+ "title": {
24
+ "label": {
25
+ "type": "i18n",
26
+ "en-US": "name",
27
+ "zh-CN": "标签名称"
28
+ },
29
+ "tip": "name | 标签名称"
30
+ },
31
+ "name": "name",
32
+ "description": "标签名称",
33
+ "setter": {
34
+ "componentName": "StringSetter",
35
+ "isRequired": true,
36
+ "initialValue": ""
37
+ }
38
+ }, {
39
+ "title": {
40
+ "label": {
41
+ "type": "i18n",
42
+ "en-US": "color",
43
+ "zh-CN": "标签颜色"
44
+ },
45
+ "tip": "color | 标签颜色"
46
+ },
47
+ "name": "color",
48
+ "description": "标签颜色",
49
+ "setter": {
50
+ "componentName": "StringSetter",
51
+ "isRequired": true,
52
+ "initialValue": ""
53
+ }
54
+ }],
55
+ "supports": {
56
+ "style": true
57
+ },
58
+ "component": {}
59
+ }
60
+ };
61
+ var snippets = [{
62
+ "title": "TagC",
63
+ "screenshot": "",
64
+ "schema": {
65
+ "componentName": "TagC",
66
+ "props": {}
67
+ }
68
+ }];
69
+ var _default = exports["default"] = (0, _extends2["default"])({}, TagCMeta, {
70
+ snippets: snippets
71
+ });
@@ -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;