@dckj-npm/dc-material 0.1.34 → 0.1.35

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 (300) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/dist/BizComps.css +1 -1
  4. package/dist/BizComps.js +5 -5
  5. package/dist/BizComps.js.map +1 -1
  6. package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
  7. package/es/components/bottom-navigation/index.d.ts +3 -3
  8. package/es/components/bottom-navigation/index.scss +24 -24
  9. package/es/components/button/button.d.ts +14 -14
  10. package/es/components/button/index.d.ts +6 -6
  11. package/es/components/button/index.js +2 -2
  12. package/es/components/button/index.scss +16 -16
  13. package/es/components/carousel/carousel.d.ts +14 -14
  14. package/es/components/carousel/carousel.scss +32 -32
  15. package/es/components/colorful-button/colorful-button.d.ts +12 -12
  16. package/es/components/colorful-button/index.d.ts +3 -3
  17. package/es/components/colorful-button/index.scss +5 -5
  18. package/es/components/colorful-input/colorful-input.d.ts +8 -8
  19. package/es/components/colorful-input/index.d.ts +3 -3
  20. package/es/components/colorful-input/index.scss +5 -5
  21. package/es/components/goods-card-list/goods-card-list.d.ts +5 -5
  22. package/es/components/goods-card-list/goods-card-list.scss +112 -112
  23. package/es/components/goods-card-list/index.d.ts +3 -3
  24. package/es/components/goods-card-list/types.d.ts +45 -45
  25. package/es/components/grid-nav/grid-nav.d.ts +13 -13
  26. package/es/components/grid-nav/index.d.ts +3 -3
  27. package/es/components/grid-nav/index.scss +37 -37
  28. package/es/components/integral-task/index.d.ts +6 -6
  29. package/es/components/integral-task/index.js +2 -2
  30. package/es/components/integral-task/index.scss +35 -35
  31. package/es/components/integral-task/integral-task.d.ts +40 -40
  32. package/es/components/menu-list/index.d.ts +6 -6
  33. package/es/components/menu-list/index.js +2 -2
  34. package/es/components/menu-list/index.scss +16 -16
  35. package/es/components/menu-list/menu-list-item.d.ts +5 -5
  36. package/es/components/menu-list/menu-list-item.scss +49 -49
  37. package/es/components/menu-list/menu-list.d.ts +5 -5
  38. package/es/components/menu-list/types.d.ts +23 -23
  39. package/es/components/message-list/index.d.ts +6 -6
  40. package/es/components/message-list/index.js +2 -2
  41. package/es/components/message-list/index.scss +22 -22
  42. package/es/components/message-list/message-list-item.d.ts +29 -29
  43. package/es/components/message-list/message-list-item.js +2 -2
  44. package/es/components/message-list/message-list-item.scss +50 -49
  45. package/es/components/message-list/message-list.d.ts +32 -32
  46. package/es/components/notice-bar/index.d.ts +3 -3
  47. package/es/components/notice-bar/index.scss +29 -29
  48. package/es/components/notice-bar/notice-bar-item.d.ts +18 -18
  49. package/es/components/notice-bar/notice-bar-item.js +2 -2
  50. package/es/components/notice-bar/notice-bar-item.scss +26 -26
  51. package/es/components/notice-bar/notice-bar.d.ts +37 -37
  52. package/es/components/notice-bar/notice-bar.js +2 -2
  53. package/es/components/position/entity.d.ts +5 -5
  54. package/es/components/position/index.d.ts +3 -3
  55. package/es/components/position/index.scss +27 -27
  56. package/es/components/position/position-left.d.ts +9 -9
  57. package/es/components/position/position-list.d.ts +12 -12
  58. package/es/components/position/position.d.ts +8 -8
  59. package/es/components/radio-group/index.d.ts +8 -8
  60. package/es/components/radio-group/index.js +2 -2
  61. package/es/components/radio-group/index.scss +40 -40
  62. package/es/components/radio-group/radio-group-item.d.ts +48 -48
  63. package/es/components/radio-group/radio-group.d.ts +52 -52
  64. package/es/components/search-bar/index.d.ts +3 -3
  65. package/es/components/search-bar/index.scss +13 -13
  66. package/es/components/search-bar/search-bar.d.ts +7 -7
  67. package/es/components/swiper/index.d.ts +3 -3
  68. package/es/components/swiper/index.scss +12 -12
  69. package/es/components/swiper/swiper.d.ts +47 -47
  70. package/es/components/tab/index.d.ts +6 -6
  71. package/es/components/tab/index.js +2 -2
  72. package/es/components/tab/index.scss +23 -23
  73. package/es/components/tab/tab.d.ts +23 -23
  74. package/es/components/tab-container/index.d.ts +3 -3
  75. package/es/components/tab-container/index.scss +47 -47
  76. package/es/components/tab-container/tab-container.d.ts +10 -10
  77. package/es/components/tab-container-item/index.d.ts +3 -3
  78. package/es/components/tab-container-item/tab-container-item.d.ts +9 -9
  79. package/es/components/tag/index.d.ts +6 -6
  80. package/es/components/tag/index.js +2 -2
  81. package/es/components/tag/index.scss +24 -24
  82. package/es/components/tag/tag.d.ts +14 -14
  83. package/es/components/teletext-list/index.d.ts +6 -6
  84. package/es/components/teletext-list/index.js +2 -2
  85. package/es/components/teletext-list/index.scss +19 -19
  86. package/es/components/teletext-list/teletext-list-item.d.ts +42 -42
  87. package/es/components/teletext-list/teletext-list-item.js +2 -2
  88. package/es/components/teletext-list/teletext-list-item.scss +55 -55
  89. package/es/components/teletext-list/teletext-list.d.ts +61 -61
  90. package/es/components/teletext-list/teletext-list.js +2 -2
  91. package/es/components/title/index.d.ts +8 -8
  92. package/es/components/title/index.js +2 -2
  93. package/es/components/title/title-1.d.ts +10 -10
  94. package/es/components/title/title-1.scss +25 -25
  95. package/es/components/title/title-2.d.ts +18 -18
  96. package/es/components/title/title-2.scss +22 -22
  97. package/es/index.d.ts +40 -40
  98. package/es/index.scss +5 -5
  99. package/es/utils/children-node-handle.d.ts +9 -9
  100. package/es/utils/children-node-handle.js +7 -7
  101. package/es/utils/component-wrapper.d.ts +9 -9
  102. package/es/utils/debounce.d.ts +1 -1
  103. package/es/variables.d.ts +2 -2
  104. package/es/variables.scss +3 -3
  105. package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
  106. package/lib/components/bottom-navigation/index.d.ts +3 -3
  107. package/lib/components/bottom-navigation/index.scss +24 -24
  108. package/lib/components/button/button.d.ts +14 -14
  109. package/lib/components/button/index.d.ts +6 -6
  110. package/lib/components/button/index.js +2 -2
  111. package/lib/components/button/index.scss +16 -16
  112. package/lib/components/carousel/carousel.d.ts +14 -14
  113. package/lib/components/carousel/carousel.scss +32 -32
  114. package/lib/components/colorful-button/colorful-button.d.ts +12 -12
  115. package/lib/components/colorful-button/index.d.ts +3 -3
  116. package/lib/components/colorful-button/index.scss +5 -5
  117. package/lib/components/colorful-input/colorful-input.d.ts +8 -8
  118. package/lib/components/colorful-input/index.d.ts +3 -3
  119. package/lib/components/colorful-input/index.scss +5 -5
  120. package/lib/components/goods-card-list/goods-card-list.d.ts +5 -5
  121. package/lib/components/goods-card-list/goods-card-list.scss +112 -112
  122. package/lib/components/goods-card-list/index.d.ts +3 -3
  123. package/lib/components/goods-card-list/types.d.ts +45 -45
  124. package/lib/components/grid-nav/grid-nav.d.ts +13 -13
  125. package/lib/components/grid-nav/index.d.ts +3 -3
  126. package/lib/components/grid-nav/index.scss +37 -37
  127. package/lib/components/integral-task/index.d.ts +6 -6
  128. package/lib/components/integral-task/index.js +2 -2
  129. package/lib/components/integral-task/index.scss +35 -35
  130. package/lib/components/integral-task/integral-task.d.ts +40 -40
  131. package/lib/components/menu-list/index.d.ts +6 -6
  132. package/lib/components/menu-list/index.js +2 -2
  133. package/lib/components/menu-list/index.scss +16 -16
  134. package/lib/components/menu-list/menu-list-item.d.ts +5 -5
  135. package/lib/components/menu-list/menu-list-item.scss +49 -49
  136. package/lib/components/menu-list/menu-list.d.ts +5 -5
  137. package/lib/components/menu-list/types.d.ts +23 -23
  138. package/lib/components/message-list/index.d.ts +6 -6
  139. package/lib/components/message-list/index.js +2 -2
  140. package/lib/components/message-list/index.scss +22 -22
  141. package/lib/components/message-list/message-list-item.d.ts +29 -29
  142. package/lib/components/message-list/message-list-item.js +2 -2
  143. package/lib/components/message-list/message-list-item.scss +50 -49
  144. package/lib/components/message-list/message-list.d.ts +32 -32
  145. package/lib/components/notice-bar/index.d.ts +3 -3
  146. package/lib/components/notice-bar/index.scss +29 -29
  147. package/lib/components/notice-bar/notice-bar-item.d.ts +18 -18
  148. package/lib/components/notice-bar/notice-bar-item.js +2 -2
  149. package/lib/components/notice-bar/notice-bar-item.scss +26 -26
  150. package/lib/components/notice-bar/notice-bar.d.ts +37 -37
  151. package/lib/components/notice-bar/notice-bar.js +2 -2
  152. package/lib/components/position/entity.d.ts +5 -5
  153. package/lib/components/position/index.d.ts +3 -3
  154. package/lib/components/position/index.scss +27 -27
  155. package/lib/components/position/position-left.d.ts +9 -9
  156. package/lib/components/position/position-list.d.ts +12 -12
  157. package/lib/components/position/position.d.ts +8 -8
  158. package/lib/components/radio-group/index.d.ts +8 -8
  159. package/lib/components/radio-group/index.scss +40 -40
  160. package/lib/components/radio-group/radio-group-item.d.ts +48 -48
  161. package/lib/components/radio-group/radio-group.d.ts +52 -52
  162. package/lib/components/search-bar/index.d.ts +3 -3
  163. package/lib/components/search-bar/index.scss +13 -13
  164. package/lib/components/search-bar/search-bar.d.ts +7 -7
  165. package/lib/components/swiper/index.d.ts +3 -3
  166. package/lib/components/swiper/index.scss +12 -12
  167. package/lib/components/swiper/swiper.d.ts +47 -47
  168. package/lib/components/tab/index.d.ts +6 -6
  169. package/lib/components/tab/index.js +2 -2
  170. package/lib/components/tab/index.scss +23 -23
  171. package/lib/components/tab/tab.d.ts +23 -23
  172. package/lib/components/tab-container/index.d.ts +3 -3
  173. package/lib/components/tab-container/index.scss +47 -47
  174. package/lib/components/tab-container/tab-container.d.ts +10 -10
  175. package/lib/components/tab-container-item/index.d.ts +3 -3
  176. package/lib/components/tab-container-item/tab-container-item.d.ts +9 -9
  177. package/lib/components/tag/index.d.ts +6 -6
  178. package/lib/components/tag/index.js +2 -2
  179. package/lib/components/tag/index.scss +24 -24
  180. package/lib/components/tag/tag.d.ts +14 -14
  181. package/lib/components/teletext-list/index.d.ts +6 -6
  182. package/lib/components/teletext-list/index.scss +19 -19
  183. package/lib/components/teletext-list/teletext-list-item.d.ts +42 -42
  184. package/lib/components/teletext-list/teletext-list-item.js +2 -2
  185. package/lib/components/teletext-list/teletext-list-item.scss +55 -55
  186. package/lib/components/teletext-list/teletext-list.d.ts +61 -61
  187. package/lib/components/teletext-list/teletext-list.js +2 -2
  188. package/lib/components/title/index.d.ts +8 -8
  189. package/lib/components/title/title-1.d.ts +10 -10
  190. package/lib/components/title/title-1.scss +25 -25
  191. package/lib/components/title/title-2.d.ts +18 -18
  192. package/lib/components/title/title-2.scss +22 -22
  193. package/lib/index.d.ts +40 -40
  194. package/lib/index.scss +5 -5
  195. package/lib/utils/children-node-handle.d.ts +9 -9
  196. package/lib/utils/children-node-handle.js +7 -7
  197. package/lib/utils/component-wrapper.d.ts +9 -9
  198. package/lib/utils/debounce.d.ts +1 -1
  199. package/lib/variables.d.ts +2 -2
  200. package/lib/variables.scss +3 -3
  201. package/lowcode/button2/meta.ts +75 -75
  202. package/lowcode/custom-radio-group/meta.ts +310 -310
  203. package/lowcode/custom-radio-group-item/meta.ts +229 -229
  204. package/lowcode/d-c-slider/meta.design.ts +173 -173
  205. package/lowcode/d-c-slider/meta.ts +342 -342
  206. package/lowcode/d-c-slider/snippets.ts +68 -68
  207. package/lowcode/goods-card-list/meta.ts +268 -268
  208. package/lowcode/grid-nav/meta.ts +212 -212
  209. package/lowcode/integral-task/meta.ts +211 -211
  210. package/lowcode/menu-list/meta.ts +147 -147
  211. package/lowcode/message-list/meta.ts +202 -200
  212. package/lowcode/navigation/meta.ts +173 -173
  213. package/lowcode/notice-bar/meta.ts +229 -223
  214. package/lowcode/position/meta.ts +161 -161
  215. package/lowcode/search-bar/meta.ts +54 -54
  216. package/lowcode/swiper/meta.ts +237 -237
  217. package/lowcode/tab-container/meta.ts +69 -69
  218. package/lowcode/tab-container/props.ts +194 -194
  219. package/lowcode/tab-container-item/meta.ts +195 -195
  220. package/lowcode/tab-message/meta.ts +101 -101
  221. package/lowcode/tag-c/meta.ts +75 -75
  222. package/lowcode/teletext-list/meta.ts +329 -329
  223. package/lowcode/title1/meta.ts +59 -59
  224. package/lowcode/title2/meta.ts +93 -93
  225. package/lowcode_es/button2/meta.d.ts +22 -22
  226. package/lowcode_es/d-c-slider/meta.d.ts +148 -148
  227. package/lowcode_es/d-c-slider/meta.design.d.ts +100 -100
  228. package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
  229. package/lowcode_es/grid-nav/meta.d.ts +22 -22
  230. package/lowcode_es/integral-task/meta.d.ts +22 -22
  231. package/lowcode_es/menu-list/meta.d.ts +22 -22
  232. package/lowcode_es/message-list/meta.d.ts +22 -22
  233. package/lowcode_es/message-list/meta.js +7 -0
  234. package/lowcode_es/meta.js +19 -22
  235. package/lowcode_es/navigation/meta.d.ts +22 -22
  236. package/lowcode_es/notice-bar/meta.d.ts +22 -22
  237. package/lowcode_es/position/meta.d.ts +22 -22
  238. package/lowcode_es/search-bar/meta.d.ts +22 -22
  239. package/lowcode_es/swiper/meta.d.ts +22 -22
  240. package/lowcode_es/tab-container/meta.d.ts +22 -22
  241. package/lowcode_es/tab-container/props.d.ts +90 -90
  242. package/lowcode_es/tab-container-item/meta.d.ts +22 -22
  243. package/lowcode_es/tab-message/meta.d.ts +22 -22
  244. package/lowcode_es/tag-c/meta.d.ts +22 -22
  245. package/lowcode_es/teletext-list/meta.d.ts +22 -22
  246. package/lowcode_es/title1/meta.d.ts +22 -22
  247. package/lowcode_es/title2/meta.d.ts +22 -22
  248. package/lowcode_es/view.js +3 -3
  249. package/lowcode_lib/button2/meta.d.ts +22 -22
  250. package/lowcode_lib/d-c-slider/meta.d.ts +148 -148
  251. package/lowcode_lib/d-c-slider/meta.design.d.ts +100 -100
  252. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
  253. package/lowcode_lib/grid-nav/meta.d.ts +22 -22
  254. package/lowcode_lib/integral-task/meta.d.ts +22 -22
  255. package/lowcode_lib/menu-list/meta.d.ts +22 -22
  256. package/lowcode_lib/message-list/meta.d.ts +22 -22
  257. package/lowcode_lib/message-list/meta.js +7 -0
  258. package/lowcode_lib/meta.js +19 -22
  259. package/lowcode_lib/navigation/meta.d.ts +22 -22
  260. package/lowcode_lib/notice-bar/meta.d.ts +22 -22
  261. package/lowcode_lib/position/meta.d.ts +22 -22
  262. package/lowcode_lib/search-bar/meta.d.ts +22 -22
  263. package/lowcode_lib/swiper/meta.d.ts +22 -22
  264. package/lowcode_lib/tab-container/meta.d.ts +22 -22
  265. package/lowcode_lib/tab-container/props.d.ts +90 -90
  266. package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
  267. package/lowcode_lib/tab-message/meta.d.ts +22 -22
  268. package/lowcode_lib/tag-c/meta.d.ts +22 -22
  269. package/lowcode_lib/teletext-list/meta.d.ts +22 -22
  270. package/lowcode_lib/title1/meta.d.ts +22 -22
  271. package/lowcode_lib/title2/meta.d.ts +22 -22
  272. package/lowcode_lib/view.js +2 -2
  273. package/package.json +3 -3
  274. package/build/lowcode/assets-daily.json +0 -71
  275. package/build/lowcode/assets-dev.json +0 -71
  276. package/build/lowcode/assets-prod.json +0 -71
  277. package/build/lowcode/designer.html +0 -302
  278. package/build/lowcode/index.html +0 -304
  279. package/build/lowcode/index.js +0 -1
  280. package/build/lowcode/meta.design.js +0 -1
  281. package/build/lowcode/meta.js +0 -1
  282. package/build/lowcode/preview.css +0 -1
  283. package/build/lowcode/preview.html +0 -33
  284. package/build/lowcode/preview.js +0 -308
  285. package/build/lowcode/render/default/view.css +0 -1
  286. package/build/lowcode/render/default/view.js +0 -295
  287. package/build/lowcode/view.css +0 -1
  288. package/build/lowcode/view.js +0 -295
  289. package/lowcode_es/custom-radio-group/meta.d.ts +0 -22
  290. package/lowcode_es/custom-radio-group/meta.js +0 -294
  291. package/lowcode_es/custom-radio-group-item/meta.d.ts +0 -23
  292. package/lowcode_es/custom-radio-group-item/meta.js +0 -205
  293. package/lowcode_es/goods-card-list/meta.d.ts +0 -22
  294. package/lowcode_es/goods-card-list/meta.js +0 -250
  295. package/lowcode_lib/custom-radio-group/meta.d.ts +0 -22
  296. package/lowcode_lib/custom-radio-group/meta.js +0 -299
  297. package/lowcode_lib/custom-radio-group-item/meta.d.ts +0 -23
  298. package/lowcode_lib/custom-radio-group-item/meta.js +0 -210
  299. package/lowcode_lib/goods-card-list/meta.d.ts +0 -22
  300. package/lowcode_lib/goods-card-list/meta.js +0 -255
@@ -1,71 +0,0 @@
1
- {
2
- "packages": [
3
- {
4
- "package": "@dckj-npm/dc-material",
5
- "version": "0.1.34",
6
- "library": "BizComps",
7
- "urls": [
8
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/render/default/view.js",
9
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/render/default/view.css"
10
- ],
11
- "editUrls": [
12
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/view.js",
13
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/view.css"
14
- ],
15
- "advancedUrls": {
16
- "default": [
17
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/render/default/view.js",
18
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/render/default/view.css"
19
- ]
20
- },
21
- "advancedEditUrls": {}
22
- }
23
- ],
24
- "components": [
25
- {
26
- "exportName": "DckjNpmDcMaterialMeta",
27
- "npm": {
28
- "package": "@dckj-npm/dc-material",
29
- "version": "0.1.34"
30
- },
31
- "url": "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/meta.js",
32
- "urls": {
33
- "default": "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/meta.js",
34
- "design": "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/meta.design.js"
35
- },
36
- "advancedUrls": {
37
- "default": [
38
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/meta.js"
39
- ],
40
- "design": [
41
- "https://unpkg.com/@dckj-npm/dc-material@0.1.34/build/lowcode/meta.design.js"
42
- ]
43
- }
44
- }
45
- ],
46
- "sort": {
47
- "groupList": [
48
- "精选组件",
49
- "原子组件"
50
- ],
51
- "categoryList": [
52
- "基础元素",
53
- "布局容器类",
54
- "表格类",
55
- "表单详情类",
56
- "帮助类",
57
- "对话框类",
58
- "业务类",
59
- "通用",
60
- "引导",
61
- "信息输入",
62
- "信息展示",
63
- "信息反馈"
64
- ]
65
- },
66
- "groupList": [
67
- "精选组件",
68
- "原子组件"
69
- ],
70
- "ignoreComponents": {}
71
- }
@@ -1,302 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
7
- <title>DEMO 预览</title>
8
- <style>
9
- body {
10
- font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial,
11
- PingFang SC-Light, Microsoft YaHei;
12
- font-size: 12px;
13
-
14
- * {
15
- box-sizing: border-box;
16
- }
17
- }
18
-
19
- body,
20
- #lce-container {
21
- position: fixed;
22
- left: 0;
23
- right: 0;
24
- bottom: 0;
25
- top: 0;
26
- box-sizing: border-box;
27
- padding: 0;
28
- margin: 0;
29
- overflow: hidden;
30
- text-rendering: optimizeLegibility;
31
- -webkit-user-select: none;
32
- -webkit-user-drag: none;
33
- -webkit-text-size-adjust: none;
34
- -webkit-touch-callout: none;
35
- -webkit-font-smoothing: antialiased;
36
- }
37
-
38
- html {
39
- min-width: 1024px;
40
- }
41
- </style>
42
- </head>
43
-
44
- <body>
45
- <link rel="stylesheet" href="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine/1.1.7-beta.11/dist/css/engine-core.css" />
46
- <link rel="stylesheet" href="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.6-beta.25/dist/css/engine-ext.css" />
47
- <link rel="stylesheet" href="https://alifd.alicdn.com/npm/@alilc/lowcode-preset-plugin@0.1.2/dist/lowcode-preset-plugin.css" />
48
- <link href="https://alifd.alicdn.com/npm/@alifd/theme-lowcode-light@0.2.1/variables.css" rel="stylesheet" />
49
- <link href="https://alifd.alicdn.com/npm/@alifd/theme-lowcode-light@0.2.1/dist/next.var.min.css" rel="stylesheet" />
50
- <div id="lce-container"></div>
51
- <script src="https://g.alicdn.com/code/lib/rax/1.1.0/rax.umd.min.js"></script>
52
- <script src="https://g.alicdn.com/code/lib/react/16.9.0/umd/react.development.js"></script>
53
- <script src="https://g.alicdn.com/code/lib/react-dom/16.9.0/umd/react-dom.development.js"></script>
54
- <script src="https://g.alicdn.com/code/lib/prop-types/15.7.2/prop-types.js"></script>
55
- <script>
56
- React.PropTypes = PropTypes;
57
- </script>
58
- <script src="https://g.alicdn.com/platform/c/??react15-polyfill/0.0.1/dist/index.js,lodash/4.6.1/lodash.min.js,immutable/3.7.6/dist/immutable.min.js,natty-storage/2.0.2/dist/natty-storage.min.js,natty-fetch/2.6.0/dist/natty-fetch.pc.min.js,tinymce/4.2.5/tinymce-full.js"></script>
59
- <script src="https://g.alicdn.com/mylib/moment/2.24.0/min/moment.min.js"></script>
60
- <script src="https://g.alicdn.com/code/lib/alifd__next/1.23.20/next-with-locales.min.js"></script>
61
- <script crossorigin="anonymous" src="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine/1.1.7-beta.11/dist/js/engine-core.js"></script>
62
- <script crossorigin="anonymous" src="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.6-beta.25/dist/js/engine-ext.js"></script>
63
- <script>
64
- if (!window.AliLowCodeEngine.common) {
65
- window.AliLowCodeEngine.common = {
66
- designerCabin: window.AliLowCodeEngine.designerCabin,
67
- editorCabin: window.AliLowCodeEngine.editorCabin,
68
- skeletonCabin: window.AliLowCodeEngine.skeletonCabin,
69
- utils: window.AliLowCodeEngine.utils,
70
- };
71
- }
72
- </script>
73
- <script src="https://alifd.alicdn.com/npm/@alilc/lowcode-preset-plugin@0.1.2/dist/lowcode-preset-plugin.js"></script>
74
- <script type="text/javascript" charset="utf-8" src="./index.js"></script>
75
- <script>
76
- (function (factory) {
77
- if (typeof define === 'function' && define.amd) {
78
- define([], factory);
79
- } else if (typeof module === 'object' && module.exports) {
80
- module.exports = factory();
81
- } else {
82
- window.idleCallbackShim = factory();
83
- }
84
- })(function () {
85
- 'use strict';
86
- var scheduleStart, throttleDelay, lazytimer, lazyraf;
87
- var root =
88
- typeof window != 'undefined' ? window : typeof global != undefined ? global : this || {};
89
- var requestAnimationFrame =
90
- (root.cancelRequestAnimationFrame && root.requestAnimationFrame) || setTimeout;
91
- var cancelRequestAnimationFrame = root.cancelRequestAnimationFrame || clearTimeout;
92
- var tasks = [];
93
- var runAttempts = 0;
94
- var isRunning = false;
95
- var remainingTime = 7;
96
- var minThrottle = 35;
97
- var throttle = 125;
98
- var index = 0;
99
- var taskStart = 0;
100
- var tasklength = 0;
101
- var IdleDeadline = {
102
- get didTimeout() {
103
- return false;
104
- },
105
- timeRemaining: function () {
106
- var timeRemaining = remainingTime - (Date.now() - taskStart);
107
- return Math.max(0, timeRemaining);
108
- },
109
- };
110
- var setInactive = debounce(function () {
111
- remainingTime = 22;
112
- throttle = 66;
113
- minThrottle = 0;
114
- });
115
-
116
- function debounce(fn) {
117
- var id, timestamp;
118
- var wait = 99;
119
- var check = function () {
120
- var last = Date.now() - timestamp;
121
-
122
- if (last < wait) {
123
- id = setTimeout(check, wait - last);
124
- } else {
125
- id = null;
126
- fn();
127
- }
128
- };
129
- return function () {
130
- timestamp = Date.now();
131
- if (!id) {
132
- id = setTimeout(check, wait);
133
- }
134
- };
135
- }
136
-
137
- function abortRunning() {
138
- if (isRunning) {
139
- if (lazyraf) {
140
- cancelRequestAnimationFrame(lazyraf);
141
- }
142
- if (lazytimer) {
143
- clearTimeout(lazytimer);
144
- }
145
- isRunning = false;
146
- }
147
- }
148
-
149
- function onInputorMutation() {
150
- if (throttle != 125) {
151
- remainingTime = 7;
152
- throttle = 125;
153
- minThrottle = 35;
154
-
155
- if (isRunning) {
156
- abortRunning();
157
- scheduleLazy();
158
- }
159
- }
160
- setInactive();
161
- }
162
-
163
- function scheduleAfterRaf() {
164
- lazyraf = null;
165
- lazytimer = setTimeout(runTasks, 0);
166
- }
167
-
168
- function scheduleRaf() {
169
- lazytimer = null;
170
- requestAnimationFrame(scheduleAfterRaf);
171
- }
172
-
173
- function scheduleLazy() {
174
- if (isRunning) {
175
- return;
176
- }
177
- throttleDelay = throttle - (Date.now() - taskStart);
178
-
179
- scheduleStart = Date.now();
180
-
181
- isRunning = true;
182
-
183
- if (minThrottle && throttleDelay < minThrottle) {
184
- throttleDelay = minThrottle;
185
- }
186
-
187
- if (throttleDelay > 9) {
188
- lazytimer = setTimeout(scheduleRaf, throttleDelay);
189
- } else {
190
- throttleDelay = 0;
191
- scheduleRaf();
192
- }
193
- }
194
-
195
- function runTasks() {
196
- var task, i, len;
197
- var timeThreshold = remainingTime > 9 ? 9 : 1;
198
- taskStart = Date.now();
199
- isRunning = false;
200
-
201
- lazytimer = null;
202
-
203
- if (runAttempts > 2 || taskStart - throttleDelay - 50 < scheduleStart) {
204
- for (
205
- i = 0, len = tasks.length;
206
- i < len && IdleDeadline.timeRemaining() > timeThreshold;
207
- i++
208
- ) {
209
- task = tasks.shift();
210
- tasklength++;
211
- if (task) {
212
- task(IdleDeadline);
213
- }
214
- }
215
- }
216
-
217
- if (tasks.length) {
218
- scheduleLazy();
219
- } else {
220
- runAttempts = 0;
221
- }
222
- }
223
-
224
- function requestIdleCallbackShim(task) {
225
- index++;
226
- tasks.push(task);
227
- scheduleLazy();
228
- return index;
229
- }
230
-
231
- function cancelIdleCallbackShim(id) {
232
- var index = id - 1 - tasklength;
233
- if (tasks[index]) {
234
- tasks[index] = null;
235
- }
236
- }
237
-
238
- if (!root.requestIdleCallback || !root.cancelIdleCallback) {
239
- root.requestIdleCallback = requestIdleCallbackShim;
240
- root.cancelIdleCallback = cancelIdleCallbackShim;
241
-
242
- if (root.document && document.addEventListener) {
243
- root.addEventListener('scroll', onInputorMutation, true);
244
- root.addEventListener('resize', onInputorMutation);
245
-
246
- document.addEventListener('focus', onInputorMutation, true);
247
- document.addEventListener('mouseover', onInputorMutation, true);
248
- ['click', 'keypress', 'touchstart', 'mousedown'].forEach(function (name) {
249
- document.addEventListener(name, onInputorMutation, { capture: true, passive: true });
250
- });
251
-
252
- if (root.MutationObserver) {
253
- new MutationObserver(onInputorMutation).observe(document.documentElement, {
254
- childList: true,
255
- subtree: true,
256
- attributes: true,
257
- });
258
- }
259
- }
260
- } else {
261
- try {
262
- root.requestIdleCallback(function () {}, { timeout: 0 });
263
- } catch (e) {
264
- (function (rIC) {
265
- var timeRemainingProto, timeRemaining;
266
- root.requestIdleCallback = function (fn, timeout) {
267
- if (timeout && typeof timeout.timeout == 'number') {
268
- return rIC(fn, timeout.timeout);
269
- }
270
- return rIC(fn);
271
- };
272
- if (
273
- root.IdleCallbackDeadline &&
274
- (timeRemainingProto = IdleCallbackDeadline.prototype)
275
- ) {
276
- timeRemaining = Object.getOwnPropertyDescriptor(
277
- timeRemainingProto,
278
- 'timeRemaining',
279
- );
280
- if (!timeRemaining || !timeRemaining.configurable || !timeRemaining.get) {
281
- return;
282
- }
283
- Object.defineProperty(timeRemainingProto, 'timeRemaining', {
284
- value: function () {
285
- return timeRemaining.get.call(this);
286
- },
287
- enumerable: true,
288
- configurable: true,
289
- });
290
- }
291
- })(root.requestIdleCallback);
292
- }
293
- }
294
-
295
- return {
296
- request: requestIdleCallbackShim,
297
- cancel: cancelIdleCallbackShim,
298
- };
299
- });
300
- </script>
301
- </body>
302
- </html>
@@ -1,304 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
7
- <title>DEMO 预览</title>
8
- <style>
9
- body {
10
- font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial,
11
- PingFang SC-Light, Microsoft YaHei;
12
- font-size: 12px;
13
-
14
- * {
15
- box-sizing: border-box;
16
- }
17
- }
18
-
19
- body,
20
- #lce-container {
21
- position: fixed;
22
- left: 0;
23
- right: 0;
24
- bottom: 0;
25
- top: 0;
26
- box-sizing: border-box;
27
- padding: 0;
28
- margin: 0;
29
- overflow: hidden;
30
- text-rendering: optimizeLegibility;
31
- -webkit-user-select: none;
32
- -webkit-user-drag: none;
33
- -webkit-text-size-adjust: none;
34
- -webkit-touch-callout: none;
35
- -webkit-font-smoothing: antialiased;
36
- }
37
-
38
- html {
39
- min-width: 1024px;
40
- }
41
- </style>
42
- </head>
43
-
44
- <body>
45
- <link rel="stylesheet" href="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine/1.1.7-beta.11/dist/css/engine-core.css" />
46
- <link rel="stylesheet" href="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.6-beta.25/dist/css/engine-ext.css" />
47
- <link rel="stylesheet" href="https://alifd.alicdn.com/npm/@alilc/lowcode-preset-plugin@0.1.2/dist/lowcode-preset-plugin.css" />
48
- <link href="https://alifd.alicdn.com/npm/@alifd/theme-lowcode-light@0.2.1/variables.css" rel="stylesheet" />
49
- <link href="https://alifd.alicdn.com/npm/@alifd/theme-lowcode-light@0.2.1/dist/next.var.min.css" rel="stylesheet" />
50
-
51
- <div id="lce-container"></div>
52
- <script src="https://g.alicdn.com/code/lib/rax/1.1.0/rax.umd.min.js"></script>
53
- <script src="https://g.alicdn.com/code/lib/react/16.9.0/umd/react.development.js"></script>
54
- <script src="https://g.alicdn.com/code/lib/react-dom/16.9.0/umd/react-dom.development.js"></script>
55
- <script src="https://g.alicdn.com/code/lib/prop-types/15.7.2/prop-types.js"></script>
56
- <script>
57
- React.PropTypes = PropTypes;
58
- </script>
59
- <script src="https://g.alicdn.com/platform/c/??react15-polyfill/0.0.1/dist/index.js,lodash/4.6.1/lodash.min.js,immutable/3.7.6/dist/immutable.min.js,natty-storage/2.0.2/dist/natty-storage.min.js,natty-fetch/2.6.0/dist/natty-fetch.pc.min.js,tinymce/4.2.5/tinymce-full.js"></script>
60
- <script src="https://g.alicdn.com/mylib/moment/2.24.0/min/moment.min.js"></script>
61
- <script src="https://g.alicdn.com/code/lib/alifd__next/1.23.20/next-with-locales.min.js"></script>
62
-
63
- <script crossorigin="anonymous" src="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine/1.1.7-beta.11/dist/js/engine-core.js"></script>
64
- <script crossorigin="anonymous" src="https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.6-beta.25/dist/js/engine-ext.js"></script>
65
- <script>
66
- if (!window.AliLowCodeEngine.common) {
67
- window.AliLowCodeEngine.common = {
68
- designerCabin: window.AliLowCodeEngine.designerCabin,
69
- editorCabin: window.AliLowCodeEngine.editorCabin,
70
- skeletonCabin: window.AliLowCodeEngine.skeletonCabin,
71
- utils: window.AliLowCodeEngine.utils,
72
- };
73
- }
74
- </script>
75
- <script src="https://alifd.alicdn.com/npm/@alilc/lowcode-preset-plugin@0.1.2/dist/lowcode-preset-plugin.js"></script>
76
- <script type="text/javascript" charset="utf-8" src="./index.js"></script>
77
- <script>
78
- (function (factory) {
79
- if (typeof define === 'function' && define.amd) {
80
- define([], factory);
81
- } else if (typeof module === 'object' && module.exports) {
82
- module.exports = factory();
83
- } else {
84
- window.idleCallbackShim = factory();
85
- }
86
- })(function () {
87
- 'use strict';
88
- var scheduleStart, throttleDelay, lazytimer, lazyraf;
89
- var root =
90
- typeof window != 'undefined' ? window : typeof global != undefined ? global : this || {};
91
- var requestAnimationFrame =
92
- (root.cancelRequestAnimationFrame && root.requestAnimationFrame) || setTimeout;
93
- var cancelRequestAnimationFrame = root.cancelRequestAnimationFrame || clearTimeout;
94
- var tasks = [];
95
- var runAttempts = 0;
96
- var isRunning = false;
97
- var remainingTime = 7;
98
- var minThrottle = 35;
99
- var throttle = 125;
100
- var index = 0;
101
- var taskStart = 0;
102
- var tasklength = 0;
103
- var IdleDeadline = {
104
- get didTimeout() {
105
- return false;
106
- },
107
- timeRemaining: function () {
108
- var timeRemaining = remainingTime - (Date.now() - taskStart);
109
- return Math.max(0, timeRemaining);
110
- },
111
- };
112
- var setInactive = debounce(function () {
113
- remainingTime = 22;
114
- throttle = 66;
115
- minThrottle = 0;
116
- });
117
-
118
- function debounce(fn) {
119
- var id, timestamp;
120
- var wait = 99;
121
- var check = function () {
122
- var last = Date.now() - timestamp;
123
-
124
- if (last < wait) {
125
- id = setTimeout(check, wait - last);
126
- } else {
127
- id = null;
128
- fn();
129
- }
130
- };
131
- return function () {
132
- timestamp = Date.now();
133
- if (!id) {
134
- id = setTimeout(check, wait);
135
- }
136
- };
137
- }
138
-
139
- function abortRunning() {
140
- if (isRunning) {
141
- if (lazyraf) {
142
- cancelRequestAnimationFrame(lazyraf);
143
- }
144
- if (lazytimer) {
145
- clearTimeout(lazytimer);
146
- }
147
- isRunning = false;
148
- }
149
- }
150
-
151
- function onInputorMutation() {
152
- if (throttle != 125) {
153
- remainingTime = 7;
154
- throttle = 125;
155
- minThrottle = 35;
156
-
157
- if (isRunning) {
158
- abortRunning();
159
- scheduleLazy();
160
- }
161
- }
162
- setInactive();
163
- }
164
-
165
- function scheduleAfterRaf() {
166
- lazyraf = null;
167
- lazytimer = setTimeout(runTasks, 0);
168
- }
169
-
170
- function scheduleRaf() {
171
- lazytimer = null;
172
- requestAnimationFrame(scheduleAfterRaf);
173
- }
174
-
175
- function scheduleLazy() {
176
- if (isRunning) {
177
- return;
178
- }
179
- throttleDelay = throttle - (Date.now() - taskStart);
180
-
181
- scheduleStart = Date.now();
182
-
183
- isRunning = true;
184
-
185
- if (minThrottle && throttleDelay < minThrottle) {
186
- throttleDelay = minThrottle;
187
- }
188
-
189
- if (throttleDelay > 9) {
190
- lazytimer = setTimeout(scheduleRaf, throttleDelay);
191
- } else {
192
- throttleDelay = 0;
193
- scheduleRaf();
194
- }
195
- }
196
-
197
- function runTasks() {
198
- var task, i, len;
199
- var timeThreshold = remainingTime > 9 ? 9 : 1;
200
- taskStart = Date.now();
201
- isRunning = false;
202
-
203
- lazytimer = null;
204
-
205
- if (runAttempts > 2 || taskStart - throttleDelay - 50 < scheduleStart) {
206
- for (
207
- i = 0, len = tasks.length;
208
- i < len && IdleDeadline.timeRemaining() > timeThreshold;
209
- i++
210
- ) {
211
- task = tasks.shift();
212
- tasklength++;
213
- if (task) {
214
- task(IdleDeadline);
215
- }
216
- }
217
- }
218
-
219
- if (tasks.length) {
220
- scheduleLazy();
221
- } else {
222
- runAttempts = 0;
223
- }
224
- }
225
-
226
- function requestIdleCallbackShim(task) {
227
- index++;
228
- tasks.push(task);
229
- scheduleLazy();
230
- return index;
231
- }
232
-
233
- function cancelIdleCallbackShim(id) {
234
- var index = id - 1 - tasklength;
235
- if (tasks[index]) {
236
- tasks[index] = null;
237
- }
238
- }
239
-
240
- if (!root.requestIdleCallback || !root.cancelIdleCallback) {
241
- root.requestIdleCallback = requestIdleCallbackShim;
242
- root.cancelIdleCallback = cancelIdleCallbackShim;
243
-
244
- if (root.document && document.addEventListener) {
245
- root.addEventListener('scroll', onInputorMutation, true);
246
- root.addEventListener('resize', onInputorMutation);
247
-
248
- document.addEventListener('focus', onInputorMutation, true);
249
- document.addEventListener('mouseover', onInputorMutation, true);
250
- ['click', 'keypress', 'touchstart', 'mousedown'].forEach(function (name) {
251
- document.addEventListener(name, onInputorMutation, { capture: true, passive: true });
252
- });
253
-
254
- if (root.MutationObserver) {
255
- new MutationObserver(onInputorMutation).observe(document.documentElement, {
256
- childList: true,
257
- subtree: true,
258
- attributes: true,
259
- });
260
- }
261
- }
262
- } else {
263
- try {
264
- root.requestIdleCallback(function () {}, { timeout: 0 });
265
- } catch (e) {
266
- (function (rIC) {
267
- var timeRemainingProto, timeRemaining;
268
- root.requestIdleCallback = function (fn, timeout) {
269
- if (timeout && typeof timeout.timeout == 'number') {
270
- return rIC(fn, timeout.timeout);
271
- }
272
- return rIC(fn);
273
- };
274
- if (
275
- root.IdleCallbackDeadline &&
276
- (timeRemainingProto = IdleCallbackDeadline.prototype)
277
- ) {
278
- timeRemaining = Object.getOwnPropertyDescriptor(
279
- timeRemainingProto,
280
- 'timeRemaining',
281
- );
282
- if (!timeRemaining || !timeRemaining.configurable || !timeRemaining.get) {
283
- return;
284
- }
285
- Object.defineProperty(timeRemainingProto, 'timeRemaining', {
286
- value: function () {
287
- return timeRemaining.get.call(this);
288
- },
289
- enumerable: true,
290
- configurable: true,
291
- });
292
- }
293
- })(root.requestIdleCallback);
294
- }
295
- }
296
-
297
- return {
298
- request: requestIdleCallbackShim,
299
- cancel: cancelIdleCallbackShim,
300
- };
301
- });
302
- </script>
303
- </body>
304
- </html>