@vyr/element-plus 0.0.14 → 0.0.15

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 (304) hide show
  1. package/package.json +1 -22
  2. package/build/actor/ElButtonActor.d.ts +0 -11
  3. package/build/actor/ElButtonActor.js +0 -32
  4. package/build/actor/ElButtonActor.js.map +0 -1
  5. package/build/actor/ElCascaderActor.d.ts +0 -12
  6. package/build/actor/ElCascaderActor.js +0 -33
  7. package/build/actor/ElCascaderActor.js.map +0 -1
  8. package/build/actor/ElCheckboxActor.d.ts +0 -12
  9. package/build/actor/ElCheckboxActor.js +0 -34
  10. package/build/actor/ElCheckboxActor.js.map +0 -1
  11. package/build/actor/ElColActor.d.ts +0 -14
  12. package/build/actor/ElColActor.js +0 -25
  13. package/build/actor/ElColActor.js.map +0 -1
  14. package/build/actor/ElDatePickerActor.d.ts +0 -12
  15. package/build/actor/ElDatePickerActor.js +0 -31
  16. package/build/actor/ElDatePickerActor.js.map +0 -1
  17. package/build/actor/ElDialogActor.d.ts +0 -11
  18. package/build/actor/ElDialogActor.js +0 -28
  19. package/build/actor/ElDialogActor.js.map +0 -1
  20. package/build/actor/ElFormActor.d.ts +0 -12
  21. package/build/actor/ElFormActor.js +0 -33
  22. package/build/actor/ElFormActor.js.map +0 -1
  23. package/build/actor/ElFormItemActor.d.ts +0 -23
  24. package/build/actor/ElFormItemActor.js +0 -73
  25. package/build/actor/ElFormItemActor.js.map +0 -1
  26. package/build/actor/ElInputActor.d.ts +0 -25
  27. package/build/actor/ElInputActor.js +0 -36
  28. package/build/actor/ElInputActor.js.map +0 -1
  29. package/build/actor/ElInputNumberActor.d.ts +0 -12
  30. package/build/actor/ElInputNumberActor.js +0 -28
  31. package/build/actor/ElInputNumberActor.js.map +0 -1
  32. package/build/actor/ElMenuActor.d.ts +0 -11
  33. package/build/actor/ElMenuActor.js +0 -25
  34. package/build/actor/ElMenuActor.js.map +0 -1
  35. package/build/actor/ElMenuItemActor.d.ts +0 -17
  36. package/build/actor/ElMenuItemActor.js +0 -33
  37. package/build/actor/ElMenuItemActor.js.map +0 -1
  38. package/build/actor/ElPaginationActor.d.ts +0 -21
  39. package/build/actor/ElPaginationActor.js +0 -81
  40. package/build/actor/ElPaginationActor.js.map +0 -1
  41. package/build/actor/ElRadioActor.d.ts +0 -12
  42. package/build/actor/ElRadioActor.js +0 -34
  43. package/build/actor/ElRadioActor.js.map +0 -1
  44. package/build/actor/ElRowActor.d.ts +0 -14
  45. package/build/actor/ElRowActor.js +0 -26
  46. package/build/actor/ElRowActor.js.map +0 -1
  47. package/build/actor/ElSelectActor.d.ts +0 -12
  48. package/build/actor/ElSelectActor.js +0 -37
  49. package/build/actor/ElSelectActor.js.map +0 -1
  50. package/build/actor/ElSubMenuActor.d.ts +0 -17
  51. package/build/actor/ElSubMenuActor.js +0 -33
  52. package/build/actor/ElSubMenuActor.js.map +0 -1
  53. package/build/actor/ElSwitchActor.d.ts +0 -9
  54. package/build/actor/ElSwitchActor.js +0 -17
  55. package/build/actor/ElSwitchActor.js.map +0 -1
  56. package/build/actor/ElTableActor.d.ts +0 -11
  57. package/build/actor/ElTableActor.js +0 -25
  58. package/build/actor/ElTableActor.js.map +0 -1
  59. package/build/actor/ElTableColumnActor.d.ts +0 -26
  60. package/build/actor/ElTableColumnActor.js +0 -57
  61. package/build/actor/ElTableColumnActor.js.map +0 -1
  62. package/build/actor/index.d.ts +0 -20
  63. package/build/actor/index.js +0 -21
  64. package/build/actor/index.js.map +0 -1
  65. package/build/asset/index.d.ts +0 -1
  66. package/build/asset/index.js +0 -18
  67. package/build/asset/index.js.map +0 -1
  68. package/build/descriptor/ElButtonDescriptor.d.ts +0 -16
  69. package/build/descriptor/ElButtonDescriptor.js +0 -29
  70. package/build/descriptor/ElButtonDescriptor.js.map +0 -1
  71. package/build/descriptor/ElCascaderDescriptor.d.ts +0 -19
  72. package/build/descriptor/ElCascaderDescriptor.js +0 -35
  73. package/build/descriptor/ElCascaderDescriptor.js.map +0 -1
  74. package/build/descriptor/ElCheckboxDescriptor.d.ts +0 -18
  75. package/build/descriptor/ElCheckboxDescriptor.js +0 -33
  76. package/build/descriptor/ElCheckboxDescriptor.js.map +0 -1
  77. package/build/descriptor/ElColDescriptor.d.ts +0 -9
  78. package/build/descriptor/ElColDescriptor.js +0 -14
  79. package/build/descriptor/ElColDescriptor.js.map +0 -1
  80. package/build/descriptor/ElDatePickerDescriptor.d.ts +0 -19
  81. package/build/descriptor/ElDatePickerDescriptor.js +0 -35
  82. package/build/descriptor/ElDatePickerDescriptor.js.map +0 -1
  83. package/build/descriptor/ElDialogDescriptor.d.ts +0 -9
  84. package/build/descriptor/ElDialogDescriptor.js +0 -18
  85. package/build/descriptor/ElDialogDescriptor.js.map +0 -1
  86. package/build/descriptor/ElFormDescriptor.d.ts +0 -19
  87. package/build/descriptor/ElFormDescriptor.js +0 -44
  88. package/build/descriptor/ElFormDescriptor.js.map +0 -1
  89. package/build/descriptor/ElFormItemDescriptor.d.ts +0 -9
  90. package/build/descriptor/ElFormItemDescriptor.js +0 -5
  91. package/build/descriptor/ElFormItemDescriptor.js.map +0 -1
  92. package/build/descriptor/ElInputDescriptor.d.ts +0 -25
  93. package/build/descriptor/ElInputDescriptor.js +0 -47
  94. package/build/descriptor/ElInputDescriptor.js.map +0 -1
  95. package/build/descriptor/ElInputNumberDescriptor.d.ts +0 -17
  96. package/build/descriptor/ElInputNumberDescriptor.js +0 -31
  97. package/build/descriptor/ElInputNumberDescriptor.js.map +0 -1
  98. package/build/descriptor/ElMenuDescriptor.d.ts +0 -12
  99. package/build/descriptor/ElMenuDescriptor.js +0 -21
  100. package/build/descriptor/ElMenuDescriptor.js.map +0 -1
  101. package/build/descriptor/ElMenuItemDescriptor.d.ts +0 -10
  102. package/build/descriptor/ElMenuItemDescriptor.js +0 -16
  103. package/build/descriptor/ElMenuItemDescriptor.js.map +0 -1
  104. package/build/descriptor/ElPaginationDescriptor.d.ts +0 -21
  105. package/build/descriptor/ElPaginationDescriptor.js +0 -43
  106. package/build/descriptor/ElPaginationDescriptor.js.map +0 -1
  107. package/build/descriptor/ElRadioDescriptor.d.ts +0 -18
  108. package/build/descriptor/ElRadioDescriptor.js +0 -33
  109. package/build/descriptor/ElRadioDescriptor.js.map +0 -1
  110. package/build/descriptor/ElRowDescriptor.d.ts +0 -10
  111. package/build/descriptor/ElRowDescriptor.js +0 -16
  112. package/build/descriptor/ElRowDescriptor.js.map +0 -1
  113. package/build/descriptor/ElSelectDescriptor.d.ts +0 -19
  114. package/build/descriptor/ElSelectDescriptor.js +0 -35
  115. package/build/descriptor/ElSelectDescriptor.js.map +0 -1
  116. package/build/descriptor/ElSubMenuDescriptor.d.ts +0 -9
  117. package/build/descriptor/ElSubMenuDescriptor.js +0 -14
  118. package/build/descriptor/ElSubMenuDescriptor.js.map +0 -1
  119. package/build/descriptor/ElSwitchDescriptor.d.ts +0 -15
  120. package/build/descriptor/ElSwitchDescriptor.js +0 -27
  121. package/build/descriptor/ElSwitchDescriptor.js.map +0 -1
  122. package/build/descriptor/ElTableColumnDescriptor.d.ts +0 -19
  123. package/build/descriptor/ElTableColumnDescriptor.js +0 -34
  124. package/build/descriptor/ElTableColumnDescriptor.js.map +0 -1
  125. package/build/descriptor/ElTableDescriptor.d.ts +0 -12
  126. package/build/descriptor/ElTableDescriptor.js +0 -20
  127. package/build/descriptor/ElTableDescriptor.js.map +0 -1
  128. package/build/descriptor/index.d.ts +0 -20
  129. package/build/descriptor/index.js +0 -21
  130. package/build/descriptor/index.js.map +0 -1
  131. package/build/index.d.ts +0 -7
  132. package/build/index.js +0 -8
  133. package/build/index.js.map +0 -1
  134. package/build/interpreter/ElButtonInterpreter.d.ts +0 -8
  135. package/build/interpreter/ElButtonInterpreter.js +0 -13
  136. package/build/interpreter/ElButtonInterpreter.js.map +0 -1
  137. package/build/interpreter/ElCascaderInterpreter.d.ts +0 -8
  138. package/build/interpreter/ElCascaderInterpreter.js +0 -13
  139. package/build/interpreter/ElCascaderInterpreter.js.map +0 -1
  140. package/build/interpreter/ElCheckboxInterpreter.d.ts +0 -8
  141. package/build/interpreter/ElCheckboxInterpreter.js +0 -13
  142. package/build/interpreter/ElCheckboxInterpreter.js.map +0 -1
  143. package/build/interpreter/ElColInterpreter.d.ts +0 -8
  144. package/build/interpreter/ElColInterpreter.js +0 -13
  145. package/build/interpreter/ElColInterpreter.js.map +0 -1
  146. package/build/interpreter/ElDatePickerInterpreter.d.ts +0 -8
  147. package/build/interpreter/ElDatePickerInterpreter.js +0 -13
  148. package/build/interpreter/ElDatePickerInterpreter.js.map +0 -1
  149. package/build/interpreter/ElDialogInterpreter.d.ts +0 -8
  150. package/build/interpreter/ElDialogInterpreter.js +0 -13
  151. package/build/interpreter/ElDialogInterpreter.js.map +0 -1
  152. package/build/interpreter/ElFormInterpreter.d.ts +0 -8
  153. package/build/interpreter/ElFormInterpreter.js +0 -13
  154. package/build/interpreter/ElFormInterpreter.js.map +0 -1
  155. package/build/interpreter/ElInputInterpreter.d.ts +0 -8
  156. package/build/interpreter/ElInputInterpreter.js +0 -13
  157. package/build/interpreter/ElInputInterpreter.js.map +0 -1
  158. package/build/interpreter/ElInputNumberInterpreter.d.ts +0 -8
  159. package/build/interpreter/ElInputNumberInterpreter.js +0 -13
  160. package/build/interpreter/ElInputNumberInterpreter.js.map +0 -1
  161. package/build/interpreter/ElMenuInterpreter.d.ts +0 -8
  162. package/build/interpreter/ElMenuInterpreter.js +0 -13
  163. package/build/interpreter/ElMenuInterpreter.js.map +0 -1
  164. package/build/interpreter/ElMenuItemInterpreter.d.ts +0 -8
  165. package/build/interpreter/ElMenuItemInterpreter.js +0 -13
  166. package/build/interpreter/ElMenuItemInterpreter.js.map +0 -1
  167. package/build/interpreter/ElPaginationInterpreter.d.ts +0 -8
  168. package/build/interpreter/ElPaginationInterpreter.js +0 -13
  169. package/build/interpreter/ElPaginationInterpreter.js.map +0 -1
  170. package/build/interpreter/ElRadioInterpreter.d.ts +0 -8
  171. package/build/interpreter/ElRadioInterpreter.js +0 -13
  172. package/build/interpreter/ElRadioInterpreter.js.map +0 -1
  173. package/build/interpreter/ElRowInterpreter.d.ts +0 -8
  174. package/build/interpreter/ElRowInterpreter.js +0 -13
  175. package/build/interpreter/ElRowInterpreter.js.map +0 -1
  176. package/build/interpreter/ElSelectInterpreter.d.ts +0 -8
  177. package/build/interpreter/ElSelectInterpreter.js +0 -13
  178. package/build/interpreter/ElSelectInterpreter.js.map +0 -1
  179. package/build/interpreter/ElSubMenuInterpreter.d.ts +0 -8
  180. package/build/interpreter/ElSubMenuInterpreter.js +0 -13
  181. package/build/interpreter/ElSubMenuInterpreter.js.map +0 -1
  182. package/build/interpreter/ElSwitchInterpreter.d.ts +0 -8
  183. package/build/interpreter/ElSwitchInterpreter.js +0 -13
  184. package/build/interpreter/ElSwitchInterpreter.js.map +0 -1
  185. package/build/interpreter/ElTableColumnInterpreter.d.ts +0 -8
  186. package/build/interpreter/ElTableColumnInterpreter.js +0 -13
  187. package/build/interpreter/ElTableColumnInterpreter.js.map +0 -1
  188. package/build/interpreter/ElTableInterpreter.d.ts +0 -8
  189. package/build/interpreter/ElTableInterpreter.js +0 -13
  190. package/build/interpreter/ElTableInterpreter.js.map +0 -1
  191. package/build/interpreter/index.d.ts +0 -20
  192. package/build/interpreter/index.js +0 -33
  193. package/build/interpreter/index.js.map +0 -1
  194. package/build/locale/Language.d.ts +0 -3
  195. package/build/locale/Language.js +0 -6
  196. package/build/locale/Language.js.map +0 -1
  197. package/build/locale/LanguageProvider.d.ts +0 -21
  198. package/build/locale/LanguageProvider.js +0 -22
  199. package/build/locale/LanguageProvider.js.map +0 -1
  200. package/build/locale/index.d.ts +0 -2
  201. package/build/locale/index.js +0 -3
  202. package/build/locale/index.js.map +0 -1
  203. package/build/preset/execute/ElDialog/close.d.ts +0 -13
  204. package/build/preset/execute/ElDialog/close.js +0 -35
  205. package/build/preset/execute/ElDialog/close.js.map +0 -1
  206. package/build/preset/execute/ElDialog/index.d.ts +0 -2
  207. package/build/preset/execute/ElDialog/index.js +0 -3
  208. package/build/preset/execute/ElDialog/index.js.map +0 -1
  209. package/build/preset/execute/ElDialog/open.d.ts +0 -16
  210. package/build/preset/execute/ElDialog/open.js +0 -38
  211. package/build/preset/execute/ElDialog/open.js.map +0 -1
  212. package/build/preset/execute/ElForm/branch.d.ts +0 -13
  213. package/build/preset/execute/ElForm/branch.js +0 -34
  214. package/build/preset/execute/ElForm/branch.js.map +0 -1
  215. package/build/preset/execute/ElForm/create.d.ts +0 -13
  216. package/build/preset/execute/ElForm/create.js +0 -22
  217. package/build/preset/execute/ElForm/create.js.map +0 -1
  218. package/build/preset/execute/ElForm/edit.d.ts +0 -13
  219. package/build/preset/execute/ElForm/edit.js +0 -22
  220. package/build/preset/execute/ElForm/edit.js.map +0 -1
  221. package/build/preset/execute/ElForm/getData.d.ts +0 -16
  222. package/build/preset/execute/ElForm/getData.js +0 -41
  223. package/build/preset/execute/ElForm/getData.js.map +0 -1
  224. package/build/preset/execute/ElForm/index.d.ts +0 -5
  225. package/build/preset/execute/ElForm/index.js +0 -6
  226. package/build/preset/execute/ElForm/index.js.map +0 -1
  227. package/build/preset/execute/ElForm/reset.d.ts +0 -13
  228. package/build/preset/execute/ElForm/reset.js +0 -42
  229. package/build/preset/execute/ElForm/reset.js.map +0 -1
  230. package/build/preset/execute/ElPagination/getData.d.ts +0 -13
  231. package/build/preset/execute/ElPagination/getData.js +0 -37
  232. package/build/preset/execute/ElPagination/getData.js.map +0 -1
  233. package/build/preset/execute/ElPagination/index.d.ts +0 -2
  234. package/build/preset/execute/ElPagination/index.js +0 -3
  235. package/build/preset/execute/ElPagination/index.js.map +0 -1
  236. package/build/preset/execute/ElPagination/reset.d.ts +0 -13
  237. package/build/preset/execute/ElPagination/reset.js +0 -34
  238. package/build/preset/execute/ElPagination/reset.js.map +0 -1
  239. package/build/preset/execute/ElTable/create.d.ts +0 -9
  240. package/build/preset/execute/ElTable/create.js +0 -26
  241. package/build/preset/execute/ElTable/create.js.map +0 -1
  242. package/build/preset/execute/ElTable/delete.d.ts +0 -9
  243. package/build/preset/execute/ElTable/delete.js +0 -41
  244. package/build/preset/execute/ElTable/delete.js.map +0 -1
  245. package/build/preset/execute/ElTable/edit.d.ts +0 -9
  246. package/build/preset/execute/ElTable/edit.js +0 -27
  247. package/build/preset/execute/ElTable/edit.js.map +0 -1
  248. package/build/preset/execute/ElTable/index.d.ts +0 -3
  249. package/build/preset/execute/ElTable/index.js +0 -4
  250. package/build/preset/execute/ElTable/index.js.map +0 -1
  251. package/build/preset/execute/ElTableColumn/formatter.d.ts +0 -14
  252. package/build/preset/execute/ElTableColumn/formatter.js +0 -60
  253. package/build/preset/execute/ElTableColumn/formatter.js.map +0 -1
  254. package/build/preset/execute/ElTableColumn/index.d.ts +0 -1
  255. package/build/preset/execute/ElTableColumn/index.js +0 -2
  256. package/build/preset/execute/ElTableColumn/index.js.map +0 -1
  257. package/build/preset/execute/index.d.ts +0 -5
  258. package/build/preset/execute/index.js +0 -6
  259. package/build/preset/execute/index.js.map +0 -1
  260. package/build/preset/index.d.ts +0 -3
  261. package/build/preset/index.js +0 -4
  262. package/build/preset/index.js.map +0 -1
  263. package/build/preset/interaction/ElDialog/close.d.ts +0 -5
  264. package/build/preset/interaction/ElDialog/close.js +0 -19
  265. package/build/preset/interaction/ElDialog/close.js.map +0 -1
  266. package/build/preset/interaction/ElDialog/index.d.ts +0 -1
  267. package/build/preset/interaction/ElDialog/index.js +0 -2
  268. package/build/preset/interaction/ElDialog/index.js.map +0 -1
  269. package/build/preset/interaction/ElTable/create.d.ts +0 -7
  270. package/build/preset/interaction/ElTable/create.js +0 -23
  271. package/build/preset/interaction/ElTable/create.js.map +0 -1
  272. package/build/preset/interaction/ElTable/delete.d.ts +0 -7
  273. package/build/preset/interaction/ElTable/delete.js +0 -23
  274. package/build/preset/interaction/ElTable/delete.js.map +0 -1
  275. package/build/preset/interaction/ElTable/edit.d.ts +0 -8
  276. package/build/preset/interaction/ElTable/edit.js +0 -25
  277. package/build/preset/interaction/ElTable/edit.js.map +0 -1
  278. package/build/preset/interaction/ElTable/index.d.ts +0 -6
  279. package/build/preset/interaction/ElTable/index.js +0 -7
  280. package/build/preset/interaction/ElTable/index.js.map +0 -1
  281. package/build/preset/interaction/ElTable/list.d.ts +0 -8
  282. package/build/preset/interaction/ElTable/list.js +0 -25
  283. package/build/preset/interaction/ElTable/list.js.map +0 -1
  284. package/build/preset/interaction/ElTable/reset.d.ts +0 -7
  285. package/build/preset/interaction/ElTable/reset.js +0 -23
  286. package/build/preset/interaction/ElTable/reset.js.map +0 -1
  287. package/build/preset/interaction/ElTable/submit.d.ts +0 -12
  288. package/build/preset/interaction/ElTable/submit.js +0 -35
  289. package/build/preset/interaction/ElTable/submit.js.map +0 -1
  290. package/build/preset/interaction/index.d.ts +0 -2
  291. package/build/preset/interaction/index.js +0 -3
  292. package/build/preset/interaction/index.js.map +0 -1
  293. package/build/utils/form.d.ts +0 -13
  294. package/build/utils/form.js +0 -61
  295. package/build/utils/form.js.map +0 -1
  296. package/build/utils/index.d.ts +0 -3
  297. package/build/utils/index.js +0 -4
  298. package/build/utils/index.js.map +0 -1
  299. package/build/utils/style.d.ts +0 -3
  300. package/build/utils/style.js +0 -7
  301. package/build/utils/style.js.map +0 -1
  302. package/build/utils/validator.d.ts +0 -7
  303. package/build/utils/validator.js +0 -23
  304. package/build/utils/validator.js.map +0 -1
package/package.json CHANGED
@@ -1,22 +1 @@
1
- {
2
- "name": "@vyr/element-plus",
3
- "version": "0.0.14",
4
- "description": "",
5
- "main": "build/index.js",
6
- "author": "",
7
- "sideEffects": true,
8
- "license": "MIT",
9
- "dependencies": {
10
- "element-plus": "2.10.1",
11
- "vue": "3.5.22"
12
- },
13
- "files": [
14
- "src/",
15
- "build/",
16
- "package.json"
17
- ],
18
- "vyr": {
19
- "type": "universal",
20
- "order": 11
21
- }
22
- }
1
+ {"name":"@vyr/element-plus","version":"0.0.15","description":"","main":"./src/index.ts","author":"","sideEffects":true,"license":"MIT","dependencies":{"element-plus":"2.10.1","vue":"3.5.22"},"files":["package.json","src/"],"vyr":{"type":"universal","order":11}}
@@ -1,11 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElButtonDescriptor } from "../descriptor";
4
- declare class ElButtonActor extends VueActor {
5
- getProps(descriptor: ElButtonDescriptor): VyrVueProps;
6
- getComponent(): VNode;
7
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElButtonDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
- [key: string]: any;
9
- }>;
10
- }
11
- export { ElButtonActor };
@@ -1,32 +0,0 @@
1
- import { h, resolveDynamicComponent, Text } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- import { mergeStyle } from "../utils";
4
- class ElButtonActor extends VueActor {
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- type: descriptor.buttonType,
10
- plain: descriptor.plain,
11
- circle: descriptor.circle,
12
- round: descriptor.round,
13
- size: descriptor.size,
14
- text: descriptor.textMode,
15
- disabled: descriptor.disabled,
16
- loading: descriptor.loading,
17
- };
18
- }
19
- getComponent() {
20
- return resolveDynamicComponent('el-button');
21
- }
22
- getContent(instance, children, descriptor) {
23
- const component = this.getComponent();
24
- const attrs = this.getComponentAttrs(instance, descriptor);
25
- mergeStyle({ width: '100%' }, attrs);
26
- if (descriptor.text)
27
- children.default().push(h(Text, descriptor.text));
28
- return h(component, attrs, children);
29
- }
30
- }
31
- export { ElButtonActor };
32
- //# sourceMappingURL=ElButtonActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElButtonActor.js","sourceRoot":"","sources":["../../src/actor/ElButtonActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAE,IAAI,EAAS,MAAM,KAAK,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAA+C,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derDescriptor } from "../descriptor";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- declare class ElCascaderActor extends ElFormItemActor {
6
- getProps(descriptor: ElCascaderDescriptor): VyrVueProps;
7
- getComponent(): VNode;
8
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElCascaderDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- }
12
- export { ElCascaderActor };
@@ -1,33 +0,0 @@
1
- import { resolveDynamicComponent, h } from "vue";
2
- import { DatasetDescriptor } from "@vyr/engine";
3
- import { mergeStyle } from "../utils";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- class ElCascaderActor extends ElFormItemActor {
6
- getProps(descriptor) {
7
- const props = super.getProps(descriptor);
8
- return {
9
- ...props,
10
- placeholder: descriptor.placeholder,
11
- props: {
12
- label: descriptor.label,
13
- value: descriptor.value,
14
- },
15
- clearable: descriptor.clearable,
16
- disabled: descriptor.disabled,
17
- };
18
- }
19
- getComponent() {
20
- return resolveDynamicComponent('el-cascader');
21
- }
22
- getContent(instance, children, descriptor) {
23
- const options = DatasetDescriptor.getCollection(descriptor.options);
24
- const inputComponent = this.getComponent();
25
- const inputAttrs = this.getComponentAttrs(instance, descriptor, this.getArrayByJoinValue(descriptor.modelValue));
26
- mergeStyle({ width: '100%', 'min-width': '200px' }, inputAttrs);
27
- const inputVnode = h(inputComponent, { ...inputAttrs, options }, { default: () => [] });
28
- this.currentVnode = inputVnode;
29
- return this.getItemComponent(descriptor, inputVnode);
30
- }
31
- }
32
- export { ElCascaderActor };
33
- //# sourceMappingURL=ElCascaderActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElCascaderActor.js","sourceRoot":"","sources":["../../src/actor/ElCascaderActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAS,CAAC,EAAE,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGhD,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A;IACxD,CAAC;CACJ;AAED,OAAO,EACH,eAAe,EAClB,CAAA"}
@@ -1,12 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElCheckboxDescriptor } from "../descriptor";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- declare class ElCheckboxActor extends ElFormItemActor {
6
- getProps(descriptor: ElCheckboxDescriptor): VyrVueProps;
7
- getComponent(): VNode;
8
- getContent(instance: VyrVueInstance, _children: VyrVueChildren, descriptor: ElCheckboxDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- }
12
- export { ElCheckboxActor };
@@ -1,34 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { DatasetDescriptor } from "@vyr/engine";
3
- import { ElFormItemActor } from "./ElFormItemActor";
4
- class ElCheckboxActor extends ElFormItemActor {
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- disabled: descriptor.disabled,
10
- border: descriptor.border,
11
- };
12
- }
13
- getComponent() {
14
- return resolveDynamicComponent('el-checkbox-group');
15
- }
16
- getContent(instance, _children, descriptor) {
17
- const children = [];
18
- const options = DatasetDescriptor.getCollection(descriptor.options);
19
- if (options.length > 0) {
20
- for (const option of options) {
21
- const checkbox = resolveDynamicComponent('el-checkbox');
22
- const labelAttrs = { value: option[descriptor.value] };
23
- children.push(h(checkbox, labelAttrs, () => option[descriptor.label]));
24
- }
25
- }
26
- const inputComponent = this.getComponent();
27
- const inputAttrs = this.getComponentAttrs(instance, descriptor, this.getArrayByJoinValue(descriptor.modelValue));
28
- const inputVnode = h(inputComponent, inputAttrs, { default: () => children });
29
- this.currentVnode = inputVnode;
30
- return this.getItemComponent(descriptor, inputVnode);
31
- }
32
- }
33
- export { ElCheckboxActor };
34
- //# sourceMappingURL=ElCheckboxActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElChe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C,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,mBAAmB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAA;QAChH,MAAM,UAAU,GAAG,CAAC,CAAC,cAAc,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC7E,IAAI,CAAC,YAAY,GAAG,UAAU,CAAA;QAE9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IACxD,CAAC;CACJ;AAED,OAAO,EACH,eAAe,EAClB,CAAA"}
@@ -1,14 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElColDescriptor } from "../descriptor";
4
- declare class ElColActor extends VueActor {
5
- getProps(descriptor: ElColDescriptor): VyrVueProps;
6
- getWrapperVNode(instance: VyrVueInstance, content: VNode): VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
- [key: string]: any;
8
- }>;
9
- getComponent(): VNode;
10
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElColDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
- [key: string]: any;
12
- }>;
13
- }
14
- export { ElColActor };
@@ -1,25 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- class ElColActor extends VueActor {
4
- getProps(descriptor) {
5
- const props = super.getProps(descriptor);
6
- return {
7
- ...props,
8
- span: descriptor.span,
9
- offset: descriptor.offset,
10
- };
11
- }
12
- getWrapperVNode(instance, content) {
13
- return content;
14
- }
15
- getComponent() {
16
- return resolveDynamicComponent('el-col');
17
- }
18
- getContent(instance, children, descriptor) {
19
- const component = this.getComponent();
20
- const attrs = this.getComponentAttrs(instance, descriptor);
21
- return h(component, attrs, children);
22
- }
23
- }
24
- export { ElColActor };
25
- //# sourceMappingURL=ElColActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElColActor.js","sourceRoot":"","sources":["../../src/actor/ElColActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,QAAQ,EAA+C,MAAM,UAAU,CAAC;AAGjF,MAAM,UAAW,SAAQ,QAAQ;IAE7B,QAAQ,CAAC,UAA2B;QAChC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,MAAM,EAAE,UAAU,CAAC,MAAM;SAC5B,CAAA;IACL,CAAC;IAED,eAAe,CAAC,QAAwB,EAAE,OAAc;QACpD,OAAO,OAAO,CAAA;IAClB,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,QAAQ,CAAU,CAAA;IACrD,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAA2B;QACtF,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;QAE1D,OAAO,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;IACxC,CAAC;CACJ;AAED,OAAO,EACH,UAAU,EACb,CAAA"}
@@ -1,12 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElDatePickerDescriptor } from "../descriptor";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- declare class ElDatePickerActor extends ElFormItemActor {
6
- getProps(descriptor: ElDatePickerDescriptor): VyrVueProps;
7
- getComponent(): VNode;
8
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElDatePickerDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- }
12
- export { ElDatePickerActor };
@@ -1,31 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { mergeStyle } from "../utils";
3
- import { ElFormItemActor } from "./ElFormItemActor";
4
- class ElDatePickerActor extends ElFormItemActor {
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- type: descriptor.dateType,
10
- placeholder: descriptor.placeholder,
11
- readonly: descriptor.readonly,
12
- disabled: descriptor.disabled,
13
- clearable: descriptor.clearable,
14
- format: descriptor.format,
15
- valueFormat: descriptor.format,
16
- };
17
- }
18
- getComponent() {
19
- return resolveDynamicComponent('el-datePicker');
20
- }
21
- getContent(instance, children, descriptor) {
22
- const inputComponent = this.getComponent();
23
- const inputAttrs = this.getComponentAttrs(instance, descriptor, descriptor.modelValue);
24
- mergeStyle({ width: '100%', 'min-width': '200px' }, inputAttrs);
25
- const inputVnode = h(inputComponent, inputAttrs, { default: () => [] });
26
- this.currentVnode = inputVnode;
27
- return this.getItemComponent(descriptor, inputVnode);
28
- }
29
- }
30
- export { ElDatePickerActor };
31
- //# sourceMappingURL=ElDatePickerActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElDatePickerActor.js","sourceRoot":"","sources":["../../src/actor/ElDatePickerActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,iBAAkB,SAAQ,eAAe;IAE3C,QAAQ,CAAC,UAAkC;QACvC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,QAAQ;YACzB,WAAW,EAAE,UAAU,CAAC,WAAW;YACnC,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,WAAW,EAAE,UAAU,CAAC,MAAM;SACjC,CAAA;IACL,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,eAAe,CAAU,CAAA;IAC5D,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAAkC;QAC7F,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;QACtF,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,UAAU,CAAC,CAAA;QAC/D,MAAM,UAAU,GAAG,CAAC,CAAC,cAAc,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;QACvE,IAAI,CAAC,YAAY,GAAG,UAAU,CAAA;QAE9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IACxD,CAAC;CACJ;AAED,OAAO,EACH,iBAAiB,EACpB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElDialogDescriptor } from "../descriptor";
4
- declare class ElDialogActor extends VueActor {
5
- getProps(descriptor: ElDialogDescriptor): VyrVueProps;
6
- getComponent(): VNode;
7
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElDialogDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
- [key: string]: any;
9
- }>;
10
- }
11
- export { ElDialogActor };
@@ -1,28 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- class ElDialogActor extends VueActor {
4
- getProps(descriptor) {
5
- const props = super.getProps(descriptor);
6
- return {
7
- ...props,
8
- title: descriptor.title,
9
- modelValue: descriptor.visible,
10
- width: descriptor.width + descriptor.wUnit,
11
- closeOnClickModal: descriptor.closeOnClickModal,
12
- onClose() {
13
- descriptor.visible = false;
14
- descriptor.setNeedsUpdate();
15
- }
16
- };
17
- }
18
- getComponent() {
19
- return resolveDynamicComponent('el-dialog');
20
- }
21
- getContent(instance, children, descriptor) {
22
- const component = this.getComponent();
23
- const attrs = this.getComponentAttrs(instance, descriptor);
24
- return h(component, attrs, children);
25
- }
26
- }
27
- export { ElDialogActor };
28
- //# sourceMappingURL=ElDialogActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElDialogActor.js","sourceRoot":"","sources":["../../src/actor/ElDialogActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,QAAQ,EAA+C,MAAM,UAAU,CAAC;AAGjF,MAAM,aAAc,SAAQ,QAAQ;IAEhC,QAAQ,CAAC,UAA8B;QACnC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,KAAK,EAAE,UAAU,CAAC,KAAK;YACvB,UAAU,EAAE,UAAU,CAAC,OAAO;YAC9B,KAAK,EAAE,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK;YAC1C,iBAAiB,EAAE,UAAU,CAAC,iBAAiB;YAC/C,OAAO;gBACH,UAAU,CAAC,OAAO,GAAG,KAAK,CAAA;gBAC1B,UAAU,CAAC,cAAc,EAAE,CAAA;YAC/B,CAAC;SACJ,CAAA;IACL,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,WAAW,CAAU,CAAA;IACxD,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAA8B;QACzF,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;QAE1D,OAAO,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;IACxC,CAAC;CACJ;AAED,OAAO,EACH,aAAa,EAChB,CAAA"}
@@ -1,12 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElFormDescriptor } from "../descriptor";
4
- declare class ElFormActor extends VueActor {
5
- methods: any;
6
- getProps(descriptor: ElFormDescriptor): VyrVueProps;
7
- getComponent(): VNode;
8
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElFormDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- }
12
- export { ElFormActor };
@@ -1,33 +0,0 @@
1
- import { h, resolveDynamicComponent, getCurrentInstance } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- class ElFormActor extends VueActor {
4
- methods;
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- model: {},
10
- labelWidth: descriptor.labelWidth,
11
- labelPosition: descriptor.labelPosition,
12
- inline: descriptor.inline,
13
- disabled: descriptor.disabled,
14
- };
15
- }
16
- getComponent() {
17
- return resolveDynamicComponent('el-form');
18
- }
19
- getContent(instance, children, descriptor) {
20
- const self = this;
21
- const component = this.getComponent();
22
- const attrs = this.getComponentAttrs(instance, descriptor);
23
- const formComponent = {
24
- ...component,
25
- mounted() {
26
- self.methods = getCurrentInstance()?.exposed ?? null;
27
- }
28
- };
29
- return h(formComponent, attrs, children);
30
- }
31
- }
32
- export { ElFormActor };
33
- //# sourceMappingURL=ElFormActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElFormActor.js","sourceRoot":"","sources":["../../src/actor/ElFormActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAA+C,MAAM,UAAU,CAAC;AAGjF,MAAM,WAAY,SAAQ,QAAQ;IAE9B,OAAO,CAAM;IAEb,QAAQ,CAAC,UAA4B;QACjC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,UAAU,CAAC,UAAU;YACjC,aAAa,EAAE,UAAU,CAAC,aAAa;YACvC,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAChC,CAAA;IACL,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,SAAS,CAAU,CAAA;IACtD,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAA4B;QACvF,MAAM,IAAI,GAAG,IAAI,CAAA;QACjB,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;QAE1D,MAAM,aAAa,GAAG;YAClB,GAAG,SAAS;YACZ,OAAO;gBACH,IAAI,CAAC,OAAO,GAAG,kBAAkB,EAAE,EAAE,OAAO,IAAI,IAAI,CAAA;YACxD,CAAC;SACJ,CAAA;QAED,OAAO,CAAC,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAA;IAC5C,CAAC;CACJ;AAED,OAAO,EACH,WAAW,EACd,CAAA"}
@@ -1,23 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElFormItemDescriptor } from "../descriptor";
4
- declare abstract class ElFormItemActor extends VueActor {
5
- private _modelValue;
6
- protected currentVnode: VNode;
7
- getItemComponentAttrs(descriptor: ElFormItemDescriptor): VyrVueProps;
8
- getItemComponent(descriptor: ElFormItemDescriptor, inputVnode: VNode): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- getComponentAttrs(instance: VyrVueInstance, descriptor: ElFormItemDescriptor, modelValue?: any): {
12
- modelValue: any;
13
- 'onUpdate:modelValue'(value: string): void;
14
- class: string[];
15
- };
16
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElFormItemDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
- [key: string]: any;
18
- }>;
19
- formatModelValue(modelValue?: string | null): string | null;
20
- getArrayByJoinValue(modelValue?: string): string[];
21
- getModelValue(): string | number | boolean | null;
22
- }
23
- export { ElFormItemActor };
@@ -1,73 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- import { ElFormDescriptor } from "../descriptor";
4
- import { getValidators, mergeStyle } from "../utils";
5
- class ElFormItemActor extends VueActor {
6
- _modelValue = null;
7
- currentVnode;
8
- getItemComponentAttrs(descriptor) {
9
- const rules = getValidators(descriptor, this);
10
- const props = {
11
- rules,
12
- prop: descriptor.columnName,
13
- label: descriptor.columnComment,
14
- style: {
15
- 'margin-bottom': '0',
16
- }
17
- };
18
- return props;
19
- }
20
- getItemComponent(descriptor, inputVnode) {
21
- const ItemComponent = resolveDynamicComponent('el-form-item');
22
- const attrs = this.getItemComponentAttrs(descriptor);
23
- const { parent } = descriptor.traceAncestor(false);
24
- if (parent instanceof ElFormDescriptor) {
25
- if (parent.inline) {
26
- let width = parseInt(parent.labelWidth.toString());
27
- if (isNaN(width))
28
- width = 80;
29
- mergeStyle({ width: width + 200 + 'px' }, attrs);
30
- }
31
- }
32
- return h(ItemComponent, attrs, () => inputVnode);
33
- }
34
- getComponentAttrs(instance, descriptor, modelValue) {
35
- const self = this;
36
- const formatValue = self.formatModelValue(modelValue);
37
- self._modelValue = formatValue;
38
- return {
39
- ...super.getComponentAttrs(instance, descriptor),
40
- modelValue: modelValue,
41
- 'onUpdate:modelValue'(value) {
42
- if (self.currentVnode.props)
43
- self.currentVnode.props.modelValue = value;
44
- if (self.currentVnode.component === undefined || self.currentVnode.component === null)
45
- return;
46
- self.currentVnode.component.props.modelValue = value;
47
- self._modelValue = self.formatModelValue(value);
48
- }
49
- };
50
- }
51
- getContent(instance, children, descriptor) {
52
- const inputComponent = this.getComponent();
53
- const inputAttrs = this.getComponentAttrs(instance, descriptor, descriptor.modelValue);
54
- const inputVnode = h(inputComponent, inputAttrs, children);
55
- this.currentVnode = inputVnode;
56
- return this.getItemComponent(descriptor, inputVnode);
57
- }
58
- formatModelValue(modelValue = null) {
59
- return Array.isArray(modelValue) ? modelValue.filter(item => item !== '').join(',') : modelValue;
60
- }
61
- getArrayByJoinValue(modelValue) {
62
- if (modelValue === undefined)
63
- return [];
64
- if (typeof modelValue !== 'string')
65
- return [modelValue];
66
- return modelValue.split(',').filter(item => item !== "");
67
- }
68
- getModelValue() {
69
- return this._modelValue;
70
- }
71
- }
72
- export { ElFormItemActor };
73
- //# sourceMappingURL=ElFormItemActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElFormItemActor.js","sourceRoot":"","sources":["../../src/actor/ElFormItemActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,QAAQ,EAA+C,MAAM,UAAU,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAwB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAErD,MAAe,eAAgB,SAAQ,QAAQ;IACnC,WAAW,GAAqC,IAAI,CAAA;IAClD,YAAY,CAAQ;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SAAS;YAAE,OAAO,EAAE,CAAA;QAEvC,IAAI,OAAO,UAAU,KAAK,QAAQ;YAAE,OAAO,CAAC,UAAU,CAAC,CAAA;QAEvD,OAAO,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,CAAA;IAC5D,CAAC;IAED,aAAa;QACT,OAAO,IAAI,CAAC,WAAW,CAAA;IAC3B,CAAC;CACJ;AAED,OAAO,EACH,eAAe,EAClB,CAAA"}
@@ -1,25 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VyrVueChildren, VyrVueInstance } from "@vyr/vue";
3
- import { ElInputDescriptor } from "../descriptor";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- declare class ElInputActor extends ElFormItemActor {
6
- getProps(descriptor: ElInputDescriptor): {
7
- type: string;
8
- placeholder: string;
9
- rows: number;
10
- step: string | number;
11
- readonly: boolean;
12
- clearable: boolean;
13
- showPassword: boolean;
14
- showWordLimit: boolean;
15
- disabled: boolean;
16
- autofocus: boolean;
17
- maxlength: string | number;
18
- minlength: string | number;
19
- };
20
- getComponent(): VNode;
21
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElInputDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
22
- [key: string]: any;
23
- }>;
24
- }
25
- export { ElInputActor };
@@ -1,36 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { mergeStyle } from "../utils";
3
- import { ElFormItemActor } from "./ElFormItemActor";
4
- class ElInputActor extends ElFormItemActor {
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- type: descriptor.inputType,
10
- placeholder: descriptor.placeholder,
11
- rows: descriptor.rows,
12
- step: descriptor.step,
13
- readonly: descriptor.readonly,
14
- clearable: descriptor.clearable,
15
- showPassword: descriptor.showPassword,
16
- showWordLimit: descriptor.showWordLimit,
17
- disabled: descriptor.disabled,
18
- autofocus: descriptor.autofocus,
19
- maxlength: descriptor.maxlength,
20
- minlength: descriptor.minlength,
21
- };
22
- }
23
- getComponent() {
24
- return resolveDynamicComponent('el-input');
25
- }
26
- getContent(instance, children, descriptor) {
27
- const inputComponent = this.getComponent();
28
- const inputAttrs = this.getComponentAttrs(instance, descriptor, descriptor.modelValue);
29
- mergeStyle({ width: '100%' }, inputAttrs);
30
- const inputVnode = h(inputComponent, inputAttrs, children);
31
- this.currentVnode = inputVnode;
32
- return this.getItemComponent(descriptor, inputVnode);
33
- }
34
- }
35
- export { ElInputActor };
36
- //# sourceMappingURL=ElInputActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElInputActor.js","sourceRoot":"","sources":["../../src/actor/ElInputActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,YAAa,SAAQ,eAAe;IAEtC,QAAQ,CAAC,UAA6B;QAClC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,SAAS;YAC1B,WAAW,EAAE,UAAU,CAAC,WAAW;YACnC,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,aAAa,EAAE,UAAU,CAAC,aAAa;YACvC,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,SAAS,EAAE,UAAU,CAAC,SAAS;SAClC,CAAA;IACL,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,UAAU,CAAU,CAAA;IACvD,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAA6B;QACxF,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;QACtF,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,CAAC,CAAA;QACzC,MAAM,UAAU,GAAG,CAAC,CAAC,cAAc,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAA;QAC1D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAA;QAE9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IACxD,CAAC;CACJ;AAED,OAAO,EACH,YAAY,EACf,CAAA"}
@@ -1,12 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElInputNumberDescriptor } from "../descriptor";
4
- import { ElFormItemActor } from "./ElFormItemActor";
5
- declare class ElInputNumberActor extends ElFormItemActor {
6
- getProps(descriptor: ElInputNumberDescriptor): VyrVueProps;
7
- getComponent(): VNode;
8
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElInputNumberDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
- [key: string]: any;
10
- }>;
11
- }
12
- export { ElInputNumberActor };
@@ -1,28 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { mergeStyle } from "../utils";
3
- import { ElFormItemActor } from "./ElFormItemActor";
4
- class ElInputNumberActor extends ElFormItemActor {
5
- getProps(descriptor) {
6
- const props = super.getProps(descriptor);
7
- return {
8
- ...props,
9
- min: descriptor.min,
10
- max: descriptor.max,
11
- step: descriptor.step,
12
- disabled: descriptor.disabled,
13
- };
14
- }
15
- getComponent() {
16
- return resolveDynamicComponent('el-input-number');
17
- }
18
- getContent(instance, children, descriptor) {
19
- const inputComponent = this.getComponent();
20
- const inputAttrs = this.getComponentAttrs(instance, descriptor, descriptor.modelValue || null);
21
- mergeStyle({ width: '100%', 'min-width': '200px' }, inputAttrs);
22
- const inputVnode = h(inputComponent, inputAttrs, children);
23
- this.currentVnode = inputVnode;
24
- return this.getItemComponent(descriptor, inputVnode);
25
- }
26
- }
27
- export { ElInputNumberActor };
28
- //# sourceMappingURL=ElInputNumberActor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElInputNumberActor.js","sourceRoot":"","sources":["../../src/actor/ElInputNumberActor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,uBAAuB,EAAS,MAAM,KAAK,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,kBAAmB,SAAQ,eAAe;IAC5C,QAAQ,CAAC,UAAmC;QACxC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;QAExC,OAAO;YACH,GAAG,KAAK;YACR,GAAG,EAAE,UAAU,CAAC,GAAG;YACnB,GAAG,EAAE,UAAU,CAAC,GAAG;YACnB,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAChC,CAAA;IACL,CAAC;IAED,YAAY;QACR,OAAO,uBAAuB,CAAC,iBAAiB,CAAU,CAAA;IAC9D,CAAC;IAED,UAAU,CAAC,QAAwB,EAAE,QAAwB,EAAE,UAAmC;QAC9F,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,EAAE,CAAA;QAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,UAAU,IAAI,IAAI,CAAC,CAAA;QAC9F,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,UAAU,CAAC,CAAA;QAC/D,MAAM,UAAU,GAAG,CAAC,CAAC,cAAc,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAA;QAC1D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAA;QAE9B,OAAO,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IACxD,CAAC;CACJ;AAED,OAAO,EACH,kBAAkB,EACrB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { VNode } from "vue";
2
- import { VueActor, VyrVueProps, VyrVueInstance, VyrVueChildren } from "@vyr/vue";
3
- import { ElMenuDescriptor } from "../descriptor";
4
- declare class ElMenuActor extends VueActor {
5
- getProps(descriptor: ElMenuDescriptor): VyrVueProps;
6
- getComponent(): VNode;
7
- getContent(instance: VyrVueInstance, children: VyrVueChildren, descriptor: ElMenuDescriptor): VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
- [key: string]: any;
9
- }>;
10
- }
11
- export { ElMenuActor };
@@ -1,25 +0,0 @@
1
- import { h, resolveDynamicComponent } from "vue";
2
- import { VueActor } from "@vyr/vue";
3
- class ElMenuActor extends VueActor {
4
- getProps(descriptor) {
5
- const props = super.getProps(descriptor);
6
- return {
7
- ...props,
8
- mode: descriptor.mode,
9
- defaultActive: descriptor.defaultActive,
10
- backgroundColor: descriptor.backgroundColor.getColor(),
11
- textColor: descriptor.textColor,
12
- activeTextColor: descriptor.activeTextColor,
13
- };
14
- }
15
- getComponent() {
16
- return resolveDynamicComponent('el-menu');
17
- }
18
- getContent(instance, children, descriptor) {
19
- const component = this.getComponent();
20
- const attrs = this.getComponentAttrs(instance, descriptor);
21
- return h(component, attrs, children);
22
- }
23
- }
24
- export { ElMenuActor };
25
- //# sourceMappingURL=ElMenuActor.js.map